[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:18 PDT 2024
================
@@ -2022,6 +2035,22 @@ bool CompilerInvocation::ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args,
Diags.Report(diag::err_drv_invalid_value) << A->getAsString(Args) << Name;
}
+ 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)) {
```
For consistency with other site within this file.
https://github.com/llvm/llvm-project/pull/109600
More information about the cfe-commits
mailing list