[clang] [AIX] Turn on `#pragma mc_func` check by default (PR #101336)
Chen Zheng via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 31 08:33:34 PDT 2024
================
@@ -562,7 +562,7 @@ void AIX::addClangTargetOptions(
CC1Args.push_back("-fno-sized-deallocation");
if (Args.hasFlag(options::OPT_ferr_pragma_mc_func_aix,
- options::OPT_fno_err_pragma_mc_func_aix, false))
+ options::OPT_fno_err_pragma_mc_func_aix, true))
----------------
chenzheng1030 wrote:
Your code is the correct one. Thanks for pointing this out.
https://github.com/llvm/llvm-project/pull/101336
More information about the cfe-commits
mailing list