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:
a266af7
)
[analyzer] Fix -Wunused-lambda-capture in -DLLVM_ENABLE_ASSERTIONS=off builds
author
Fangrui Song
<i@maskray.me>
Thu, 24 Feb 2022 08:13:13 +0000
(
00:13
-0800)
committer
Fangrui Song
<i@maskray.me>
Thu, 24 Feb 2022 08:13:13 +0000
(
00:13
-0800)
clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
b/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
index
d15a465
..
d31e050
100644
(file)
--- a/
clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
+++ b/
clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
@@
-793,6
+793,7
@@
void GenericTaintRule::process(const GenericTaintChecker &Checker,
LLVM_DEBUG(llvm::dbgs() << "PreCall<"; Call.dump(llvm::dbgs());
llvm::dbgs()
<< "> prepares tainting arg index: " << I << '\n';);
+ (void)Call;
Result = F.add(Result, I);
}