summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2009-11-30 11:55:24 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2009-11-30 11:55:24 +0000
commit5f0988ceb02d86e25477f26be0d71d9d458e2df1 (patch)
tree65e4c7b59c559c5345d45b2e8c759b3251e9cf6f /llvm
parentbd74028095cb683fe289edac43ef3a712d2a03d0 (diff)
downloadbcm5719-llvm-5f0988ceb02d86e25477f26be0d71d9d458e2df1.tar.gz
bcm5719-llvm-5f0988ceb02d86e25477f26be0d71d9d458e2df1.zip
Remove ":" after BB name in -view-cfg-only
llvm-svn: 90129
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Analysis/CFGPrinter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Analysis/CFGPrinter.h b/llvm/include/llvm/Analysis/CFGPrinter.h
index 440d18267da..238d92e4c24 100644
--- a/llvm/include/llvm/Analysis/CFGPrinter.h
+++ b/llvm/include/llvm/Analysis/CFGPrinter.h
@@ -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);
OpenPOWER on IntegriCloud