From e5e4653255ff7d78d62923038ff085fae47e950b Mon Sep 17 00:00:00 2001 From: Mikael Holmen Date: Fri, 16 Oct 2020 07:27:58 +0200 Subject: [PATCH] Remove dead variable to silence compiler warning [NFC] --- clang/lib/AST/ExprConstant.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/clang/lib/AST/ExprConstant.cpp b/clang/lib/AST/ExprConstant.cpp index 20eb9f77ca52..fda565354b92 100644 --- a/clang/lib/AST/ExprConstant.cpp +++ b/clang/lib/AST/ExprConstant.cpp @@ -7440,7 +7440,6 @@ public: bool HasQualifier = false; CallRef Call; - bool EvaluatedArgs = false; // Extract function decl and 'this' pointer from the callee. if (CalleeType->isSpecificBuiltinType(BuiltinType::BoundMember)) { @@ -7499,7 +7498,6 @@ public: if (!EvaluateArgs(isa(FD) ? Args.slice(1) : Args, Call, Info, FD, /*RightToLeft=*/true)) return false; - EvaluatedArgs = true; } // Overloaded operator calls to member functions are represented as normal