================
@@ -0,0 +1,5 @@
+// RUN: cat %s | not clang-format --fail-on-incomplete-format | FileCheck %s
+// RUN: cat %s | clang-format | FileCheck %s
+int a([) {}
+
+// CHECK: int a([) {}
----------------
owenca wrote:

It's missing the EOF. Also, use a single hyphen for the option like other tests.
```suggestion
// RUN: clang-format %s
// RUN: not clang-format %s -fail-on-incomplete-format

int a(
```

https://github.com/llvm/llvm-project/pull/84346
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to