[flang-commits] [clang] [flang] [Flang][Driver] Enable the -B option (PR #109965)

via flang-commits flang-commits at lists.llvm.org
Wed Sep 25 04:56:52 PDT 2024


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 a6bdf3face377ee7ea84a02bada8a7e2ff380fe8 a0cd82be4e7e2343a0116e7707bf658ecc87c96a --extensions c -- flang/test/Driver/B-opt.c
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/flang/test/Driver/B-opt.c b/flang/test/Driver/B-opt.c
index 16f3b87aee..46dc9467d8 100644
--- a/flang/test/Driver/B-opt.c
+++ b/flang/test/Driver/B-opt.c
@@ -4,9 +4,10 @@
 // RUN: %flang %s -### -o %t.o -target i386-unknown-linux \
 // RUN:     -B %S/Inputs/B_opt_tree/dir1 -fuse-ld=ld 2>&1 \
 // RUN:   | FileCheck --check-prefix=CHECK-B-OPT-TRIPLE %s
-// CHECK-B-OPT-TRIPLE-NOT: "{{.*}}/Inputs/B_opt_tree/dir1{{/|\\\\}}i386-unknown-linux-ld"
+// CHECK-B-OPT-TRIPLE-NOT:
+// "{{.*}}/Inputs/B_opt_tree/dir1{{/|\\\\}}i386-unknown-linux-ld"
 //
 // RUN: %flang %s -### -o %t.o -target i386-unknown-linux \
 // RUN:     -B %S/Inputs/B_opt_tree/dir2 -fuse-ld=ld 2>&1 \
 // RUN:   | FileCheck --check-prefix=CHECK-B-OPT-DIR %s
-// CHECK-B-OPT-DIR: "{{.*}}/Inputs/B_opt_tree/dir2{{/|\\\\}}ld" 
+// CHECK-B-OPT-DIR: "{{.*}}/Inputs/B_opt_tree/dir2{{/|\\\\}}ld"

``````````

</details>


https://github.com/llvm/llvm-project/pull/109965


More information about the flang-commits mailing list