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 af6ebb70d22ed75d4472a6069ba3a0890e0d3a00 4a06df9bec87882964e0892b50dd9a81d5e1e6ac --extensions c,cpp -- clang/lib/Driver/ToolChain.cpp clang/test/Driver/print-multi-selection-flags.c `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/Driver/ToolChain.cpp b/clang/lib/Driver/ToolChain.cpp index dec9af62ad..652aa96860 100644 --- a/clang/lib/Driver/ToolChain.cpp +++ b/clang/lib/Driver/ToolChain.cpp @@ -230,14 +230,13 @@ static void getAArch64MultilibFlags(const Driver &D, Result.push_back(BranchProtectionArg->getAsString(Args)); } - const Arg *StrictAlignArg = - Args.getLastArgNoClaim(options::OPT_mstrict_align, options::OPT_mno_unaligned_access); + const Arg *StrictAlignArg = Args.getLastArgNoClaim( + options::OPT_mstrict_align, options::OPT_mno_unaligned_access); if (StrictAlignArg) { Result.push_back(StrictAlignArg->getAsString(Args)); } - const Arg *BigEndian = - Args.getLastArgNoClaim(options::OPT_mbig_endian); + const Arg *BigEndian = Args.getLastArgNoClaim(options::OPT_mbig_endian); if (BigEndian) { Result.push_back(BigEndian->getAsString(Args)); } @@ -300,15 +299,13 @@ static void getARMMultilibFlags(const Driver &D, Result.push_back(BranchProtectionArg->getAsString(Args)); } - const Arg *StrictAlignArg = - Args.getLastArgNoClaim(options::OPT_mstrict_align, options:: -OPT_mno_unaligned_access); + const Arg *StrictAlignArg = Args.getLastArgNoClaim( + options::OPT_mstrict_align, options::OPT_mno_unaligned_access); if (StrictAlignArg) { Result.push_back(StrictAlignArg->getAsString(Args)); } - const Arg *BigEndian = - Args.getLastArgNoClaim(options::OPT_mbig_endian); + const Arg *BigEndian = Args.getLastArgNoClaim(options::OPT_mbig_endian); if (BigEndian) { Result.push_back(BigEndian->getAsString(Args)); } `````````` </details> https://github.com/llvm/llvm-project/pull/114782 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits