diff --git a/llvm/include/llvm/Analysis/CFGPrinter.h b/llvm/include/llvm/Analysis/CFGPrinter.h index 440d18267daf..238d92e4c24f 100644 --- a/llvm/include/llvm/Analysis/CFGPrinter.h +++ b/llvm/include/llvm/Analysis/CFGPrinter.h @@ -32,7 +32,7 @@ struct DOTGraphTraits : 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);