swift
cfd24354 - [Sema] Fix missing operator diagnostic logic

Commit
3 years ago
[Sema] Fix missing operator diagnostic logic 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
Author
Parents
Loading