[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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user