[clang] [APINotes] Upstream Driver and Frontend options that enable API Notes (PR #73120)
Saleem Abdulrasool via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 22 07:43:20 PST 2023
================
@@ -1754,6 +1754,19 @@ def fswift_async_fp_EQ : Joined<["-"], "fswift-async-fp=">,
NormalizedValuesScope<"CodeGenOptions::SwiftAsyncFramePointerKind">,
NormalizedValues<["Auto", "Always", "Never"]>,
MarshallingInfoEnum<CodeGenOpts<"SwiftAsyncFramePointer">, "Always">;
+defm apinotes : BoolOption<"f", "apinotes",
+ LangOpts<"APINotes">, DefaultFalse,
+ PosFlag<SetTrue, [], [ClangOption], "Enable">,
+ NegFlag<SetFalse, [], [ClangOption], "Disable">,
+ BothFlags<[], [ClangOption, CC1Option], " external API notes support">>,
+ Group<f_clang_Group>;
+defm apinotes_modules : BoolOption<"f", "apinotes-modules",
+ LangOpts<"APINotesModules">, DefaultFalse,
+ PosFlag<SetTrue, [], [ClangOption], "Enable">,
+ NegFlag<SetFalse, [], [ClangOption], "Disable">,
+ BothFlags<[], [ClangOption, CC1Option],
+ " module-based external API notes support">>,
+ Group<f_clang_Group>;
----------------
compnerd wrote:
Similar.
https://github.com/llvm/llvm-project/pull/73120
More information about the cfe-commits
mailing list