swift
9af2de42 - [Macros] Only expand member macros that can affect qualified name lookup.

Commit
2 years ago
[Macros] Only expand member macros that can affect qualified name lookup. Rather than eagerly expanding all member macros when doing any name lookup into a type, use the same introduced-name-tracking logic we apply to peer macros to only expand those member macros that can produce the requested name. This makes the compiler lazier.
Author
Parents
  • lib/AST
    • File
      NameLookup.cpp