Skip to content

Commit 9638a1c

Browse files
authored
Merge pull request #5084 from benlangmuir/clang-module-cc-check
2 parents f518f64 + 0bb7401 commit 9638a1c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/IDE/complete_from_clang_framework.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,15 +123,15 @@ func testSwiftCompletions(foo: SwiftStruct) {
123123
// CLANG_BAR: End completions
124124

125125
// CLANG_BOTH_FOO_BAR: Begin completions
126-
// CLANG_BOTH_FOO_BAR-DAG: Decl[FreeFunction]/OtherModule[Bar]: redeclaredInMultipleModulesFunc1({#(a): Int32#})[#Int32#]{{; name=.+$}}
126+
// CLANG_BOTH_FOO_BAR-DAG: Decl[FreeFunction]/OtherModule[{{(Foo|Bar)}}]: redeclaredInMultipleModulesFunc1({#(a): Int32#})[#Int32#]{{; name=.+$}}
127127
// CLANG_BOTH_FOO_BAR: End completions
128128

129129
// CLANG_QUAL_FOO_NEGATIVE-NOT: bar
130130
// CLANG_QUAL_FOO_NEGATIVE-NOT: :{{.*}}Bar
131131
// CLANG_QUAL_FOO_NEGATIVE-NOT: BAR
132132

133133
// CLANG_QUAL_BAR_NEGATIVE-NOT: foo
134-
// CLANG_QUAL_BAR_NEGATIVE-NOT: Foo
134+
// CLANG_QUAL_BAR_NEGATIVE-NOT: :{{.*}}Foo
135135
// CLANG_QUAL_BAR_NEGATIVE-NOT: FOO
136136

137137
func testClangModule() {
@@ -169,7 +169,7 @@ func testCompleteModuleQualifiedFoo2() {
169169
// CLANG_QUAL_FOO_2-DAG: Decl[FreeFunction]/OtherModule[FooHelper]: .fooHelperFunc1({#(a): Int32#})[#Int32#]{{; name=.+$}}
170170
// CLANG_QUAL_FOO_2-DAG: Decl[FreeFunction]/OtherModule[FooHelper.FooHelperSub]: .fooHelperSubFunc1({#(a): Int32#})[#Int32#]{{; name=.+$}}
171171
// CLANG_QUAL_FOO_2-DAG: Decl[FreeFunction]/OtherModule[Foo.FooSub]: .fooSubFunc1({#(a): Int32#})[#Int32#]{{; name=.+$}}
172-
// CLANG_QUAL_FOO_2-DAG: Decl[FreeFunction]/OtherModule[Bar]: .redeclaredInMultipleModulesFunc1({#(a): Int32#})[#Int32#]{{; name=.+$}}
172+
// CLANG_QUAL_FOO_2-DAG: Decl[FreeFunction]/OtherModule[{{(Foo|Bar)}}]: .redeclaredInMultipleModulesFunc1({#(a): Int32#})[#Int32#]{{; name=.+$}}
173173
// CLANG_QUAL_FOO_2-DAG: Decl[FreeFunction]/OtherModule[Foo]: .theLastDeclInFoo()[#Void#]{{; name=.+$}}
174174
// CLANG_QUAL_FOO_2-DAG: Decl[GlobalVar]/OtherModule[Foo]: .FOO_MACRO_1[#Int32#]{{; name=.+$}}
175175
// CLANG_QUAL_FOO_2-DAG: Decl[GlobalVar]/OtherModule[Foo]: .FOO_MACRO_2[#Int32#]{{; name=.+$}}

0 commit comments

Comments
 (0)