aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2009-11-30 12:38:13 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2009-11-30 12:38:13 +0000
commita10d598602308549d87d2c5d9848f5a72fda2b43 (patch)
tree2fc270eec01197343479f274683e270bf2ca3613 /include/llvm/Analysis
parentce4edd647bddec0be61df39962f1a697068891f2 (diff)
downloadexternal_llvm-a10d598602308549d87d2c5d9848f5a72fda2b43.tar.gz
external_llvm-a10d598602308549d87d2c5d9848f5a72fda2b43.tar.bz2
external_llvm-a10d598602308549d87d2c5d9848f5a72fda2b43.zip
Instantiate DefaultDOTGraphTraits
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90133 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r--include/llvm/Analysis/CFGPrinter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Analysis/CFGPrinter.h b/include/llvm/Analysis/CFGPrinter.h
index 238d92e4c2..47b1a5c31c 100644
--- a/include/llvm/Analysis/CFGPrinter.h
+++ b/include/llvm/Analysis/CFGPrinter.h
@@ -24,6 +24,9 @@
namespace llvm {
template<>
struct DOTGraphTraits<const Function*> : public DefaultDOTGraphTraits {
+
+ DOTGraphTraits (bool isSimple=false) : DefaultDOTGraphTraits(isSimple) {}
+
static std::string getGraphName(const Function *F) {
return "CFG for '" + F->getNameStr() + "' function";
}