================
@@ -23054,6 +23054,11 @@ TEST_F(FormatTest, UnderstandsPragmaOmpTarget) {
       getLLVMStyleWithColumns(26));
 }
 
+TEST_F(FormatTest, UnderstandsPragmaOmpSplit) {
+  verifyFormat("#pragma omp split counts(2, 3)");
+  verifyFormat("#pragma omp split counts(2, omp_fill)");
+}
+
----------------
Meinersbur wrote:

You probably don't need to test formatting; we are not going to add tests for 
every single directive here, but only ones where
1. clang-format has special handling for, or
2. there have been regressions in the past

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

Reply via email to