[clang] [clang] Implement function pointer type discrimination (PR #96992)

Daniil Kovalev via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 28 08:14:26 PDT 2024


================
@@ -4779,6 +4783,9 @@ bool CompilerInvocation::CreateFromArgsImpl(
   if (Res.getFrontendOpts().ProgramAction == frontend::RewriteObjC)
     LangOpts.ObjCExceptions = 1;
 
+  LangOpts.FunctionPointerTypeDiscrimination =
----------------
kovdan01 wrote:

Can we move this to `ParsePointerAuthArgs`?

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


More information about the cfe-commits mailing list