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 7b8f0d9a968eba4d85cf1d6a4ebc93f5e6dfbd2b b2de2588d108fa19a957a1525a63d522dee93769 --extensions cpp,h -- clang/include/clang/Driver/Driver.h clang/include/clang/Driver/Multilib.h clang/include/clang/Driver/ToolChain.h clang/lib/Driver/Driver.cpp clang/lib/Driver/Multilib.cpp clang/lib/Driver/ToolChains/BareMetal.cpp clang/lib/Driver/ToolChains/BareMetal.h `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp index 360f651936..31e3d0e790 100644 --- a/clang/lib/Driver/Driver.cpp +++ b/clang/lib/Driver/Driver.cpp @@ -262,7 +262,8 @@ void Driver::setDriverMode(StringRef Value) { } InputArgList Driver::ParseArgStrings(ArrayRef<const char *> ArgStrings, - bool UseDriverMode, bool &ContainsError) const { + bool UseDriverMode, + bool &ContainsError) const { llvm::PrettyStackTraceString CrashInfo("Command line argument parsing"); ContainsError = false; @@ -1252,8 +1253,8 @@ Compilation *Driver::BuildCompilation(ArrayRef<const char *> ArgList) { bool HasConfigFile = !ContainsError && (CfgOptions.get() != nullptr); // All arguments, from both config file and command line. - auto UArgs = std::make_unique<InputArgList>(std::move(HasConfigFile ? std::move(*CfgOptions) - : std::move(*CLOptions))); + auto UArgs = std::make_unique<InputArgList>(std::move( + HasConfigFile ? std::move(*CfgOptions) : std::move(*CLOptions))); InputArgList &Args = *UArgs; if (HasConfigFile) `````````` </details> https://github.com/llvm/llvm-project/pull/110659 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits