Home | History | Annotate | Download | only in Frontend
      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_GR_FRONTENDACTIONS_H
     11 #define LLVM_CLANG_GR_FRONTENDACTIONS_H
     12 
     13 #include "clang/Frontend/FrontendAction.h"
     14 
     15 namespace clang {
     16 
     17 namespace ento {
     18 
     19 //===----------------------------------------------------------------------===//
     20 // AST Consumer Actions
     21 //===----------------------------------------------------------------------===//
     22 
     23 class AnalysisAction : public ASTFrontendAction {
     24 protected:
     25   ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
     26                                  StringRef InFile) override;
     27 };
     28 
     29 void printCheckerHelp(raw_ostream &OS, ArrayRef<std::string> plugins);
     30 
     31 } // end GR namespace
     32 
     33 } // end namespace clang
     34 
     35 #endif
     36