Skip to content

Fix macOS build regression after #16212 #16221

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 27, 2018

Conversation

davezarzycki
Copy link
Contributor

No description provided.

@davezarzycki davezarzycki requested a review from bob-wilson April 27, 2018 18:55
@davezarzycki
Copy link
Contributor Author

@swift-ci please smoke test

@davezarzycki
Copy link
Contributor Author

@swift-ci please clean smoke test linux

@davezarzycki davezarzycki merged commit 468b918 into swiftlang:master Apr 27, 2018
@davezarzycki davezarzycki deleted the fix_master_next_build branch April 27, 2018 20:40
nathawes pushed a commit to nathawes/swift that referenced this pull request Apr 28, 2018
bob-wilson added a commit to bob-wilson/swift that referenced this pull request May 4, 2018
The Clang version checks introduced in swiftlang#16212 and swiftlang#16221 do not work well.
The __clang_major__ macro is defined differently for Apple builds of Clang,
and the __APPLE_CC__ macro is obsolete and not useful. The good news is that
those checks appear to be unnecessary. The version of Clang used with
Swift 4.2 (based on LLVM 6.0) accepts the code without the template keyword
in the places where the DEPENDENT_TEMPLATE2 macro was being used.

This also corrects a mistake in swiftlang#16221 where the non-Clang/GCC definition
of DEPENDENT_TEMPLATE was changed to use the template keyword.
bob-wilson pushed a commit to bob-wilson/swift that referenced this pull request Sep 14, 2018
bob-wilson added a commit to bob-wilson/swift that referenced this pull request Sep 14, 2018
The Clang version checks introduced in swiftlang#16212 and swiftlang#16221 do not work well.
The __clang_major__ macro is defined differently for Apple builds of Clang,
and the __APPLE_CC__ macro is obsolete and not useful. The good news is that
those checks appear to be unnecessary. The version of Clang used with
Swift 4.2 (based on LLVM 6.0) accepts the code without the template keyword
in the places where the DEPENDENT_TEMPLATE2 macro was being used.

This also corrects a mistake in swiftlang#16221 where the non-Clang/GCC definition
of DEPENDENT_TEMPLATE was changed to use the template keyword.
mikeash pushed a commit to mikeash/swift that referenced this pull request Nov 30, 2018
mikeash pushed a commit to mikeash/swift that referenced this pull request Nov 30, 2018
The Clang version checks introduced in swiftlang#16212 and swiftlang#16221 do not work well.
The __clang_major__ macro is defined differently for Apple builds of Clang,
and the __APPLE_CC__ macro is obsolete and not useful. The good news is that
those checks appear to be unnecessary. The version of Clang used with
Swift 4.2 (based on LLVM 6.0) accepts the code without the template keyword
in the places where the DEPENDENT_TEMPLATE2 macro was being used.

This also corrects a mistake in swiftlang#16221 where the non-Clang/GCC definition
of DEPENDENT_TEMPLATE was changed to use the template keyword.
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.

1 participant