forked from OSchip/llvm-project
[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:
parent
c7ae423e39
commit
5a47accda8
|
@ -37,7 +37,9 @@ void taint::printTaint(ProgramStateRef State, raw_ostream &Out, const char *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,
|
||||
const LocationContext *LCtx,
|
||||
|
|
Loading…
Reference in New Issue