[PATCH] D112100: [clang] Add option to disable -clear-ast-before-backend
David Blaikie via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 19 16:40:23 PDT 2021
dblaikie accepted this revision.
dblaikie added a comment.
This revision is now accepted and ready to land.
Sounds good - possible flag def improvement with `BoolOption`.
================
Comment at: clang/include/clang/Driver/Options.td:5317-5319
+def no_clear_ast_before_backend : Flag<["-"], "no-clear-ast-before-backend">,
+ HelpText<"Don't clear the Clang AST before running backend code generation">,
+ MarshallingInfoNegativeFlag<CodeGenOpts<"ClearASTBeforeBackend">>;
----------------
Could you use/would it be handy to use a `BoolOption` for this?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112100/new/
https://reviews.llvm.org/D112100
More information about the cfe-commits
mailing list