mirror of
https://github.com/apple/swift.git
synced 2026-02-27 18:26:24 +01:00
namespace. This moves the `isInMacroArgument` predicate and `lookupMacros` into `namelookup`. ASTScope still encapsulates the scope tree and contains the operation to lookup the enclosing macro scope, which then invokes a callback to determine whether a potential macro scope is indeed a macro, because answering this question requires name lookup.
24 KiB
24 KiB