[llvm] [offload][test] Instruct clang-format to not reflow comments (PR #213696)

Ivan R. Ivanov via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 3 08:08:08 PDT 2026


https://github.com/ivanradanov created https://github.com/llvm/llvm-project/pull/213696

Without this, clang-format attempts to reflow check lines in tests, resulting in broken tests.

>From d9ee5a55c99c7c9c0eb49ef4551b30cc253c20ac Mon Sep 17 00:00:00 2001
From: Ivan Radanov Ivanov <iivanov at nvidia.com>
Date: Mon, 3 Aug 2026 08:01:45 -0700
Subject: [PATCH] [offload][test] Instruct clang-format to not reflow comments

Without this, clang-format attempts to reflow check lines in tests, resulting
in broken tests.
---
 offload/test/.clang-format | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 offload/test/.clang-format

diff --git a/offload/test/.clang-format b/offload/test/.clang-format
new file mode 100644
index 0000000000000..f03a1189ad469
--- /dev/null
+++ b/offload/test/.clang-format
@@ -0,0 +1 @@
+ReflowComments: false



More information about the llvm-commits mailing list