Skip to content

[clang] Downgrade err_nserrordomain_invalid_decl to a warning #2368

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
Jan 23, 2021

Conversation

xymus
Copy link

@xymus xymus commented Jan 22, 2021

Recent changes to the ns_error_domain logic requires the error domain
symbol to be defined before enums referring to it. Temporarily downgrade
the err_nserrordomain_invalid_decl error to a warning when the decl is
not found until the code affected by this is updated.

Recent changes to the ns_error_domain logic requires the error domain
symbol to be defined before enums referring to it. Temporarily downgrade
the err_nserrordomain_invalid_decl error to a warning when the decl is
not found until the code affected by this is updated.
@xymus xymus requested review from hyp, DougGregor and MForster January 22, 2021 22:08
@xymus
Copy link
Author

xymus commented Jan 22, 2021

@swift-ci Please test

@xymus
Copy link
Author

xymus commented Jan 22, 2021

@xymus
Copy link
Author

xymus commented Jan 23, 2021

The failing tests appear to be unrelated:

16:00:28   Swift(iphonesimulator-i386) :: Interop/Cxx/operators/member-out-of-line-irgen.swift
16:00:28   Swift(iphonesimulator-i386) :: Interop/Cxx/operators/member-inline-irgen.swift
16:00:28   Swift(iphonesimulator-i386) :: IRGen/pic.swift
16:00:28   Swift(iphonesimulator-i386) :: IRGen/objc_simd.sil

@xymus xymus merged commit c24a6dc into swiftlang:swift/rebranch Jan 23, 2021
@xymus xymus deleted the warn-ns-error-domain branch January 23, 2021 00:06
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