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
15namespace clang {
16
17namespace ento {
18
19//===----------------------------------------------------------------------===//
20// AST Consumer Actions
21//===----------------------------------------------------------------------===//
22
23class AnalysisAction : public ASTFrontendAction {
24protected:
25  ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
26                                 StringRef InFile) override;
27};
28
29void printCheckerHelp(raw_ostream &OS, ArrayRef<std::string> plugins);
30
31} // end GR namespace
32
33} // end namespace clang
34
35#endif
36