19b414d3e2d0cb84512b55a3275a98490b090162aDaniel Dunbar//===-- FrontendActions.h - Useful Frontend Actions -------------*- C++ -*-===//
29b414d3e2d0cb84512b55a3275a98490b090162aDaniel Dunbar//
39b414d3e2d0cb84512b55a3275a98490b090162aDaniel Dunbar//                     The LLVM Compiler Infrastructure
49b414d3e2d0cb84512b55a3275a98490b090162aDaniel Dunbar//
59b414d3e2d0cb84512b55a3275a98490b090162aDaniel Dunbar// This file is distributed under the University of Illinois Open Source
69b414d3e2d0cb84512b55a3275a98490b090162aDaniel Dunbar// License. See LICENSE.TXT for details.
79b414d3e2d0cb84512b55a3275a98490b090162aDaniel Dunbar//
89b414d3e2d0cb84512b55a3275a98490b090162aDaniel Dunbar//===----------------------------------------------------------------------===//
99b414d3e2d0cb84512b55a3275a98490b090162aDaniel Dunbar
105a4f98ff943e6a501b0fe47ade007c9bbf96cb88Argyrios Kyrtzidis#ifndef LLVM_CLANG_GR_FRONTENDACTIONS_H
115a4f98ff943e6a501b0fe47ade007c9bbf96cb88Argyrios Kyrtzidis#define LLVM_CLANG_GR_FRONTENDACTIONS_H
129b414d3e2d0cb84512b55a3275a98490b090162aDaniel Dunbar
139b414d3e2d0cb84512b55a3275a98490b090162aDaniel Dunbar#include "clang/Frontend/FrontendAction.h"
149b414d3e2d0cb84512b55a3275a98490b090162aDaniel Dunbar
159b414d3e2d0cb84512b55a3275a98490b090162aDaniel Dunbarnamespace clang {
169b414d3e2d0cb84512b55a3275a98490b090162aDaniel Dunbar
179ef6537a894c33003359b1f9b9676e9178e028b7Ted Kremeneknamespace ento {
185a4f98ff943e6a501b0fe47ade007c9bbf96cb88Argyrios Kyrtzidis
199b414d3e2d0cb84512b55a3275a98490b090162aDaniel Dunbar//===----------------------------------------------------------------------===//
209b414d3e2d0cb84512b55a3275a98490b090162aDaniel Dunbar// AST Consumer Actions
219b414d3e2d0cb84512b55a3275a98490b090162aDaniel Dunbar//===----------------------------------------------------------------------===//
229b414d3e2d0cb84512b55a3275a98490b090162aDaniel Dunbar
239b414d3e2d0cb84512b55a3275a98490b090162aDaniel Dunbarclass AnalysisAction : public ASTFrontendAction {
249b414d3e2d0cb84512b55a3275a98490b090162aDaniel Dunbarprotected:
25651f13cea278ec967336033dd032faef0e9fc2ecStephen Hines  ASTConsumer *CreateASTConsumer(CompilerInstance &CI,
26651f13cea278ec967336033dd032faef0e9fc2ecStephen Hines                                 StringRef InFile) override;
279b414d3e2d0cb84512b55a3275a98490b090162aDaniel Dunbar};
289b414d3e2d0cb84512b55a3275a98490b090162aDaniel Dunbar
2908b86531ade68727c56918f162816075b87c864aJordy Rosevoid printCheckerHelp(raw_ostream &OS, ArrayRef<std::string> plugins);
30116f3640daee424dfcdbe55e80be5a67476be4b0Argyrios Kyrtzidis
315a4f98ff943e6a501b0fe47ade007c9bbf96cb88Argyrios Kyrtzidis} // end GR namespace
325a4f98ff943e6a501b0fe47ade007c9bbf96cb88Argyrios Kyrtzidis
335a4f98ff943e6a501b0fe47ade007c9bbf96cb88Argyrios Kyrtzidis} // end namespace clang
349b414d3e2d0cb84512b55a3275a98490b090162aDaniel Dunbar
359b414d3e2d0cb84512b55a3275a98490b090162aDaniel Dunbar#endif
36