Skip to content

Commit

Permalink
[NFC] Wrap entire debug logging loop in LLVM_DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
rupprecht committed Apr 26, 2023
1 parent 815eab2 commit 8b39527
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,10 @@ const NoteTag *taintOriginTrackerTag(CheckerContext &C,
for (auto Sym : TaintedSymbols) {
BR.markInteresting(Sym);
}
for (auto Arg : TaintedArgs) {
LLVM_DEBUG(llvm::dbgs()
<< "Taint Propagated from argument " << Arg + 1 << "\n");
}
LLVM_DEBUG(for (auto Arg
: TaintedArgs) {
llvm::dbgs() << "Taint Propagated from argument " << Arg + 1 << "\n";
});
return "";
});
}
Expand Down

0 comments on commit 8b39527

Please sign in to comment.