Skip to content

Conversation

@egorzhdan
Copy link
Contributor

This makes sure that whenever we emit #if defined(__OBJC__), the matching #endif has a comment // defined(__OBJC__).

This makes both testing and reading the header file easier.

@egorzhdan egorzhdan added the c++ interop Feature: Interoperability with C++ label Nov 11, 2025
@egorzhdan
Copy link
Contributor Author

@swift-ci please smoke test

…sistently

This makes sure that whenever we emit `#if defined(__OBJC__)`, the matching `#endif` has a comment `// defined(__OBJC__)`.

This makes both testing and reading the header file easier.
@egorzhdan egorzhdan force-pushed the egorzhdan/endif-objc branch from 9d15318 to 8cafef0 Compare November 12, 2025 11:52
@egorzhdan
Copy link
Contributor Author

@swift-ci please smoke test

@egorzhdan egorzhdan enabled auto-merge November 12, 2025 11:52
@egorzhdan
Copy link
Contributor Author

@swift-ci please test Windows

1 similar comment
@egorzhdan
Copy link
Contributor Author

@swift-ci please test Windows

@egorzhdan egorzhdan merged commit 2db0e8a into swiftlang:main Nov 13, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ interop Feature: Interoperability with C++

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants