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 | 16fe49a95156b346c033468e88db9e16c4cf95e5 (patch) | |
| tree | 4b28955fe834c8cddfaec8d3c19d363305d64aab | |
| parent | 1482db9e03f00dc646c02b0bbc1652ca9d31557f (diff) | |
| download | bcm5719-llvm-16fe49a95156b346c033468e88db9e16c4cf95e5.tar.gz bcm5719-llvm-16fe49a95156b346c033468e88db9e16c4cf95e5.zip | |
[OPENMP] Fix -Wunused-lambda-capture. NFC
llvm-svn: 330284
| -rw-r--r-- | clang/lib/Sema/SemaOpenMP.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Sema/SemaOpenMP.cpp b/clang/lib/Sema/SemaOpenMP.cpp index 164b14c3873..6220e86b544 100644 --- a/clang/lib/Sema/SemaOpenMP.cpp +++ b/clang/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(); |

