forked from OSchip/llvm-project
Remove ":" after BB name in -view-cfg-only
llvm-svn: 90129
This commit is contained in:
parent
bd74028095
commit
5f0988ceb0
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue