From: Owen Anderson Date: Wed, 24 Jun 2009 17:37:55 +0000 (+0000) Subject: Update for LLVM API changes. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=02995ce680d1bcf9f17bcfdf759bd74b08aa3948;p=clang Update for LLVM API changes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74085 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/AST/CFG.cpp b/lib/AST/CFG.cpp index 9f2f2079a0..b76fe6b68c 100644 --- a/lib/AST/CFG.cpp +++ b/lib/AST/CFG.cpp @@ -1887,7 +1887,8 @@ void CFG::viewCFG() const { namespace llvm { template<> struct DOTGraphTraits : public DefaultDOTGraphTraits { - static std::string getNodeLabel(const CFGBlock* Node, const CFG* Graph) { + static std::string getNodeLabel(const CFGBlock* Node, const CFG* Graph, + bool ShortNames) { #ifndef NDEBUG std::string OutSStr; diff --git a/lib/AST/StmtViz.cpp b/lib/AST/StmtViz.cpp index 1316d3551d..96b5218ba2 100644 --- a/lib/AST/StmtViz.cpp +++ b/lib/AST/StmtViz.cpp @@ -31,7 +31,8 @@ void Stmt::viewAST() const { namespace llvm { template<> struct DOTGraphTraits : public DefaultDOTGraphTraits { - static std::string getNodeLabel(const Stmt* Node, const Stmt* Graph) { + static std::string getNodeLabel(const Stmt* Node, const Stmt* Graph, + bool ShortNames) { #ifndef NDEBUG std::string OutSStr; diff --git a/lib/Analysis/GRExprEngine.cpp b/lib/Analysis/GRExprEngine.cpp index 5ea9b29dda..8266cdcbab 100644 --- a/lib/Analysis/GRExprEngine.cpp +++ b/lib/Analysis/GRExprEngine.cpp @@ -3156,7 +3156,8 @@ struct VISIBILITY_HIDDEN DOTGraphTraits : return ""; } - static std::string getNodeLabel(const GRExprEngine::NodeTy* N, void*) { + static std::string getNodeLabel(const GRExprEngine::NodeTy* N, void*, + bool ShortNames) { std::ostringstream Out; // Program Location.