Issue |
153599
|
Summary |
clang-format of tablegen files breaks lit tests
|
Labels |
clang-format
|
Assignees |
|
Reporter |
jpienaar
|
Ran git clang-format and resulted in dropping tests
```diff
-// Note: comprehensive emission of verifiers is tested in verifyINvariantsImpl() below
-// CHECK: int64_t tblgen_scalar = this->getScalar();
-// CHECK: if (!((tblgen_scalar >= 0)))
-// CHECK: return emitError(loc, "'test.op_with_predicates' op property 'scalar' failed to satisfy constraint: non-negative int64_t");
+// Note: comprehensive emission of verifiers is tested in verifyINvariantsImpl()
+// below CHECK: int64_t tblgen_scalar = this->getScalar(); CHECK: if
+// (!((tblgen_scalar >= 0))) CHECK: return emitError(loc,
+// "'test.op_with_predicates' op property 'scalar' failed to satisfy constraint:
+// non-negative int64_t");
```
The after is not checking the same as the before.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs