mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +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.
6.6 KiB
6.6 KiB