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 96e1320a9aa8fd010b02fc6751da801c48725a02 b3d7b528a422f7c44b535c480acbd74f03555b4d --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 442512366c..76901875c6 100644 --- a/clang/lib/Driver/ToolChain.cpp +++ b/clang/lib/Driver/ToolChain.cpp @@ -222,7 +222,8 @@ static void getAArch64MultilibFlags(const Driver &D, MArch.insert(MArch.begin(), ("-march=" + ArchName).str()); Result.push_back(llvm::join(MArch, "+")); - const Arg *BranchProtectionArg = Args.getLastArgNoClaim(options::OPT_mbranch_protection_EQ); + const Arg *BranchProtectionArg = + Args.getLastArgNoClaim(options::OPT_mbranch_protection_EQ); if (BranchProtectionArg) { Result.push_back(BranchProtectionArg->getAsString(Args)); } @@ -274,7 +275,8 @@ static void getARMMultilibFlags(const Driver &D, llvm_unreachable("Invalid float ABI"); } - const Arg *BranchProtectionArg = Args.getLastArgNoClaim(options::OPT_mbranch_protection_EQ); + const Arg *BranchProtectionArg = + Args.getLastArgNoClaim(options::OPT_mbranch_protection_EQ); if (BranchProtectionArg) { Result.push_back(BranchProtectionArg->getAsString(Args)); } `````````` </details> https://github.com/llvm/llvm-project/pull/106391 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits