Skip to content

[Demangling] Remove includes of swift/Basic/Assertions.h #75690

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
Aug 6, 2024

Conversation

nico
Copy link
Contributor

@nico nico commented Aug 5, 2024

They are not used. Demangling uses assert() from , and macros from lib/Demangling/DemanglerAssert.h.

Reverts the lib/Demangling changes from #74184.

No behavior change.


If someone could toggle CI, that'd be appreciated :)

@nico nico requested a review from rjmccall as a code owner August 5, 2024 16:15
They are not used. Demangling uses `assert()` from <cassert>,
and macros from lib/Demangling/DemanglerAssert.h.

Reverts the lib/Demangling changes from swiftlang#74184.

No behavior change.
@nico nico force-pushed the demangle-assertion branch from e61967c to 9d5359d Compare August 5, 2024 16:16
@nico nico changed the title [Demangling] Remove includes of swift/Basic/Assertions [Demangling] Remove includes of swift/Basic/Assertions.h Aug 5, 2024
@nico
Copy link
Contributor Author

nico commented Aug 6, 2024

@compnerd Last one for now? :)

@compnerd
Copy link
Member

compnerd commented Aug 6, 2024

CC @tbkka
I think that this is right - this USA runtime content not compiler content even though it is used by the compiler.

@compnerd
Copy link
Member

compnerd commented Aug 6, 2024

@swift-ci please test

@tbkka
Copy link
Contributor

tbkka commented Aug 6, 2024

Eventually, we want to make the new assertions usable by runtime content, but there's some additional work before that's feasible. In the meantime, I have no objections to removing these includes.

@tbkka
Copy link
Contributor

tbkka commented Aug 6, 2024

@swift-ci Please smoke test

@compnerd compnerd merged commit 194d7cf into swiftlang:main Aug 6, 2024
5 checks passed
@nico nico deleted the demangle-assertion branch August 7, 2024 02:59
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.

3 participants