Files
swift-mirror/lib/AST/Module.cpp
Holly Borla c203b39073 [Macros] Use the original attribute list when gathering possible macro-generated
names in the source lookup cache.

Invoking macro expansion while populating the source lookup cache is deliberately
avoided because it's prone to circularity. This applies to member attribute expansion,
which is requested via `getSemanticAttrs()`. Populating the auxiliary decl cache
should use the original attribute list, because declarations found via global lookup,
such as macro and operator decls, cannot have inferred attached macros.
2023-03-13 17:52:52 -07:00

142 KiB