[PATCH] D128098: [clang][driver] Ensure we don't accumulate entries in -MJ files

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 17 14:50:31 PDT 2022


MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.
Herald added a subscriber: StephenFan.

LGTM.



================
Comment at: clang/test/Driver/compilation_database_multiarch.c:15
 // CHECK-NEXT: { "directory": "{{.*}}", "file": "{{.*}}", "output": "[[OUTPUT_ARM64:.*]]", "arguments": [{{.*}}, "-o", "[[OUTPUT_ARM64]]", {{.*}} "--target=arm64-apple-macosx12.0.0"]},
+// CHECK-NEXT: EOF
----------------
CHECK-EMPTY can match EOF.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128098/new/

https://reviews.llvm.org/D128098



More information about the cfe-commits mailing list