Skip to content

Add size for indexstoredb_symbol_role_t #220

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 14, 2024

Conversation

bnbarham
Copy link
Contributor

@bnbarham bnbarham commented Aug 12, 2024

This was previously miscompiling with clang (would be 32 bit instead of
64 bit) and now errors with clang 19. Note that this doesn't seem to
have had any impact within indexstore-db itself - the C++ side is
using a different enum (SymbolRole) which has:

Canonical = uint64_t(1) << 63,

And seems like the only real use of Canonical is
foreachCanonicalSymbolOccurrenceImpl itself (also C++).

@bnbarham bnbarham requested a review from ahoppen August 12, 2024 23:21
@bnbarham
Copy link
Contributor Author

@swift-ci please test

@bnbarham bnbarham force-pushed the add-symbol-role-size branch 3 times, most recently from c75d9c5 to 45affac Compare August 12, 2024 23:47
@bnbarham
Copy link
Contributor Author

@swift-ci please test

This was previously miscompiling with clang (would be 32 bit instead of
64 bit) and now errors with clang 19. Note that this doesn't seem to
have had any impact within indexstore-db itself - the C++ side is
using a different enum (`SymbolRole`) which has:
```
Canonical = uint64_t(1) << 63,
```

And seems like the only real use of `Canonical` is
`foreachCanonicalSymbolOccurrenceImpl` itself (also C++).
@bnbarham bnbarham force-pushed the add-symbol-role-size branch from 45affac to a72ac5a Compare August 14, 2024 03:07
@bnbarham
Copy link
Contributor Author

@swift-ci please test

@bnbarham
Copy link
Contributor Author

@swift-ci please test Windows platform

1 similar comment
@bnbarham
Copy link
Contributor Author

@swift-ci please test Windows platform

@bnbarham bnbarham merged commit 6120b53 into swiftlang:main Aug 14, 2024
3 checks passed
@bnbarham bnbarham deleted the add-symbol-role-size branch August 14, 2024 18:30
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