mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Introduce a `getTopmostDeclarationDeclContext` utility to ensure we ensure we don't visit a `nullptr` DeclContext for an erroneous module under `-experimental-allow-module-with-compiler-errors`. Additionally, tweak the insertion location such that we insert at the start of any attributes present. rdar://97267326
472 B
472 B