clang-analyzer plugins require LLVM_ENABLE_PLUGINS alsoThe clang-analyzer plugins are not linked to a particular tool, so theycan only be compiled if plugins are broadly supported. We could optin
clang-analyzer plugins require LLVM_ENABLE_PLUGINS alsoThe clang-analyzer plugins are not linked to a particular tool, so theycan only be compiled if plugins are broadly supported. We could optinstead to decide whether to link them to specifically against clang orwith undefined symbols, depending on the value of LLVM_ENABLE_PLUGINS,but we do not currently expect there to be a use case for that ratherniche configuration.Differential Revision: https://reviews.llvm.org/D119591
show more ...
replace clang LLVM_ENABLE_PLUGINS -> CLANG_PLUGIN_SUPPORT in testsEnsure CLANG_PLUGIN_SUPPORT is compatible with llvm_add_library.Fixes an issue noted in D111100.Differential Revision: https://r
replace clang LLVM_ENABLE_PLUGINS -> CLANG_PLUGIN_SUPPORT in testsEnsure CLANG_PLUGIN_SUPPORT is compatible with llvm_add_library.Fixes an issue noted in D111100.Differential Revision: https://reviews.llvm.org/D119199
[clang] Add plugin ActionType to run command line plugin before main actionCurrently we have a way to run a plugin if specified on the command lineafter the main action, and ways to unconditionall
[clang] Add plugin ActionType to run command line plugin before main actionCurrently we have a way to run a plugin if specified on the command lineafter the main action, and ways to unconditionally run the plugin beforeor after the main action, but no way to run a plugin if specified on thecommand line before the main action.This introduces the missing option.This is helpful because -clear-ast-before-backend clears the AST beforecodegen, while some plugins may want access to the AST.Reviewed By: dblaikieDifferential Revision: https://reviews.llvm.org/D112096