diff options
author | Tobias Grosser <grosser@fim.uni-passau.de> | 2009-11-30 14:16:05 +0000 |
---|---|---|
committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2009-11-30 14:16:05 +0000 |
commit | 9fc223a6b13c679adc1c13dc458f8666511bedb5 (patch) | |
tree | 48e9db7aea2d58816f931ecd4f8f42ca76bdc405 /clang/lib/Analysis/CFG.cpp | |
parent | 9caf3801cad960277158f1985509abff375d5ae6 (diff) | |
download | bcm5719-llvm-9fc223a6b13c679adc1c13dc458f8666511bedb5.tar.gz bcm5719-llvm-9fc223a6b13c679adc1c13dc458f8666511bedb5.zip |
Adapt to the DOTGraphTraits changes in LLVM.
llvm-svn: 90137
Diffstat (limited to 'clang/lib/Analysis/CFG.cpp')
-rw-r--r-- | clang/lib/Analysis/CFG.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/lib/Analysis/CFG.cpp b/clang/lib/Analysis/CFG.cpp index 96c0ca58181..c97692f5708 100644 --- a/clang/lib/Analysis/CFG.cpp +++ b/clang/lib/Analysis/CFG.cpp @@ -2049,8 +2049,10 @@ void CFG::viewCFG(const LangOptions &LO) const { namespace llvm { template<> struct DOTGraphTraits<const CFG*> : public DefaultDOTGraphTraits { - static std::string getNodeLabel(const CFGBlock* Node, const CFG* Graph, - bool ShortNames) { + + DOTGraphTraits (bool isSimple=false) : DefaultDOTGraphTraits(isSimple) {} + + static std::string getNodeLabel(const CFGBlock* Node, const CFG* Graph) { #ifndef NDEBUG std::string OutSStr; |