aboutsummaryrefslogtreecommitdiff
path: root/include/lldb/Core/FastDemangle.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lldb/Core/FastDemangle.h')
-rw-r--r--include/lldb/Core/FastDemangle.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/include/lldb/Core/FastDemangle.h b/include/lldb/Core/FastDemangle.h
index cd6128c73038..f779aaa04606 100644
--- a/include/lldb/Core/FastDemangle.h
+++ b/include/lldb/Core/FastDemangle.h
@@ -10,15 +10,17 @@
#ifndef liblldb_FastDemangle_h_
#define liblldb_FastDemangle_h_
-namespace lldb_private
-{
+#include <cstddef>
- char *
- FastDemangle(const char *mangled_name);
+#include <functional>
- char *
- FastDemangle(const char *mangled_name, long mangled_name_length);
+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