1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

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 859360e596
commit 6cf9fe9d69

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);