r360408 - Delete write-only HasQualifiers after rC360370

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Thu May 9 23:59:50 PDT 2019


Author: maskray
Date: Thu May  9 23:59:50 2019
New Revision: 360408

URL: http://llvm.org/viewvc/llvm-project?rev=360408&view=rev
Log:
Delete write-only HasQualifiers after rC360370

Modified:
    cfe/trunk/lib/AST/ExprConstant.cpp

Modified: cfe/trunk/lib/AST/ExprConstant.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ExprConstant.cpp?rev=360408&r1=360407&r2=360408&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ExprConstant.cpp (original)
+++ cfe/trunk/lib/AST/ExprConstant.cpp Thu May  9 23:59:50 2019
@@ -4910,7 +4910,6 @@ public:
     const FunctionDecl *FD = nullptr;
     LValue *This = nullptr, ThisVal;
     auto Args = llvm::makeArrayRef(E->getArgs(), E->getNumArgs());
-    bool HasQualifier = false;
 
     // Extract function decl and 'this' pointer from the callee.
     if (CalleeType->isSpecificBuiltinType(BuiltinType::BoundMember)) {
@@ -4921,7 +4920,6 @@ public:
           return false;
         Member = ME->getMemberDecl();
         This = &ThisVal;
-        HasQualifier = ME->hasQualifier();
       } else if (const BinaryOperator *BE = dyn_cast<BinaryOperator>(Callee)) {
         // Indirect bound member calls ('.*' or '->*').
         Member = HandleMemberPointerAccess(Info, BE, ThisVal, false);




More information about the cfe-commits mailing list