Home
last modified time | relevance | path

Searched refs:FrontendAction (Results 1 – 25 of 26) sorted by relevance

12

/external/clang/include/clang/Frontend/
DFrontendAction.h36 class FrontendAction {
108 FrontendAction();
109 virtual ~FrontendAction();
224 class ASTFrontendAction : public FrontendAction {
268 class PreprocessorFrontendAction : public FrontendAction {
285 class WrapperFrontendAction : public FrontendAction {
286 std::unique_ptr<FrontendAction> WrappedAction;
299 WrapperFrontendAction(std::unique_ptr<FrontendAction> WrappedAction);
DFrontendActions.h26 class InitOnlyAction : public FrontendAction {
170 class ASTMergeAction : public FrontendAction {
172 std::unique_ptr<FrontendAction> AdaptedAction;
188 ASTMergeAction(std::unique_ptr<FrontendAction> AdaptedAction,
199 class PrintPreambleAction : public FrontendAction {
DCompilerInstance.h46 class FrontendAction; variable
219 bool ExecuteAction(FrontendAction &Act);
DASTUnit.h63 class FrontendAction; variable
784 FrontendAction *Action = nullptr, ASTUnit *Unit = nullptr,
/external/clang/include/clang/ARCMigrate/
DARCMTActions.h25 CheckAction(std::unique_ptr<FrontendAction> WrappedAction);
33 ModifyAction(std::unique_ptr<FrontendAction> WrappedAction);
52 MigrateAction(std::unique_ptr<FrontendAction> WrappedAction,
65 ObjCMigrateAction(std::unique_ptr<FrontendAction> WrappedAction,
/external/clang/include/clang/Tooling/
DTooling.h58 class FrontendAction; variable
95 virtual clang::FrontendAction *create() = 0;
150 bool runToolOnCode(clang::FrontendAction *ToolAction, const Twine &Code,
173 clang::FrontendAction *ToolAction, const Twine &Code,
224 ToolInvocation(std::vector<std::string> CommandLine, FrontendAction *FAction,
356 clang::FrontendAction *create() override { return new T; } in newFrontendActionFactory()
372 clang::FrontendAction *create() override { in newFrontendActionFactory()
/external/clang/include/clang/Index/
DIndexingAction.h18 class FrontendAction; variable
36 std::unique_ptr<FrontendAction>
39 std::unique_ptr<FrontendAction> WrappedAction);
/external/clang/lib/Frontend/
DFrontendAction.cpp127 FrontendAction::FrontendAction() : Instance(nullptr) {} in FrontendAction() function in FrontendAction
129 FrontendAction::~FrontendAction() {} in ~FrontendAction()
131 void FrontendAction::setCurrentInput(const FrontendInputFile &CurrentInput, in setCurrentInput()
138 FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI, in CreateWrappedASTConsumer()
189 bool FrontendAction::BeginSourceFile(CompilerInstance &CI, in BeginSourceFile()
450 bool FrontendAction::Execute() { in Execute()
473 void FrontendAction::EndSourceFile() { in EndSourceFile()
529 bool FrontendAction::shouldEraseOutputFiles() { in shouldEraseOutputFiles()
612 std::unique_ptr<FrontendAction> WrappedAction) in WrapperFrontendAction()
DCMakeLists.txt29 FrontendAction.cpp
DASTMerge.cpp86 ASTMergeAction::ASTMergeAction(std::unique_ptr<FrontendAction> adaptedAction, in ASTMergeAction()
DASTUnit.cpp1734 IntrusiveRefCntPtr<DiagnosticsEngine> Diags, FrontendAction *Action, in LoadFromCompilerInvocationAction()
1823 FrontendAction *Act = Action; in LoadFromCompilerInvocationAction()
DCompilerInstance.cpp824 bool CompilerInstance::ExecuteAction(FrontendAction &Act) { in ExecuteAction()
/external/clang/lib/ARCMigrate/
DARCMTActions.cpp28 CheckAction::CheckAction(std::unique_ptr<FrontendAction> WrappedAction) in CheckAction()
37 ModifyAction::ModifyAction(std::unique_ptr<FrontendAction> WrappedAction) in ModifyAction()
52 MigrateAction::MigrateAction(std::unique_ptr<FrontendAction> WrappedAction, in MigrateAction()
/external/clang/lib/Index/
DIndexingAction.cpp104 FrontendAction::EndSourceFileAction(); in EndSourceFileAction()
113 WrappingIndexAction(std::unique_ptr<FrontendAction> WrappedAction, in WrappingIndexAction()
148 std::unique_ptr<FrontendAction>
151 std::unique_ptr<FrontendAction> WrappedAction) { in createIndexingAction()
/external/clang/lib/FrontendTool/
DExecuteCompilerInvocation.cpp34 static std::unique_ptr<FrontendAction>
120 static std::unique_ptr<FrontendAction>
123 std::unique_ptr<FrontendAction> Act = CreateFrontendBaseAction(CI); in CreateFrontendAction()
238 std::unique_ptr<FrontendAction> Act(CreateFrontendAction(*Clang)); in ExecuteCompilerInvocation()
/external/clang/lib/Tooling/
DTooling.cpp104 bool runToolOnCode(clang::FrontendAction *ToolAction, const Twine &Code, in runToolOnCode()
125 clang::FrontendAction *ToolAction, const Twine &Code, in runToolOnCodeWithArgs()
201 FrontendAction *Action;
204 SingleFrontendActionFactory(FrontendAction *Action) : Action(Action) {} in SingleFrontendActionFactory()
206 FrontendAction *create() override { return Action; } in create()
219 std::vector<std::string> CommandLine, FrontendAction *FAction, in ToolInvocation()
301 std::unique_ptr<FrontendAction> ScopedToolAction(create()); in runInvocation()
/external/clang/docs/
DRAVFrontendAction.rst8 In this tutorial you will learn how to create a FrontendAction that uses
12 Creating a FrontendAction
16 based on LibTooling, the common entry point is the FrontendAction.
17 FrontendAction is an interface that allows execution of user specific
150 #include "clang/Frontend/FrontendAction.h"
DLibTooling.rst26 If you ever wanted to run a ``FrontendAction`` over some sample code, for
43 Once you unit tested your ``FrontendAction`` to the point where it cannot
84 our ``FrontendAction`` over some code. For example, to run the
98 // The ClangTool needs a new FrontendAction for each translation unit we run
100 // FrontendActionFactory from a given FrontendAction type, we call
DClangPlugins.rst12 Clang Plugins run FrontendActions over code. See the :doc:`FrontendAction
13 tutorial <RAVFrontendAction>` on how to write a ``FrontendAction`` using the
/external/clang/unittests/Frontend/
DCodeGenActionTest.cpp56 std::unique_ptr<FrontendAction> Act(new NullCodeGenAction); in TEST()
/external/clang/include/clang/Rewrite/Frontend/
DFrontendActions.h53 FixItRecompile(std::unique_ptr<FrontendAction> WrappedAction) in FixItRecompile()
/external/clang/unittests/Tooling/
DToolingTest.cpp133 std::unique_ptr<FrontendAction> Action(Factory->create()); in TEST()
147 std::unique_ptr<FrontendAction> Action(Factory->create()); in TEST()
/external/clang/lib/Frontend/Rewrite/
DFrontendActions.cpp115 std::unique_ptr<FrontendAction> FixAction(new SyntaxOnlyAction()); in BeginInvocation()
/external/clang/tools/c-index-test/
Dcore_main.cpp151 std::unique_ptr<FrontendAction> IndexAction; in printSourceSymbols()
/external/clang/tools/libclang/
DIndexing.cpp545 std::unique_ptr<FrontendAction> IndexAction; in clang_indexSourceFile_Impl()
551 llvm::CrashRecoveryContextCleanupRegistrar<FrontendAction> in clang_indexSourceFile_Impl()

12