Skip to content

Commit ef23c9e

Browse files
committed
[clang][deps] Fix failing test
After 6da811f, the generated command-lines changed a bit and an extra argument appeared between `-fmodule-name` and `-fno-implicit-modules`. This commit fixes that by allowing extra arguments in that spot.
1 parent 41a148d commit ef23c9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/Index/Core/scan-deps.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
// CHECK-NEXT: [[PREFIX]]/Inputs/module/SubModA.h
2121
// CHECK-NEXT: [[PREFIX]]/Inputs/module/SubSubModA.h
2222
// CHECK-NEXT: [[PREFIX]]/Inputs/module/module.modulemap
23-
// CHECK-NEXT: build-args: {{.*}} -emit-module {{.*}} -fmodule-name=ModA -fno-implicit-modules {{.*}}
23+
// CHECK-NEXT: build-args: {{.*}} -emit-module {{.*}} -fmodule-name=ModA {{.*}} -fno-implicit-modules {{.*}}
2424
// CHECK-NEXT: dependencies:
2525
// CHECK-NEXT: context-hash: [[HASH_TU:[A-Z0-9]+]]
2626
// CHECK-NEXT: module-deps:

0 commit comments

Comments
 (0)