mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
We only ever use this in TBDGen and interface printing, and we only ever generate TBD files or print interfaces for declarations in primary files, so let's avoid unnecessary work in validateDecl(). Eventually we want validateDecl() to be replaced with a getInterfaceType() request, so adding new attributes in this path (or other side effects in general) is a big no-no.
334 B
334 B