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

Ensure the definition is in the "taint" namespace, like its declaration.

Reviewed By: steakhal

Differential Revision: https://reviews.llvm.org/D124462
This commit is contained in:
Marco Antognini 2022-04-19 13:18:02 +02:00
parent c7ae423e39
commit 5a47accda8
1 changed files with 3 additions and 1 deletions

View File

@ -37,7 +37,9 @@ void taint::printTaint(ProgramStateRef State, raw_ostream &Out, const char *NL,
Out << I.first << " : " << I.second << NL; 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, ProgramStateRef taint::addTaint(ProgramStateRef State, const Stmt *S,
const LocationContext *LCtx, const LocationContext *LCtx,