github-actions[bot] wrote: <!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning: <details> <summary> You can test this locally with the following command: </summary> ``````````bash git-clang-format --diff 4a21e3afa29521192ce686605eb945495455ca5e 435c7eae0148f950a56c017fab408a69bedd84af -- clang/test/CodeGen/aarch64-elf-pauthabi.c clang/test/Driver/ptrauth.c clang/test/Preprocessor/ptrauth.c clang/include/clang/Basic/LangOptions.h clang/lib/CodeGen/CodeGenModule.cpp clang/lib/Driver/ToolChains/Clang.cpp clang/lib/Frontend/CompilerInvocation.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/Driver/ToolChains/Clang.cpp b/clang/lib/Driver/ToolChains/Clang.cpp index 800973fa33..dd8bdfe07b 100644 --- a/clang/lib/Driver/ToolChains/Clang.cpp +++ b/clang/lib/Driver/ToolChains/Clang.cpp @@ -7186,8 +7186,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, options::OPT_fno_ptrauth_intrinsics, false)) CmdArgs.push_back("-fptrauth-intrinsics"); - if (Args.hasFlag(options::OPT_fptrauth_calls, - options::OPT_fno_ptrauth_calls, false)) + if (Args.hasFlag(options::OPT_fptrauth_calls, options::OPT_fno_ptrauth_calls, + false)) CmdArgs.push_back("-fptrauth-calls"); if (Args.hasFlag(options::OPT_fptrauth_returns, @@ -7210,8 +7210,7 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, CmdArgs.push_back("-fptrauth-vtable-pointer-type-discrimination"); if (Args.hasFlag(options::OPT_fptrauth_init_fini, - options::OPT_fno_ptrauth_init_fini, - false)) + options::OPT_fno_ptrauth_init_fini, false)) CmdArgs.push_back("-fptrauth-init-fini"); // -fsigned-bitfields is default, and clang doesn't yet support `````````` </details> https://github.com/llvm/llvm-project/pull/85235 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits