r337473 - Fix unused variable warning.
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 19 10:19:16 PDT 2018
Author: erichkeane
Date: Thu Jul 19 10:19:16 2018
New Revision: 337473
URL: http://llvm.org/viewvc/llvm-project?rev=337473&view=rev
Log:
Fix unused variable warning.
Modified:
cfe/trunk/lib/CodeGen/CGOpenMPRuntime.cpp
Modified: cfe/trunk/lib/CodeGen/CGOpenMPRuntime.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGOpenMPRuntime.cpp?rev=337473&r1=337472&r2=337473&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGOpenMPRuntime.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGOpenMPRuntime.cpp Thu Jul 19 10:19:16 2018
@@ -6932,7 +6932,7 @@ private:
bool IsExpressionFirstInfo = true;
Address BP = Address::invalid();
- if (const auto *ME = dyn_cast<MemberExpr>(I->getAssociatedExpression())) {
+ if (isa<MemberExpr>(I->getAssociatedExpression())) {
// The base is the 'this' pointer. The content of the pointer is going
// to be the base of the field being mapped.
BP = CGF.LoadCXXThisAddress();
More information about the cfe-commits
mailing list