]> granicus.if.org Git - clang/commitdiff
Update for LLVM API changes.
authorOwen Anderson <resistor@mac.com>
Wed, 24 Jun 2009 17:37:55 +0000 (17:37 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 24 Jun 2009 17:37:55 +0000 (17:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74085 91177308-0d34-0410-b5e6-96231b3b80d8

lib/AST/CFG.cpp
lib/AST/StmtViz.cpp
lib/Analysis/GRExprEngine.cpp

index 9f2f2079a094168856f26295bc16a8196017c5dd..b76fe6b68cd89aef775f4de1009cd576ca458bf8 100644 (file)
@@ -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;
index 1316d3551d91aa45e30a8e7aaf2977e2b2d7f5d5..96b5218ba2f0bc372a91c87e886d330503c5189e 100644 (file)
@@ -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;
index 5ea9b29ddaddfd535e58b5558a8c87a2d26aceb9..8266cdcbab75c285f6e686d9a2e9c301f57eadf7 100644 (file)
@@ -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.