[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:28 PDT 2024


================
@@ -470,6 +470,9 @@ ENUM_LANGOPT(StrictFlexArraysLevel, StrictFlexArraysLevelKind, 2,
 
 COMPATIBLE_VALUE_LANGOPT(MaxTokens, 32, 0, "Max number of tokens per TU or 0")
 
+BENIGN_LANGOPT(PointerAuthFunctionTypeDiscrimination, 1, 0,
----------------
kovdan01 wrote:

Can we use `LANGOPT` just as we use for similar `PointerAuth*` options above? Also, moving this definition to similar ones above would probably make sense so they are grouped together visually.


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


More information about the cfe-commits mailing list