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(); _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits