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 origin/main HEAD --extensions h,cpp -- 
clang/lib/Driver/ToolChains/Clang.cpp 
llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h 
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp 
llvm/lib/Target/AArch64/AArch64InstrInfo.cpp --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</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 d0348f96a..6a171c3d4 100644
--- a/clang/lib/Driver/ToolChains/Clang.cpp
+++ b/clang/lib/Driver/ToolChains/Clang.cpp
@@ -6237,7 +6237,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction 
&JA,
   if (Arg *A = Args.getLastArg(options::OPT_fsplit_machine_functions,
                                options::OPT_fno_split_machine_functions)) {
     if (!A->getOption().matches(options::OPT_fno_split_machine_functions)) {
-      // This codegen pass is only available on x86 and AArch64 ELF and Mach-O 
targets.
+      // This codegen pass is only available on x86 and AArch64 ELF and Mach-O
+      // targets.
       if ((Triple.isX86() || Triple.isAArch64()) &&
           (Triple.isOSBinFormatELF() || Triple.isOSBinFormatMachO()))
         A->render(Args, CmdArgs);

``````````

</details>


https://github.com/llvm/llvm-project/pull/179449
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to