Skip to content

Commit e595273

Browse files
committed
Fix LIT test modules-context-hash-ignore-macros.c.
Signed-off-by: Zahira Ammarguellat <zahira.ammarguellat@intel.com>
1 parent aa090b2 commit e595273

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

clang/test/ClangScanDeps/modules-context-hash-ignore-macros.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@
2727
// CHECK: "context-hash": "[[HASH_FOO:.*]]"
2828
// CHECK: "name": "Mod"
2929
// CHECK-NEXT: }
30+
// CHECK: "command-line": [
31+
// CHECK: "-D"
32+
// CHECK: "context-hash": "[[HASH:.*]]"
33+
// CHECK: "name": "Mod"
34+
// CHECK-NEXT: }
3035
// CHECK-NEXT: ]
3136
// CHECK-NEXT: "translation-units": [
3237
// CHECK-NEXT: {
@@ -56,7 +61,7 @@
5661
// CHECK-NEXT: {
5762
// CHECK: "clang-module-deps": [
5863
// CHECK-NEXT: {
59-
// CHECK-NEXT: "context-hash": "[[HASH_NO_FOO]]"
64+
// CHECK-NEXT: "context-hash": "[[HASH]]"
6065
// CHECK-NEXT: "module-name": "Mod"
6166
// CHECK-NEXT: }
6267
// CHECK-NEXT: ]

0 commit comments

Comments
 (0)