[Mlir-commits] [mlir] 68cfb02 - [mlir] turn clang-format back on in C API test

Alex Zinenko llvmlistbot at llvm.org
Thu Sep 17 04:01:21 PDT 2020


Author: Alex Zinenko
Date: 2020-09-17T12:59:57+02:00
New Revision: 68cfb02668550e3398c8ee8915732daf132f2652

URL: https://github.com/llvm/llvm-project/commit/68cfb02668550e3398c8ee8915732daf132f2652
DIFF: https://github.com/llvm/llvm-project/commit/68cfb02668550e3398c8ee8915732daf132f2652.diff

LOG: [mlir] turn clang-format back on in C API test

C API test uses FileCheck comments inside C code and needs to
temporarily switch off clang-format to prevent it from messing with
FileCheck directives. A recently landed commit forgot to turn it back on
after a block of FileCheck comments. Fix that.

Added: 
    

Modified: 
    mlir/test/CAPI/ir.c

Removed: 
    


################################################################################
diff  --git a/mlir/test/CAPI/ir.c b/mlir/test/CAPI/ir.c
index fa63c72bf4e8..01b007e71783 100644
--- a/mlir/test/CAPI/ir.c
+++ b/mlir/test/CAPI/ir.c
@@ -832,6 +832,7 @@ int main() {
   // CHECK: (d0, d1, d2) -> (d0)
   // CHECK: (d0, d1, d2) -> (d2)
   // CHECK: 0
+  // clang-format on
   fprintf(stderr, "@affineMap\n");
   errcode = printAffineMap(ctx);
   fprintf(stderr, "%d\n", errcode);


        


More information about the Mlir-commits mailing list