diff options
author | Fangrui Song <maskray@google.com> | 2019-05-10 06:59:50 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-05-10 06:59:50 +0000 |
commit | c4f12013df8cdf17662514798d597d6d79561fa4 (patch) | |
tree | 54e964dc787420d7a9a673165cd69dceacc42e2a | |
parent | 21929d49d5375fbf937f66a69c001ccd2212cff2 (diff) | |
download | bcm5719-llvm-c4f12013df8cdf17662514798d597d6d79561fa4.tar.gz bcm5719-llvm-c4f12013df8cdf17662514798d597d6d79561fa4.zip |
Delete write-only HasQualifiers after rC360370
llvm-svn: 360408
-rw-r--r-- | clang/lib/AST/ExprConstant.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/AST/ExprConstant.cpp b/clang/lib/AST/ExprConstant.cpp index 3581d97c8b1..1d7c6d7c8bf 100644 --- a/clang/lib/AST/ExprConstant.cpp +++ b/clang/lib/AST/ExprConstant.cpp @@ -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); |