diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-04-16 16:04:10 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-04-16 16:04:10 +0000 |
commit | 74a628f776edb588bff8f8f5cc16eac947c9d631 (patch) | |
tree | dc32e010ac4902621e5a279bfeb48628f7f0e166 /include/lldb/Utility/FastDemangle.h | |
parent | afed7be32164a598f8172282c249af7266c48b46 (diff) | |
download | src-74a628f776edb588bff8f8f5cc16eac947c9d631.tar.gz src-74a628f776edb588bff8f8f5cc16eac947c9d631.zip |
Vendor import of lldb trunk r300422:vendor/lldb/lldb-trunk-r300422
Notes
Notes:
svn path=/vendor/lldb/dist/; revision=317027
svn path=/vendor/lldb/lldb-trunk-r300422/; revision=317028; tag=vendor/lldb/lldb-trunk-r300422
Diffstat (limited to 'include/lldb/Utility/FastDemangle.h')
-rw-r--r-- | include/lldb/Utility/FastDemangle.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/lldb/Utility/FastDemangle.h b/include/lldb/Utility/FastDemangle.h new file mode 100644 index 000000000000..f779aaa04606 --- /dev/null +++ b/include/lldb/Utility/FastDemangle.h @@ -0,0 +1,26 @@ +//===-- FastDemangle.h ------------------------------------------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#ifndef liblldb_FastDemangle_h_ +#define liblldb_FastDemangle_h_ + +#include <cstddef> + +#include <functional> + +namespace lldb_private { + +char *FastDemangle(const char *mangled_name); + +char * +FastDemangle(const char *mangled_name, size_t mangled_name_length, + std::function<void(const char *s)> primitive_type_hook = nullptr); +} + +#endif |