Home
last modified time | relevance | path

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

/external/clang/include/clang/Frontend/
DFrontendAction.h36 class FrontendAction {
108 FrontendAction();
109 virtual ~FrontendAction();
215 class ASTFrontendAction : public FrontendAction {
246 class PreprocessorFrontendAction : public FrontendAction {
263 class WrapperFrontendAction : public FrontendAction {
264 std::unique_ptr<FrontendAction> WrappedAction;
277 WrapperFrontendAction(FrontendAction *WrappedAction);
DFrontendActions.h26 class InitOnlyAction : public FrontendAction {
172 class ASTMergeAction : public FrontendAction {
174 FrontendAction *AdaptedAction;
190 ASTMergeAction(FrontendAction *AdaptedAction, ArrayRef<std::string> ASTFiles);
200 class PrintPreambleAction : public FrontendAction {
DCompilerInstance.h43 class FrontendAction; variable
195 bool ExecuteAction(FrontendAction &Act);
/external/clang/include/clang/ARCMigrate/
DARCMTActions.h25 CheckAction(FrontendAction *WrappedAction);
33 ModifyAction(FrontendAction *WrappedAction);
52 MigrateAction(FrontendAction *WrappedAction, StringRef migrateDir,
64 ObjCMigrateAction(FrontendAction *WrappedAction, StringRef migrateDir,
/external/clang/include/clang/Tooling/
DTooling.h54 class FrontendAction; variable
89 virtual clang::FrontendAction *create() = 0;
142 bool runToolOnCode(clang::FrontendAction *ToolAction, const Twine &Code,
154 bool runToolOnCodeWithArgs(clang::FrontendAction *ToolAction, const Twine &Code,
191 ToolInvocation(std::vector<std::string> CommandLine, FrontendAction *FAction,
311 clang::FrontendAction *create() override { return new T; } in newFrontendActionFactory()
327 clang::FrontendAction *create() override { in newFrontendActionFactory()
/external/clang/lib/Frontend/
DFrontendAction.cpp125 FrontendAction::FrontendAction() : Instance(nullptr) {} in FrontendAction() function in FrontendAction
127 FrontendAction::~FrontendAction() {} in ~FrontendAction()
129 void FrontendAction::setCurrentInput(const FrontendInputFile &CurrentInput, in setCurrentInput()
135 ASTConsumer* FrontendAction::CreateWrappedASTConsumer(CompilerInstance &CI, in CreateWrappedASTConsumer()
158 FrontendAction* c = P.get(); in CreateWrappedASTConsumer()
168 bool FrontendAction::BeginSourceFile(CompilerInstance &CI, in BeginSourceFile()
406 bool FrontendAction::Execute() { in Execute()
427 void FrontendAction::EndSourceFile() { in EndSourceFile()
484 bool FrontendAction::shouldEraseOutputFiles() { in shouldEraseOutputFiles()
562 WrapperFrontendAction::WrapperFrontendAction(FrontendAction *WrappedAction) in WrapperFrontendAction()
DCMakeLists.txt19 FrontendAction.cpp
DAndroid.mk38 FrontendAction.cpp \
DASTMerge.cpp81 ASTMergeAction::ASTMergeAction(FrontendAction *AdaptedAction, in ASTMergeAction()
DCompilerInstance.cpp767 bool CompilerInstance::ExecuteAction(FrontendAction &Act) { in ExecuteAction()
/external/clang/lib/ARCMigrate/
DARCMTActions.cpp27 CheckAction::CheckAction(FrontendAction *WrappedAction) in CheckAction()
35 ModifyAction::ModifyAction(FrontendAction *WrappedAction) in ModifyAction()
52 MigrateAction::MigrateAction(FrontendAction *WrappedAction, in MigrateAction()
DObjCMT.cpp178 ObjCMigrateAction::ObjCMigrateAction(FrontendAction *WrappedAction, in ObjCMigrateAction()
/external/clang/lib/FrontendTool/
DExecuteCompilerInvocation.cpp34 static FrontendAction *CreateFrontendBaseAction(CompilerInstance &CI) { in CreateFrontendBaseAction()
132 static FrontendAction *CreateFrontendAction(CompilerInstance &CI) { in CreateFrontendAction()
134 FrontendAction *Act = CreateFrontendBaseAction(CI); in CreateFrontendAction()
237 std::unique_ptr<FrontendAction> Act(CreateFrontendAction(*Clang)); in ExecuteCompilerInvocation()
/external/clang/lib/Tooling/
DTooling.cpp107 bool runToolOnCode(clang::FrontendAction *ToolAction, const Twine &Code, in runToolOnCode()
124 bool runToolOnCodeWithArgs(clang::FrontendAction *ToolAction, const Twine &Code, in runToolOnCodeWithArgs()
158 FrontendAction *Action;
161 SingleFrontendActionFactory(FrontendAction *Action) : Action(Action) {} in SingleFrontendActionFactory()
163 FrontendAction *create() override { return Action; } in create()
177 FrontendAction *FAction, FileManager *Files) in ToolInvocation()
257 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
148 #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/include/clang/Rewrite/Frontend/
DFrontendActions.h53 FixItRecompile(FrontendAction *WrappedAction) in FixItRecompile()
/external/lldb/source/Expression/
DClangExpressionParser.cpp113 static FrontendAction *CreateFrontendBaseAction(CompilerInstance &CI) { in CreateFrontendBaseAction()
167 static FrontendAction *CreateFrontendAction(CompilerInstance &CI) { in CreateFrontendAction()
169 FrontendAction *Act = CreateFrontendBaseAction(CI); in CreateFrontendAction()
/external/clang/unittests/Tooling/
DToolingTest.cpp123 std::unique_ptr<FrontendAction> Action(Factory->create()); in TEST()
137 std::unique_ptr<FrontendAction> Action(Factory->create()); in TEST()
/external/clang/lib/Rewrite/Frontend/
DFrontendActions.cpp113 std::unique_ptr<FrontendAction> FixAction(new SyntaxOnlyAction()); in BeginInvocation()
/external/clang/patches/
D0004-Add-Android-build-system.patch1066 + FrontendAction.cpp \