Browse Source

Delete write-only HasQualifiers after rC360370

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360408 91177308-0d34-0410-b5e6-96231b3b80d8
Fangrui Song 6 years ago
parent
commit
424ba721d3
1 changed files with 0 additions and 2 deletions
  1. 0 2
      lib/AST/ExprConstant.cpp

+ 0 - 2
lib/AST/ExprConstant.cpp

@@ -4910,7 +4910,6 @@ public:
     const FunctionDecl *FD = nullptr;
     const FunctionDecl *FD = nullptr;
     LValue *This = nullptr, ThisVal;
     LValue *This = nullptr, ThisVal;
     auto Args = llvm::makeArrayRef(E->getArgs(), E->getNumArgs());
     auto Args = llvm::makeArrayRef(E->getArgs(), E->getNumArgs());
-    bool HasQualifier = false;
 
 
     // Extract function decl and 'this' pointer from the callee.
     // Extract function decl and 'this' pointer from the callee.
     if (CalleeType->isSpecificBuiltinType(BuiltinType::BoundMember)) {
     if (CalleeType->isSpecificBuiltinType(BuiltinType::BoundMember)) {
@@ -4921,7 +4920,6 @@ public:
           return false;
           return false;
         Member = ME->getMemberDecl();
         Member = ME->getMemberDecl();
         This = &ThisVal;
         This = &ThisVal;
-        HasQualifier = ME->hasQualifier();
       } else if (const BinaryOperator *BE = dyn_cast<BinaryOperator>(Callee)) {
       } else if (const BinaryOperator *BE = dyn_cast<BinaryOperator>(Callee)) {
         // Indirect bound member calls ('.*' or '->*').
         // Indirect bound member calls ('.*' or '->*').
         Member = HandleMemberPointerAccess(Info, BE, ThisVal, false);
         Member = HandleMemberPointerAccess(Info, BE, ThisVal, false);