llvm.org GIT mirror llvm / 42d6083
Fix -Wunused-function warning. NFCI. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@340687 91177308-0d34-0410-b5e6-96231b3b80d8 Simon Pilgrim 1 year, 21 days ago
1 changed file(s) with 0 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
499499 bool IsOperator = false;
500500 bool IsBackReference = false;
501501
502 bool isStringLiteralOperatorInfo() const;
503
504502 // Name read from an MangledName string.
505503 StringView Str;
506504
10711069 }
10721070
10731071 namespace {
1074
1075 bool Name::isStringLiteralOperatorInfo() const {
1076 if (!IsOperator)
1077 return false;
1078 const OperatorInfo &O = static_cast(*this);
1079 return O.Info->Operator == OperatorTy::StringLiteral;
1080 }
10811072
10821073 Type *Type::clone(ArenaAllocator &Arena) const {
10831074 return Arena.alloc(*this);