summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGOpenMPRuntime.cpp
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2018-07-19 17:19:16 +0000
committerErich Keane <erich.keane@intel.com>2018-07-19 17:19:16 +0000
commite69755a55f43111469880f2d77f4c1548f7bed39 (patch)
tree74906587cfe62183d53efbd89664a423c93891ae /clang/lib/CodeGen/CGOpenMPRuntime.cpp
parentddd4229cc402cc74c656501614f694c977f45519 (diff)
downloadbcm5719-llvm-e69755a55f43111469880f2d77f4c1548f7bed39.tar.gz
bcm5719-llvm-e69755a55f43111469880f2d77f4c1548f7bed39.zip
Fix unused variable warning.
llvm-svn: 337473
Diffstat (limited to 'clang/lib/CodeGen/CGOpenMPRuntime.cpp')
-rw-r--r--clang/lib/CodeGen/CGOpenMPRuntime.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGOpenMPRuntime.cpp b/clang/lib/CodeGen/CGOpenMPRuntime.cpp
index 8d4e83bf935..478fda7d913 100644
--- a/clang/lib/CodeGen/CGOpenMPRuntime.cpp
+++ b/clang/lib/CodeGen/CGOpenMPRuntime.cpp
@@ -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();
OpenPOWER on IntegriCloud