[PATCH] D124462: [Analyzer] Fix clang::ento::taint::dumpTaint definition

Marco Antognini via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 28 07:17:09 PDT 2022


mantognini updated this revision to Diff 425772.
mantognini added a comment.

Remove LLVM_DUMP_METHOD from definition


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124462/new/

https://reviews.llvm.org/D124462

Files:
  clang/lib/StaticAnalyzer/Checkers/Taint.cpp


Index: clang/lib/StaticAnalyzer/Checkers/Taint.cpp
===================================================================
--- clang/lib/StaticAnalyzer/Checkers/Taint.cpp
+++ clang/lib/StaticAnalyzer/Checkers/Taint.cpp
@@ -37,7 +37,9 @@
     Out << I.first << " : " << I.second << NL;
 }
 
-void dumpTaint(ProgramStateRef State) { printTaint(State, llvm::errs()); }
+void taint::dumpTaint(ProgramStateRef State) {
+  printTaint(State, llvm::errs());
+}
 
 ProgramStateRef taint::addTaint(ProgramStateRef State, const Stmt *S,
                                 const LocationContext *LCtx,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124462.425772.patch
Type: text/x-patch
Size: 584 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220428/ce9bc615/attachment-0001.bin>


More information about the cfe-commits mailing list