]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/clang/include/clang/Checker/FrontendActions.h
MFV OpenSolaris DTrace userland bits.
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / clang / include / clang / Checker / FrontendActions.h
1 //===-- FrontendActions.h - Useful Frontend Actions -------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef LLVM_CLANG_CHECKER_FRONTENDACTIONS_H
11 #define LLVM_CLANG_CHECKER_FRONTENDACTIONS_H
12
13 #include "clang/Frontend/FrontendAction.h"
14
15 namespace clang {
16
17 //===----------------------------------------------------------------------===//
18 // AST Consumer Actions
19 //===----------------------------------------------------------------------===//
20
21 class AnalysisAction : public ASTFrontendAction {
22 protected:
23   virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
24                                          llvm::StringRef InFile);
25 };
26
27 }  // end namespace clang
28
29 #endif