-
Notifications
You must be signed in to change notification settings - Fork 10.5k
AST: Cache ProtocolDecl::getInheritedProtocols() [5.0] #21971
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
AST: Cache ProtocolDecl::getInheritedProtocols() [5.0] #21971
Conversation
@swift-ci Please test |
Build failed |
Build failed |
@@ -514,6 +514,9 @@ class alignas(1 << DeclAlignInBits) Decl { | |||
/// The stage of the circularity check for this protocol. | |||
Circularity : 2, | |||
|
|||
/// Whether we've computed the inherited protocols list yet. | |||
InheritedProtocolsValid : 1, |
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.
You need to set this to false
in the constructor!
abf7789
to
b440b3f
Compare
Build failed |
Build failed |
b440b3f
to
a3a84f3
Compare
@swift-ci Please test |
Build failed |
Build failed |
… with 'Self' constraints
Fixes <rdar://problem/47371754>.
a3a84f3
to
2460aa7
Compare
@swift-ci Please test |
Build failed |
Build failed |
Fixes rdar://problem/47371754.