// tree for the given class and displays it with "dotty".
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
#endif
//
//===----------------------------------------------------------------------===//
-#include "ASTConsumers.h"
+#include "clang-cc.h"
#include "clang/Frontend/PathDiagnosticClients.h"
#include "clang/Frontend/ManagerRegistry.h"
#include "clang/AST/ASTConsumer.h"
class ASTConsumer;
class IdentifierTable;
class SourceManager;
+class PreprocessorFactory;
+class LangOptions;
/// ProcessWarningOptions - Initialize the diagnostic client and process the
/// warning options specified on the command line.
/// CacheTokens - Cache tokens for use with PCH.
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
#endif