This is an archive of the discontinued LLVM Phabricator instance.

[TextAPI] Implement TBDv5 Reader
ClosedPublic

Authored by cishida on Feb 15 2023, 6:47 PM.

Details

Summary
[TextAPI] Implement TBDv5 Reader

Introduce initial reader for TBDv5 which is in JSON. This captures all
the currently understood fields within the internal structure
`InterfaceFile`.

New fields & follow up tests will be followed up in future PRs.

Diff Detail

Event Timeline

cishida created this revision.Feb 15 2023, 6:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 15 2023, 6:47 PM
cishida requested review of this revision.Feb 15 2023, 6:47 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 15 2023, 6:47 PM
cishida updated this revision to Diff 497865.Feb 15 2023, 6:51 PM

Fix up format of commit message.

cishida retitled this revision from commit dca28ccb3218330e9c6fb7c93453fb84e5cf129c Author: Cyndy Ishida <cyndy_ishida@apple.com> Date: Tue Feb 14 20:50:46 2023 -0800 to [TextAPI] Implement TBDv5 Reader.Feb 15 2023, 6:52 PM
cishida updated this revision to Diff 497877.Feb 15 2023, 8:49 PM

Fixup invalid test inputs

Herald added a project: Restricted Project. · View Herald TranscriptFeb 15 2023, 8:49 PM
Herald added a reviewer: Restricted Project. · View Herald Transcript
cishida updated this revision to Diff 497883.Feb 15 2023, 9:43 PM

Fix Windows build

cishida updated this revision to Diff 497890.Feb 15 2023, 11:06 PM

Add insource documentation on new format & add Tests

cishida updated this revision to Diff 498091.Feb 16 2023, 11:12 AM

small refactor

cishida updated this revision to Diff 498133.Feb 16 2023, 1:45 PM

Distinct top level libraries vs. nested inlined libraries in format

pete accepted this revision.Feb 17 2023, 11:41 AM

Looks great! I didn't see anything to fix/change.

This revision is now accepted and ready to land.Feb 17 2023, 11:41 AM
This revision was automatically updated to reflect the committed changes.