mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Sema: Add request to compute if an AccessorDecl is transparent
Implicit accessors are sometimes transparent for performance reasons. Previously this was done in Sema by maybeMarkTransparent(), which would add a TransparentAttr. Replace this with a request.
This commit is contained in:
@@ -3568,6 +3568,7 @@ public:
|
||||
rawAccessorKind,
|
||||
rawAccessLevel,
|
||||
fn->needsNewVTableEntry(),
|
||||
fn->isTransparent(),
|
||||
dependencies);
|
||||
|
||||
writeGenericParams(fn->getGenericParams());
|
||||
|
||||
Reference in New Issue
Block a user