[PATCH] D132405: [clang][deps] Split translation units into individual -cc1 or other commands

Ben Langmuir via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 22 12:02:40 PDT 2022


benlangmuir added inline comments.
Herald added a subscriber: ormris.


================
Comment at: clang/test/ClangScanDeps/diagnostics.c:31
 // CHECK-NEXT:     {
-// CHECK-NEXT:       "clang-context-hash": "[[HASH_TU:.*]],
+// CHECK:            "clang-context-hash": "[[HASH_TU:.*]],
 // CHECK-NEXT:       "clang-module-deps": [
----------------
I didn't want to radically change all the tests, so in most cases I just loosened the matching so it would match inside the "commands".  The modules-full.c and multiple-commands.c cover the whole structure in detail.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132405



More information about the cfe-commits mailing list