]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - include/lldb/Core/FastDemangle.h
Vendor import of lldb trunk r290819:
[FreeBSD/FreeBSD.git] / include / lldb / Core / FastDemangle.h
1 //===-- FastDemangle.h ------------------------------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef liblldb_FastDemangle_h_
11 #define liblldb_FastDemangle_h_
12
13 #include <cstddef>
14
15 #include <functional>
16
17 namespace lldb_private {
18
19 char *FastDemangle(const char *mangled_name);
20
21 char *
22 FastDemangle(const char *mangled_name, size_t mangled_name_length,
23              std::function<void(const char *s)> primitive_type_hook = nullptr);
24 }
25
26 #endif