aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-06-24 17:37:55 +0000
committerOwen Anderson <resistor@mac.com>2009-06-24 17:37:55 +0000
commit02995ce680d1bcf9f17bcfdf759bd74b08aa3948 (patch)
tree3556e4375de43a1da87c77fcddea8415a0c1af74 /lib
parent85de9e75ecce165374faf20d7b4e843a1f63e720 (diff)
Update for LLVM API changes.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74085 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/AST/CFG.cpp3
-rw-r--r--lib/AST/StmtViz.cpp3
-rw-r--r--lib/Analysis/GRExprEngine.cpp3
3 files changed, 6 insertions, 3 deletions
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<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/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<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/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<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.