llvm-project/clang/examples
Arthur Eubanks fe66433fe1 [clang] Add plugin ActionType to run command line plugin before main action
Currently we have a way to run a plugin if specified on the command line
after the main action, and ways to unconditionally run the plugin before
or after the main action, but no way to run a plugin if specified on the
command line before the main action.

This introduces the missing option.

This is helpful because -clear-ast-before-backend clears the AST before
codegen, while some plugins may want access to the AST.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D112096
2021-10-20 08:58:20 -07:00
..
AnnotateFunctions Correct examples after d3205bbca3 2020-10-27 09:49:33 +01:00
Attribute Refactoring the attribute plugin example to fit the new API 2020-12-21 08:24:09 -05:00
CallSuperAttribute Add a call super attribute plugin example 2020-11-20 08:51:12 -05:00
PluginsOrder [clang] Add plugin ActionType to run command line plugin before main action 2021-10-20 08:58:20 -07:00
PrintFunctionNames [Clang] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:04:18 +00:00
clang-interpreter Revert "Reland "[clang-repl] Re-implement clang-interpreter as a test case."" 2021-10-08 17:43:23 -07:00
CMakeLists.txt [clang] Add plugin ActionType to run command line plugin before main action 2021-10-20 08:58:20 -07:00