clang API Documentation
00001 //===-- FrontendActions.h - Useful Frontend Actions -------------*- C++ -*-===// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file is distributed under the University of Illinois Open Source 00006 // License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 00010 #ifndef LLVM_CLANG_GR_FRONTENDACTIONS_H 00011 #define LLVM_CLANG_GR_FRONTENDACTIONS_H 00012 00013 #include "clang/Frontend/FrontendAction.h" 00014 00015 namespace clang { 00016 00017 namespace ento { 00018 00019 //===----------------------------------------------------------------------===// 00020 // AST Consumer Actions 00021 //===----------------------------------------------------------------------===// 00022 00023 class AnalysisAction : public ASTFrontendAction { 00024 protected: 00025 virtual ASTConsumer *CreateASTConsumer(CompilerInstance &CI, 00026 StringRef InFile); 00027 }; 00028 00029 void printCheckerHelp(raw_ostream &OS, ArrayRef<std::string> plugins); 00030 00031 } // end GR namespace 00032 00033 } // end namespace clang 00034 00035 #endif