projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88cb3e2
)
[OpenMP] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off build after D109635
author
Fangrui Song
<i@maskray.me>
Thu, 16 Sep 2021 19:36:45 +0000
(12:36 -0700)
committer
Fangrui Song
<i@maskray.me>
Thu, 16 Sep 2021 19:36:45 +0000
(12:36 -0700)
clang/lib/Sema/SemaOpenMP.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/Sema/SemaOpenMP.cpp
b/clang/lib/Sema/SemaOpenMP.cpp
index
3fcc7ab
..
a22462b
100644
(file)
--- a/
clang/lib/Sema/SemaOpenMP.cpp
+++ b/
clang/lib/Sema/SemaOpenMP.cpp
@@
-739,6
+739,7
@@
public:
for (llvm::omp::TraitProperty Trait : llvm::reverse(Traits)) {
llvm::omp::TraitProperty Top = ConstructTraits.pop_back_val();
assert(Top == Trait && "Something left a trait on the stack!");
+ (void)Trait;
(void)Top;
}
}