[clang] [APINotes] Upstream Driver and Frontend options that enable API Notes (PR #73120)
Egor Zhdan via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 22 10:21:04 PST 2023
================
@@ -6720,6 +6720,17 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
Args.addOptOutFlag(CmdArgs, options::OPT_fassume_sane_operator_new,
options::OPT_fno_assume_sane_operator_new);
+ if (Args.hasFlag(options::OPT_fapinotes, options::OPT_fno_apinotes, false) ||
+ Args.hasArg(options::OPT_iapinotes_modules)) {
----------------
egorzhdan wrote:
My mistake, the outer `if` condition became wrong during my refactoring attempt. Fixed it.
https://github.com/llvm/llvm-project/pull/73120
More information about the cfe-commits
mailing list