diff options
author | Fangrui Song <maskray@google.com> | 2018-04-18 19:32:01 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2018-04-18 19:32:01 +0000 |
commit | 202f222f94f9ca45d6c6896ba397c4646d7f99cb (patch) | |
tree | 63fa0b0a424c6589c61d5d9f358fe9bf9ac532aa | |
parent | ccfe2a198b4d9b083b312eac65c144d0d5eba704 (diff) |
[OPENMP] Fix -Wunused-lambda-capture. NFC
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@330284 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Sema/SemaOpenMP.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Sema/SemaOpenMP.cpp b/lib/Sema/SemaOpenMP.cpp index 164b14c387..6220e86b54 100644 --- a/lib/Sema/SemaOpenMP.cpp +++ b/lib/Sema/SemaOpenMP.cpp @@ -11991,6 +11991,7 @@ static bool checkMapConflicts( "Map clause expression with no components!"); assert(StackComponents.back().getAssociatedDeclaration() == VD && "Map clause expression with unexpected base!"); + (void)VD; // The whole expression in the stack. const Expr *RE = StackComponents.front().getAssociatedExpression(); |