]> granicus.if.org Git - clang/commitdiff
[analyzer] Use DataRecursiveASTVisitor for the AnalysisConsumer.
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 20 Dec 2013 02:02:58 +0000 (02:02 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 20 Dec 2013 02:02:58 +0000 (02:02 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@197767 91177308-0d34-0410-b5e6-96231b3b80d8

lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp

index 9efe99767e4c9e1a48f78dae56662ae505667ad1..6efbb6ad73108b9ed58184e2b96b80197437551f 100644 (file)
@@ -19,7 +19,7 @@
 #include "clang/AST/DeclCXX.h"
 #include "clang/AST/DeclObjC.h"
 #include "clang/AST/ParentMap.h"
-#include "clang/AST/RecursiveASTVisitor.h"
+#include "clang/AST/DataRecursiveASTVisitor.h"
 #include "clang/Analysis/Analyses/LiveVariables.h"
 #include "clang/Analysis/CFG.h"
 #include "clang/Analysis/CallGraph.h"
@@ -158,7 +158,7 @@ public:
 namespace {
 
 class AnalysisConsumer : public ASTConsumer,
-                         public RecursiveASTVisitor<AnalysisConsumer> {
+                         public DataRecursiveASTVisitor<AnalysisConsumer> {
   enum {
     AM_None = 0,
     AM_Syntax = 0x1,