diff options
author | Pavel Labath <pavel@labath.sk> | 2018-11-27 16:11:24 +0000 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2018-11-27 16:11:24 +0000 |
commit | 00cbe9c9e9432d3bd519f8a824222e3c2b7ff6e2 (patch) | |
tree | c4283eb6a4861a51b37e9e78d9d70f6230abdaf5 /libcxxabi/src | |
parent | 2da303a9dbafc7a3df488478ee03937d20aa7319 (diff) |
[Demangle] remove itaniumFindTypesInMangledName
Summary:
This (very specialized) function was added to enable an LLDB use case.
Now that a more generic interface (overriding of parser functions -
D52992) is available, and LLDB has been converted to use that (D54074),
the function is unused and can be removed.
Reviewers: erik.pilkington, sgraenitz, rsmith
Subscribers: mgorny, hiraditya, christof, libcxx-commits, llvm-commits
Differential Revision: https://reviews.llvm.org/D54893
Diffstat (limited to 'libcxxabi/src')
-rw-r--r-- | libcxxabi/src/demangle/ItaniumDemangle.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libcxxabi/src/demangle/ItaniumDemangle.h b/libcxxabi/src/demangle/ItaniumDemangle.h index f992645fb92..9e9d183da7c 100644 --- a/libcxxabi/src/demangle/ItaniumDemangle.h +++ b/libcxxabi/src/demangle/ItaniumDemangle.h @@ -2162,9 +2162,6 @@ template <typename Derived, typename Alloc> struct AbstractManglingParser { // conversion operator's type, and are resolved in the enclosing <encoding>. PODSmallVector<ForwardTemplateReference *, 4> ForwardTemplateRefs; - void (*TypeCallback)(void *, const char *) = nullptr; - void *TypeCallbackContext = nullptr; - bool TryToParseTemplateArgs = true; bool PermitForwardTemplateReferences = false; bool ParsingLambdaParams = false; @@ -3458,9 +3455,6 @@ template <typename Derived, typename Alloc> Node *AbstractManglingParser<Derived, Alloc>::parseType() { Node *Result = nullptr; - if (TypeCallback != nullptr) - TypeCallback(TypeCallbackContext, First); - switch (look()) { // ::= <qualified-type> case 'r': |