[analyzer] Improved checker naming in CFG dump.

This implements FIXME from Checker.cpp (FIXME: We want to return the package + name of the checker here.) and replaces hardcoded checker names with the new ones obtained via getCheckName().getName().

llvm-svn: 201525
This commit is contained in:
Anton Yartsev
2014-02-17 18:25:34 +00:00
parent 06bd44b3e8
commit 6a61922239
11 changed files with 64 additions and 34 deletions

View File

@@ -43,9 +43,10 @@ ProgramPoint ProgramPoint::getProgramPoint(const Stmt *S, ProgramPoint::Kind K,
}
}
SimpleProgramPointTag::SimpleProgramPointTag(StringRef description)
: desc(description) {}
SimpleProgramPointTag::SimpleProgramPointTag(StringRef MsgProvider,
StringRef Msg)
: Desc((MsgProvider + " : " + Msg).str()) {}
StringRef SimpleProgramPointTag::getTagDescription() const {
return desc;
return Desc;
}