Skip to content

Conversation

cachemeifyoucan
Copy link

….d file For IncludeDirective callback from include-tree, do not callback with null FileEntry as that dependency collector using that to indicate a missing header include, and will not emit dependency file in this case. Unlike a regular callback from Lexer, include tree doesn't resolve headers so it cannot callback with a FileEntry to the header file being included when the include is actually a module. The behavior for the callback has to be changed slightly that it uses the ASTFile FileEntry. rdar://126885995 (cherry picked from commit 5b7c747)
@cachemeifyoucan cachemeifyoucan requested a review from a team April 25, 2024 17:20
@cachemeifyoucan
Copy link
Author

@swift-ci please test

@cachemeifyoucan
Copy link
Author

All tests are passed. Ping for merging since I have no permission.

@nkcsgexi nkcsgexi merged commit c8cf6f4 into swiftlang:swift/release/6.0 Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants