Skip to content

[libclang] Introduce an API to get the include-tree CASID #9001

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

Conversation

jansvoboda11
Copy link

The include-tree is a CAS object stored in the database and it's essentially an output of the dependency scan and an input to the compilation. This object may get pruned out of the database like any other. This means that before an incremental build, the build system needs to be able to check whether this object still exists. Exposing an API that returns the CAS ID of the include-tree object is a necessary stepping stone for implementing that.

Cherry-pick of #8975

@jansvoboda11 jansvoboda11 requested a review from akyrtzi July 23, 2024 17:45
@jansvoboda11
Copy link
Author

@swift-ci please test

@jansvoboda11 jansvoboda11 requested a review from fredriss July 23, 2024 21:49
@fredriss fredriss merged commit b0997e1 into swift/release/6.0 Jul 24, 2024
3 checks passed
@jansvoboda11 jansvoboda11 deleted the jan_svoboda/libclang-include-tree-api-release branch July 24, 2024 15:56
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