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 9f2f207..b76fe6b 100644
--- a/lib/AST/CFG.cpp
+++ b/lib/AST/CFG.cpp
@@ -1887,7 +1887,8 @@
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 1316d35..96b5218 100644
--- a/lib/AST/StmtViz.cpp
+++ b/lib/AST/StmtViz.cpp
@@ -31,7 +31,8 @@
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 5ea9b29..8266cdc 100644
--- a/lib/Analysis/GRExprEngine.cpp
+++ b/lib/Analysis/GRExprEngine.cpp
@@ -3156,7 +3156,8 @@
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.