aboutsummaryrefslogtreecommitdiff
path: root/include/lldb/Utility/FastDemangle.h
blob: f779aaa046067f2e0be10f00fbf593949109265a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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