Remove ":" after BB name in -view-cfg-only
authorTobias Grosser <grosser@fim.uni-passau.de>
Mon, 30 Nov 2009 11:55:24 +0000 (11:55 +0000)
committerTobias Grosser <grosser@fim.uni-passau.de>
Mon, 30 Nov 2009 11:55:24 +0000 (11:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90129 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/CFGPrinter.h

index 440d18267daf9fa4fd2cc0e7cd995add3a1b3ac4..238d92e4c24feccd04669097edbced6957d49836 100644 (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);