diff options
author | Owen Anderson <resistor@mac.com> | 2009-06-24 17:37:55 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-06-24 17:37:55 +0000 |
commit | 4d9e93c4207a987bcf68698b55a8094021fe78fd (patch) | |
tree | 9cfc9c38fabc1b0d5ef0b4b946c05188a24bf556 | |
parent | b70adf2b922bc2413943dfcbae300fe0d067184b (diff) | |
download | bcm5719-llvm-4d9e93c4207a987bcf68698b55a8094021fe78fd.tar.gz bcm5719-llvm-4d9e93c4207a987bcf68698b55a8094021fe78fd.zip |
Update for LLVM API changes.
llvm-svn: 74085
-rw-r--r-- | clang/lib/AST/CFG.cpp | 3 | ||||
-rw-r--r-- | clang/lib/AST/StmtViz.cpp | 3 | ||||
-rw-r--r-- | clang/lib/Analysis/GRExprEngine.cpp | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/clang/lib/AST/CFG.cpp b/clang/lib/AST/CFG.cpp index 9f2f2079a09..b76fe6b68cd 100644 --- a/clang/lib/AST/CFG.cpp +++ b/clang/lib/AST/CFG.cpp @@ -1887,7 +1887,8 @@ void CFG::viewCFG() const { namespace llvm { template<> struct DOTGraphTraits<const CFG*> : 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/clang/lib/AST/StmtViz.cpp b/clang/lib/AST/StmtViz.cpp index 1316d3551d9..96b5218ba2f 100644 --- a/clang/lib/AST/StmtViz.cpp +++ b/clang/lib/AST/StmtViz.cpp @@ -31,7 +31,8 @@ void Stmt::viewAST() const { namespace llvm { template<> struct DOTGraphTraits<const Stmt*> : 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/clang/lib/Analysis/GRExprEngine.cpp b/clang/lib/Analysis/GRExprEngine.cpp index 5ea9b29ddad..8266cdcbab7 100644 --- a/clang/lib/Analysis/GRExprEngine.cpp +++ b/clang/lib/Analysis/GRExprEngine.cpp @@ -3156,7 +3156,8 @@ struct VISIBILITY_HIDDEN DOTGraphTraits<GRExprEngine::NodeTy*> : 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. |