Delete write-only HasQualifiers after rC360370

llvm-svn: 360408
This commit is contained in:
Fangrui Song 2019-05-10 06:59:50 +00:00
parent 21929d49d5
commit c4f12013df
1 changed files with 0 additions and 2 deletions

View File

@ -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);