[clang] [Clang][RISCV] Add preprocessor macros for Zicfilp CFI scheme (PR #109600)

Kito Cheng via cfe-commits cfe-commits at lists.llvm.org
Sun Sep 22 21:07:19 PDT 2024


================
@@ -3952,6 +3981,16 @@ bool CompilerInvocation::ParseLangArgs(LangOptions &Opts, ArgList &Args,
     }
   }
 
+  if (const Arg *const A = Args.getLastArg(OPT_fcf_branch_label_scheme_EQ)) {
----------------
kito-cheng wrote:

```suggestion
  if (const Arg *A = Args.getLastArg(OPT_fcf_branch_label_scheme_EQ)) {
```

```suggestion
  if (const Arg *A = Args.getLastArg(OPT_fcf_branch_label_scheme_EQ)) {
```

For consistency with other site within this file.

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


More information about the cfe-commits mailing list