@@ -32,7 +32,7 @@ enum : int {
32
32
// / Returns a non-NULL pointer to a NUL-terminated C style string
33
33
// / that should be explicitly freed, if successful. Otherwise, may return
34
34
// / nullptr if mangled_name is not a valid mangling or is nullptr.
35
- char *itaniumDemangle (std::string_view mangled_name);
35
+ char *itaniumDemangle (std::string_view mangled_name, bool ParseParams = true );
36
36
37
37
enum MSDemangleFlags {
38
38
MSDF_None = 0 ,
@@ -67,7 +67,9 @@ char *dlangDemangle(std::string_view MangledName);
67
67
// / demangling occurred.
68
68
std::string demangle (std::string_view MangledName);
69
69
70
- bool nonMicrosoftDemangle (std::string_view MangledName, std::string &Result);
70
+ bool nonMicrosoftDemangle (std::string_view MangledName, std::string &Result,
71
+ bool CanHaveLeadingDot = true ,
72
+ bool ParseParams = true );
71
73
72
74
// / "Partial" demangler. This supports demangling a string into an AST
73
75
// / (typically an intermediate stage in itaniumDemangle) and querying certain
@@ -102,7 +104,7 @@ struct ItaniumPartialDemangler {
102
104
char *getFunctionParameters (char *Buf, size_t *N) const ;
103
105
char *getFunctionReturnType (char *Buf, size_t *N) const ;
104
106
105
- // / If this function has any any cv or reference qualifiers. These imply that
107
+ // / If this function has any cv or reference qualifiers. These imply that
106
108
// / the function is a non-static member function.
107
109
bool hasFunctionQualifiers () const ;
108
110
0 commit comments