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 | 006b0eb3e11162d8c06372db813ac9f71a7a16e8 (patch) | |
tree | bed30843093df7a7dd0da2cf9023ababa8f7bba5 /lib/AST/StmtViz.cpp | |
parent | 9deb313835cab5c1139e460a15634268446ee3a6 (diff) |
Adapt to the DOTGraphTraits changes in LLVM.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90137 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/StmtViz.cpp')
-rw-r--r-- | lib/AST/StmtViz.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/AST/StmtViz.cpp b/lib/AST/StmtViz.cpp index 61fd750ccc..8be287e7cb 100644 --- a/lib/AST/StmtViz.cpp +++ b/lib/AST/StmtViz.cpp @@ -30,8 +30,9 @@ void Stmt::viewAST() const { namespace llvm { template<> struct DOTGraphTraits<const Stmt*> : public DefaultDOTGraphTraits { - static std::string getNodeLabel(const Stmt* Node, const Stmt* Graph, - bool ShortNames) { + DOTGraphTraits (bool isSimple=false) : DefaultDOTGraphTraits(isSimple) {} + + static std::string getNodeLabel(const Stmt* Node, const Stmt* Graph) { #ifndef NDEBUG std::string OutSStr; |