Skip to content

Conversation

@hnrklssn
Copy link
Member

The _SwiftifyImport macro is emitted into an unnamed buffer and then parsed, pretending it was in the header all along. This makes it hard to add expected-note comments for diag::in_macro_expansion when they point here. That's okay, because the macro expansion has already been pointed out by expected-expansion directives. But -verify-ignore-unrelated is too blunt of a tool, so this adds -verify-ignore-macro-note to ignore these specific diagnostics.

Extracted from 3e25af2

The _SwiftifyImport macro is emitted into an unnamed buffer and then
parsed, pretending it was in the header all along. This makes it hard to
add `expected-note` comments for `diag::in_macro_expansion` when they
point here. That's okay, because the macro expansion has already been
pointed out by `expected-expansion` directives. But
-verify-ignore-unrelated is too blunt of a tool, so this adds
-verify-ignore-macro-note to ignore these specific diagnostics.
@hnrklssn
Copy link
Member Author

@swift-ci please smoke test

@hnrklssn
Copy link
Member Author

@swift-ci please smoke test macos platform

@hnrklssn hnrklssn enabled auto-merge October 14, 2025 16:27
@hnrklssn
Copy link
Member Author

@swift-ci please smoke test macos platform

@hnrklssn hnrklssn merged commit f83752d into swiftlang:main Oct 15, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants