-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Incremental] Tests and bug fixes for per-type fingerprints. #29525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
davidungar
merged 2 commits into
swiftlang:master
from
davidungar:type-prints-off-by-default2
Jan 29, 2020
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
test/Inputs/process_fine_grained_swiftdeps_with_fingerprints.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env sh | ||
# Fine-grained swiftdeps files use multiple lines for each graph node. | ||
# Compress such a file so that each entry is one line of the form: | ||
# <kind> <aspect> <context> <name> <isProvides> | ||
# Also sort for consistency, since the node order can vary. | ||
|
||
awk '/kind:/ {k = $2; f = "<no fingerprint>"}; /aspect:/ {a = $2}; /context:/ {c = $2}; /name/ {n = $2}; /sequenceNumber/ {s = $2}; /fingerprint:/ {f = $2 }; /isProvides:/ {isP = $2; print k, a, c, n, isP, f}' | sort | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
// REQUIRES: shell | ||
// Also uses awk: | ||
// XFAIL OS=windows | ||
|
||
// When adding a private protocol method, the interface hash should stay the same | ||
// The per-type fingerprint should change | ||
|
||
// RUN: %empty-directory(%t) | ||
// RUN: %{python} %utils/split_file.py -o %t %s | ||
// RUN: cp %t/{a,x}.swift | ||
// RUN: %target-swift-frontend -typecheck -enable-type-fingerprints -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main | ||
// RUN: %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.sh <%t/x.swiftdeps >%t/a-processed.swiftdeps | ||
// RUN: cp %t/{b,x}.swift | ||
// RUN: %target-swift-frontend -typecheck -enable-type-fingerprints -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main | ||
// RUN: %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.sh <%t/x.swiftdeps >%t/b-processed.swiftdeps | ||
|
||
// RUN: not diff %t/{a,b}-processed.swiftdeps >%t/diffs | ||
|
||
// BEGIN a.swift | ||
class C { | ||
func f2() -> Int { | ||
return 0 | ||
} | ||
} | ||
|
||
// BEGIN b.swift | ||
class C { | ||
func f2() -> Int { | ||
return 0 | ||
} | ||
|
||
func f3() -> Int { | ||
return 1 | ||
} | ||
} | ||
|
||
// RUN: %FileCheck %s <%t/diffs -check-prefix=CHECK-SAME-INTERFACE-HASH | ||
// RUN: %FileCheck %s <%t/diffs -check-prefix=CHECK-DIFFERENT-TYPE-FINGERPRINT | ||
|
||
// CHECK-SAME-INTERFACE-HASH-NOT: sourceFileProvides | ||
|
||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < topLevel implementation '' C true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < topLevel interface '' C true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > topLevel implementation '' C true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > topLevel interface '' C true | ||
|
||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < nominal implementation 4main1C{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < nominal interface 4main1C{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > nominal implementation 4main1C{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > nominal interface 4main1C{{[^ ]+}} '' true | ||
|
||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < potentialMember implementation 4main1C{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < potentialMember interface 4main1C{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > potentialMember implementation 4main1C{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > potentialMember interface 4main1C{{[^ ]+}} '' true |
53 changes: 53 additions & 0 deletions
53
test/InterfaceHash/added_private_class_private_property-type-fingerprints.swift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
// REQUIRES: shell | ||
// Also uses awk: | ||
// XFAIL OS=windows | ||
|
||
// RUN: %empty-directory(%t) | ||
// RUN: %{python} %utils/split_file.py -o %t %s | ||
// RUN: cp %t/{a,x}.swift | ||
// RUN: %target-swift-frontend -typecheck -enable-type-fingerprints -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main | ||
// RUN: %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.sh <%t/x.swiftdeps >%t/a-processed.swiftdeps | ||
// RUN: cp %t/{b,x}.swift | ||
// RUN: %target-swift-frontend -typecheck -enable-type-fingerprints -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main | ||
// RUN: %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.sh <%t/x.swiftdeps >%t/b-processed.swiftdeps | ||
|
||
// RUN: not diff %t/{a,b}-processed.swiftdeps >%t/diffs | ||
|
||
// BEGIN a.swift | ||
private class C { | ||
func f2() -> Int { | ||
return 0 | ||
} | ||
} | ||
|
||
// BEGIN b.swift | ||
private class C { | ||
func f2() -> Int { | ||
return 0 | ||
} | ||
|
||
private var x: Int = 0 | ||
} | ||
|
||
// Since C is a type or extension, the interface hash ought to not get the | ||
// changed token hash. | ||
|
||
// RUN: %FileCheck %s <%t/diffs -check-prefix=CHECK-SAME-INTERFACE-HASH | ||
// RUN: %FileCheck %s <%t/diffs -check-prefix=CHECK-DIFFERENT-TYPE-FINGERPRINT | ||
|
||
// CHECK-SAME-INTERFACE-HASH-NOT: sourceFileProvides | ||
|
||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < topLevel implementation '' C true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < topLevel interface '' C true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > topLevel implementation '' C true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > topLevel interface '' C true | ||
|
||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < nominal implementation 4main1C{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < nominal interface 4main1C{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > nominal implementation 4main1C{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > nominal interface 4main1C{{[^ ]+}} '' true | ||
|
||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < potentialMember implementation 4main1C{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < potentialMember interface 4main1C{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > potentialMember implementation 4main1C{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > potentialMember interface 4main1C{{[^ ]+}} '' true |
53 changes: 53 additions & 0 deletions
53
test/InterfaceHash/added_private_class_property-type-fingerprints.swift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
// REQUIRES: shell | ||
// Also uses awk: | ||
// XFAIL OS=windows | ||
|
||
// RUN: %empty-directory(%t) | ||
// RUN: %{python} %utils/split_file.py -o %t %s | ||
// RUN: cp %t/{a,x}.swift | ||
// RUN: %target-swift-frontend -typecheck -enable-type-fingerprints -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main | ||
// RUN: %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.sh <%t/x.swiftdeps >%t/a-processed.swiftdeps | ||
// RUN: cp %t/{b,x}.swift | ||
// RUN: %target-swift-frontend -typecheck -enable-type-fingerprints -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main | ||
// RUN: %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.sh <%t/x.swiftdeps >%t/b-processed.swiftdeps | ||
|
||
// RUN: not diff %t/{a,b}-processed.swiftdeps >%t/diffs | ||
|
||
// BEGIN a.swift | ||
class C { | ||
func f2() -> Int { | ||
return 0 | ||
} | ||
} | ||
|
||
// BEGIN b.swift | ||
class C { | ||
func f2() -> Int { | ||
return 0 | ||
} | ||
|
||
private var x: Int = 0 | ||
} | ||
|
||
// Since C is a type or extension, the interface hash ought to not get the | ||
// changed token hash. | ||
|
||
// RUN: %FileCheck %s <%t/diffs -check-prefix=CHECK-SAME-INTERFACE-HASH | ||
// RUN: %FileCheck %s <%t/diffs -check-prefix=CHECK-DIFFERENT-TYPE-FINGERPRINT | ||
|
||
// CHECK-SAME-INTERFACE-HASH-NOT: sourceFileProvides | ||
|
||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < topLevel implementation '' C true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < topLevel interface '' C true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > topLevel implementation '' C true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > topLevel interface '' C true | ||
|
||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < nominal implementation 4main1C{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < nominal interface 4main1C{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > nominal implementation 4main1C{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > nominal interface 4main1C{{[^ ]+}} '' true | ||
|
||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < potentialMember implementation 4main1C{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < potentialMember interface 4main1C{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > potentialMember implementation 4main1C{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > potentialMember interface 4main1C{{[^ ]+}} '' true |
56 changes: 56 additions & 0 deletions
56
test/InterfaceHash/added_private_enum_private_property-type-fingerprints.swift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
// REQUIRES: shell | ||
// Also uses awk: | ||
// XFAIL OS=windows | ||
|
||
// When adding a private protocol method, the interface hash should stay the same | ||
// The per-type fingerprint should change | ||
|
||
// RUN: %empty-directory(%t) | ||
// RUN: %{python} %utils/split_file.py -o %t %s | ||
// RUN: cp %t/{a,x}.swift | ||
// RUN: %target-swift-frontend -typecheck -enable-type-fingerprints -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main | ||
// RUN: %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.sh <%t/x.swiftdeps >%t/a-processed.swiftdeps | ||
// RUN: cp %t/{b,x}.swift | ||
// RUN: %target-swift-frontend -typecheck -enable-type-fingerprints -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main | ||
// RUN: %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.sh <%t/x.swiftdeps >%t/b-processed.swiftdeps | ||
|
||
// RUN: not diff %t/{a,b}-processed.swiftdeps >%t/diffs | ||
|
||
|
||
// BEGIN a.swift | ||
private enum A { | ||
case x, y | ||
func f2() -> Int { | ||
return 0 | ||
} | ||
} | ||
|
||
// BEGIN b.swift | ||
private enum A { | ||
case x, y | ||
func f2() -> Int { | ||
return 0 | ||
} | ||
|
||
var foo: Int { return 0 } | ||
} | ||
|
||
// RUN: %FileCheck %s <%t/diffs -check-prefix=CHECK-SAME-INTERFACE-HASH | ||
// RUN: %FileCheck %s <%t/diffs -check-prefix=CHECK-DIFFERENT-TYPE-FINGERPRINT | ||
|
||
// CHECK-SAME-INTERFACE-HASH-NOT: sourceFileProvides | ||
|
||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < topLevel implementation '' A true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < topLevel interface '' A true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > topLevel implementation '' A true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > topLevel interface '' A true | ||
|
||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < nominal implementation 4main1A{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < nominal interface 4main1A{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > nominal implementation 4main1A{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > nominal interface 4main1A{{[^ ]+}} '' true | ||
|
||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < potentialMember implementation 4main1A{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < potentialMember interface 4main1A{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > potentialMember implementation 4main1A{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > potentialMember interface 4main1A{{[^ ]+}} '' true |
55 changes: 55 additions & 0 deletions
55
test/InterfaceHash/added_private_enum_property-type-fingerprints.swift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
// REQUIRES: shell | ||
// Also uses awk: | ||
// XFAIL OS=windows | ||
|
||
// When adding a private protocol method, the interface hash should stay the same | ||
// The per-type fingerprint should change | ||
|
||
// RUN: %empty-directory(%t) | ||
// RUN: %{python} %utils/split_file.py -o %t %s | ||
// RUN: cp %t/{a,x}.swift | ||
// RUN: %target-swift-frontend -typecheck -enable-type-fingerprints -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main | ||
// RUN: %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.sh <%t/x.swiftdeps >%t/a-processed.swiftdeps | ||
// RUN: cp %t/{b,x}.swift | ||
// RUN: %target-swift-frontend -typecheck -enable-type-fingerprints -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main | ||
// RUN: %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.sh <%t/x.swiftdeps >%t/b-processed.swiftdeps | ||
|
||
// RUN: not diff %t/{a,b}-processed.swiftdeps >%t/diffs | ||
|
||
// BEGIN a.swift | ||
enum A { | ||
case x, y | ||
func f2() -> Int { | ||
return 0 | ||
} | ||
} | ||
|
||
// BEGIN b.swift | ||
enum A { | ||
case x, y | ||
func f2() -> Int { | ||
return 0 | ||
} | ||
|
||
private var foo: Int { return 0 } | ||
} | ||
|
||
// RUN: %FileCheck %s <%t/diffs -check-prefix=CHECK-SAME-INTERFACE-HASH | ||
// RUN: %FileCheck %s <%t/diffs -check-prefix=CHECK-DIFFERENT-TYPE-FINGERPRINT | ||
|
||
// CHECK-SAME-INTERFACE-HASH-NOT: sourceFileProvides | ||
|
||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < topLevel implementation '' A true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < topLevel interface '' A true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > topLevel implementation '' A true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > topLevel interface '' A true | ||
|
||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < nominal implementation 4main1A{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < nominal interface 4main1A{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > nominal implementation 4main1A{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > nominal interface 4main1A{{[^ ]+}} '' true | ||
|
||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < potentialMember implementation 4main1A{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < potentialMember interface 4main1A{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > potentialMember implementation 4main1A{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > potentialMember interface 4main1A{{[^ ]+}} '' true |
55 changes: 55 additions & 0 deletions
55
test/InterfaceHash/added_private_method-type-fingerprints.swift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
// REQUIRES: shell | ||
// Also uses awk: | ||
// XFAIL OS=windows | ||
|
||
// When adding a private protocol method, the interface hash should stay the same | ||
// The per-type fingerprint should change | ||
|
||
// RUN: %empty-directory(%t) | ||
// RUN: %{python} %utils/split_file.py -o %t %s | ||
// RUN: cp %t/{a,x}.swift | ||
// RUN: %target-swift-frontend -typecheck -enable-type-fingerprints -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main | ||
// RUN: %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.sh <%t/x.swiftdeps >%t/a-processed.swiftdeps | ||
// RUN: cp %t/{b,x}.swift | ||
// RUN: %target-swift-frontend -typecheck -enable-type-fingerprints -primary-file %t/x.swift -emit-reference-dependencies-path %t/x.swiftdeps -module-name main | ||
// RUN: %S/../Inputs/process_fine_grained_swiftdeps_with_fingerprints.sh <%t/x.swiftdeps >%t/b-processed.swiftdeps | ||
|
||
// RUN: not diff %t/{a,b}-processed.swiftdeps >%t/diffs | ||
|
||
// BEGIN a.swift | ||
class C { | ||
func f2() -> Int { | ||
return 0 | ||
} | ||
} | ||
|
||
// BEGIN b.swift | ||
class C { | ||
func f2() -> Int { | ||
return 0 | ||
} | ||
|
||
private func f3() -> Int { | ||
return 1 | ||
} | ||
} | ||
|
||
// RUN: %FileCheck %s <%t/diffs -check-prefix=CHECK-SAME-INTERFACE-HASH | ||
// RUN: %FileCheck %s <%t/diffs -check-prefix=CHECK-DIFFERENT-TYPE-FINGERPRINT | ||
|
||
// CHECK-SAME-INTERFACE-HASH-NOT: sourceFileProvides | ||
|
||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < topLevel implementation '' C true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < topLevel interface '' C true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > topLevel implementation '' C true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > topLevel interface '' C true | ||
|
||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < nominal implementation 4main1C{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < nominal interface 4main1C{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > nominal implementation 4main1C{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > nominal interface 4main1C{{[^ ]+}} '' true | ||
|
||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < potentialMember implementation 4main1C{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: < potentialMember interface 4main1C{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > potentialMember implementation 4main1C{{[^ ]+}} '' true | ||
// CHECK-DIFFERENT-TYPE-FINGERPRINT-DAG: > potentialMember interface 4main1C{{[^ ]+}} '' true |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll have to gin up a more portable solution, but this'll do for now.