forked from OSchip/llvm-project
Make clang::ento::CreateAnalysisConsumer a part of a public interface of the static analyzer.
Summary: This allows for a better alternative to the FrontendAction hack used in clang-tidy in order to get static analyzer's ASTConsumer. Reviewers: jordan_rose, krememek Reviewed By: jordan_rose CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2505 llvm-svn: 198426
This commit is contained in:
parent
ea9ba446d5
commit
6de39492da
|
@ -13,7 +13,7 @@
|
|||
|
||||
#define DEBUG_TYPE "AnalysisConsumer"
|
||||
|
||||
#include "AnalysisConsumer.h"
|
||||
#include "clang/StaticAnalyzer/Frontend/AnalysisConsumer.h"
|
||||
#include "clang/AST/ASTConsumer.h"
|
||||
#include "clang/AST/Decl.h"
|
||||
#include "clang/AST/DeclCXX.h"
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#include "clang/StaticAnalyzer/Frontend/FrontendActions.h"
|
||||
#include "AnalysisConsumer.h"
|
||||
#include "clang/Frontend/CompilerInstance.h"
|
||||
#include "clang/StaticAnalyzer/Frontend/AnalysisConsumer.h"
|
||||
using namespace clang;
|
||||
using namespace ento;
|
||||
|
||||
|
|
Loading…
Reference in New Issue