This is an archive of the discontinued LLVM Phabricator instance.

[clang][deps] Teach dep directive scanner about #pragma clang system_header
ClosedPublic

Authored by benlangmuir on May 3 2023, 12:23 PM.

Details

Summary

This ensures we get the correct FileCharacteristic during scanning. In a
yet-to-be-upstreamed branch this fixes observable failures, but it's
also good to handle this on principle: the FileCharacteristic is a
property of the file that is observable in the scanner, so there is
nothing preventing us from depending on it.

rdar://108627403

Diff Detail

Event Timeline

benlangmuir created this revision.May 3 2023, 12:23 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 3 2023, 12:24 PM
benlangmuir requested review of this revision.May 3 2023, 12:24 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 3 2023, 12:24 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
akyrtzi accepted this revision.May 3 2023, 12:49 PM
This revision is now accepted and ready to land.May 3 2023, 12:49 PM
This revision was landed with ongoing or failed builds.May 3 2023, 1:58 PM
This revision was automatically updated to reflect the committed changes.