[clang] [clang] Add partial-inlining options (PR #129024)

Jan Svoboda via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 10 15:56:45 PDT 2025


================
@@ -3394,6 +3394,10 @@ def fno_inline_functions : Flag<["-"], "fno-inline-functions">, Group<f_clang_Gr
   Visibility<[ClangOption, CC1Option]>;
 def fno_inline : Flag<["-"], "fno-inline">, Group<f_clang_Group>,
   Visibility<[ClangOption, CC1Option]>;
+def fpartial_inlining : Flag<["-"], "fpartial-inlining">, Group<f_clang_Group>,
----------------
jansvoboda11 wrote:

The `BoolFOption` infrastructure maps frontend arguments onto `CompilerInvocation`. The intent of this PR seems to be to add driver arguments that map to the `-mllvm` frontend argument (which already does map to `CompilerInvocation`). I think these should not be `CC1Option`, otherwise LGTM.

https://github.com/llvm/llvm-project/pull/129024


More information about the cfe-commits mailing list