summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Demangle/MicrosoftDemangle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Demangle/MicrosoftDemangle.cpp')
-rw-r--r--llvm/lib/Demangle/MicrosoftDemangle.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/Demangle/MicrosoftDemangle.cpp b/llvm/lib/Demangle/MicrosoftDemangle.cpp
index 754390a1ad0..6dc8b67fb38 100644
--- a/llvm/lib/Demangle/MicrosoftDemangle.cpp
+++ b/llvm/lib/Demangle/MicrosoftDemangle.cpp
@@ -500,8 +500,6 @@ struct Name {
bool IsOperator = false;
bool IsBackReference = false;
- bool isStringLiteralOperatorInfo() const;
-
// Name read from an MangledName string.
StringView Str;
@@ -1073,13 +1071,6 @@ static void outputSpecialOperator(OutputStream &OS, const Name *OuterName) {
namespace {
-bool Name::isStringLiteralOperatorInfo() const {
- if (!IsOperator)
- return false;
- const OperatorInfo &O = static_cast<const OperatorInfo &>(*this);
- return O.Info->Operator == OperatorTy::StringLiteral;
-}
-
Type *Type::clone(ArenaAllocator &Arena) const {
return Arena.alloc<Type>(*this);
}
OpenPOWER on IntegriCloud