Remove ":" after BB name in -view-cfg-only

llvm-svn: 90129
This commit is contained in:
Tobias Grosser 2009-11-30 11:55:24 +00:00
parent bd74028095
commit 5f0988ceb0
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ struct DOTGraphTraits<const Function*> : public DefaultDOTGraphTraits {
const Function *Graph, const Function *Graph,
bool ShortNames) { bool ShortNames) {
if (ShortNames && !Node->getName().empty()) if (ShortNames && !Node->getName().empty())
return Node->getNameStr() + ":"; return Node->getNameStr();
std::string Str; std::string Str;
raw_string_ostream OS(Str); raw_string_ostream OS(Str);