mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Switch the direct operator lookup logic over to querying the SourceLookupCache, then switch the main operator lookup logic over to calling the direct lookup logic rather than querying the operator maps on the SourceFile. This then allows us to remove the SourceFile operator maps, in addition to the logic from NameBinding that populated them. This requires redeclaration checking to be implemented separately. Finally, to compensate for the caching that the old operator maps were providing for imported results, turn the operator lookup requests into cached requests.
92 KiB
92 KiB