Skip to content

Commit

Permalink
Remove dead variable to silence compiler warning [NFC]
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelholmen committed Oct 16, 2020
1 parent 3cfd938 commit e5e4653
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions clang/lib/AST/ExprConstant.cpp
Expand Up @@ -7440,7 +7440,6 @@ class ExprEvaluatorBase
bool HasQualifier = false;

CallRef Call;
bool EvaluatedArgs = false;

// Extract function decl and 'this' pointer from the callee.
if (CalleeType->isSpecificBuiltinType(BuiltinType::BoundMember)) {
Expand Down Expand Up @@ -7499,7 +7498,6 @@ class ExprEvaluatorBase
if (!EvaluateArgs(isa<CXXMethodDecl>(FD) ? Args.slice(1) : Args, Call,
Info, FD, /*RightToLeft=*/true))
return false;
EvaluatedArgs = true;
}

// Overloaded operator calls to member functions are represented as normal
Expand Down

0 comments on commit e5e4653

Please sign in to comment.