forked from OSchip/llvm-project
Move AnalysisConsumer out of ASTConsumers.h in preparation for moving
ASTConsumers.h to include/clang/Frontend. llvm-svn: 72054
This commit is contained in:
parent
94cf21e282
commit
e5594d724b
|
@ -97,13 +97,6 @@ ASTConsumer *CreateBlockRewriter(const std::string &InFile,
|
||||||
// tree for the given class and displays it with "dotty".
|
// tree for the given class and displays it with "dotty".
|
||||||
ASTConsumer *CreateInheritanceViewer(const std::string& clsname);
|
ASTConsumer *CreateInheritanceViewer(const std::string& clsname);
|
||||||
|
|
||||||
// Analyzer: runs various code analysis passes. (The exact analyses
|
|
||||||
// run is controlled by command-line options.)
|
|
||||||
ASTConsumer* CreateAnalysisConsumer(Diagnostic &diags, Preprocessor *pp,
|
|
||||||
PreprocessorFactory *ppf,
|
|
||||||
const LangOptions &lopts,
|
|
||||||
const std::string &output);
|
|
||||||
|
|
||||||
} // end clang namespace
|
} // end clang namespace
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
#include "ASTConsumers.h"
|
#include "clang-cc.h"
|
||||||
#include "clang/Frontend/PathDiagnosticClients.h"
|
#include "clang/Frontend/PathDiagnosticClients.h"
|
||||||
#include "clang/Frontend/ManagerRegistry.h"
|
#include "clang/Frontend/ManagerRegistry.h"
|
||||||
#include "clang/AST/ASTConsumer.h"
|
#include "clang/AST/ASTConsumer.h"
|
||||||
|
|
|
@ -25,6 +25,8 @@ class Diagnostic;
|
||||||
class ASTConsumer;
|
class ASTConsumer;
|
||||||
class IdentifierTable;
|
class IdentifierTable;
|
||||||
class SourceManager;
|
class SourceManager;
|
||||||
|
class PreprocessorFactory;
|
||||||
|
class LangOptions;
|
||||||
|
|
||||||
/// ProcessWarningOptions - Initialize the diagnostic client and process the
|
/// ProcessWarningOptions - Initialize the diagnostic client and process the
|
||||||
/// warning options specified on the command line.
|
/// warning options specified on the command line.
|
||||||
|
@ -55,6 +57,14 @@ bool CreateDependencyFileGen(Preprocessor *PP, std::string &ErrStr);
|
||||||
/// CacheTokens - Cache tokens for use with PCH.
|
/// CacheTokens - Cache tokens for use with PCH.
|
||||||
void CacheTokens(Preprocessor& PP, const std::string& OutFile);
|
void CacheTokens(Preprocessor& PP, const std::string& OutFile);
|
||||||
|
|
||||||
|
/// CreateAnalysisConsumer - Creates an ASTConsumer to run various code
|
||||||
|
/// analysis passes. (The set of analyses run is controlled by command-line
|
||||||
|
/// options.)
|
||||||
|
ASTConsumer* CreateAnalysisConsumer(Diagnostic &diags, Preprocessor *pp,
|
||||||
|
PreprocessorFactory *ppf,
|
||||||
|
const LangOptions &lopts,
|
||||||
|
const std::string &output);
|
||||||
|
|
||||||
} // end namespace clang
|
} // end namespace clang
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue