r197767 - [analyzer] Use DataRecursiveASTVisitor for the AnalysisConsumer.
Argyrios Kyrtzidis
akyrtzi at gmail.com
Thu Dec 19 18:02:58 PST 2013
Author: akirtzidis
Date: Thu Dec 19 20:02:58 2013
New Revision: 197767
URL: http://llvm.org/viewvc/llvm-project?rev=197767&view=rev
Log:
[analyzer] Use DataRecursiveASTVisitor for the AnalysisConsumer.
Modified:
cfe/trunk/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
Modified: cfe/trunk/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp?rev=197767&r1=197766&r2=197767&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp Thu Dec 19 20:02:58 2013
@@ -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,
More information about the cfe-commits
mailing list