aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/CFGPrinter.h
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
commite8a81da98d5b7373734f0702493fe22883c3e0e2 (patch)
tree1191d447d8ac8dae297e4dceb7ce4709e5734a91 /include/llvm/Analysis/CFGPrinter.h
parent0e671491d700af3988b4c905bd3872b565686970 (diff)
downloadexternal_llvm-e8a81da98d5b7373734f0702493fe22883c3e0e2.zip
external_llvm-e8a81da98d5b7373734f0702493fe22883c3e0e2.tar.gz
external_llvm-e8a81da98d5b7373734f0702493fe22883c3e0e2.tar.bz2
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
Diffstat (limited to 'include/llvm/Analysis/CFGPrinter.h')
-rw-r--r--include/llvm/Analysis/CFGPrinter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/CFGPrinter.h b/include/llvm/Analysis/CFGPrinter.h
index 440d182..238d92e 100644
--- a/include/llvm/Analysis/CFGPrinter.h
+++ b/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);