Skip to content

ExtractAPI: use zero-based indices for line/column in symbol graph #7825

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
Nov 29, 2023

Conversation

QuietMisdreavus
Copy link

Other implementations of the symbol graph format use zero-based indices for source locations, which causes problems when combined with clang's current one-based indices. This commit sets ExtractAPI's symbol graph output to use zero-based indices to align with other implementations.

Cherry-picked from llvm#71753.

rdar://107639783

Other implementations of the symbol graph format use zero-based indices
for source locations, which causes problems when combined with clang's
current one-based indices. This commit sets ExtractAPI's symbol graph
output to use zero-based indices to align with other implementations.

Cherry-picked from llvm#71753.

rdar://107639783
@QuietMisdreavus
Copy link
Author

@swift-ci Please test

@QuietMisdreavus QuietMisdreavus merged commit 27d6bdd into stable/20230725 Nov 29, 2023
@QuietMisdreavus QuietMisdreavus deleted the QuietMisdreavus/linecol-offset branch November 29, 2023 16:48
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