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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90129 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Tobias Grosser 2009-11-30 11:55:24 +00:00
parent 0e671491d7
commit e8a81da98d

View File

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