This is an archive of the discontinued LLVM Phabricator instance.

[NFC] Move readAPValue/writeAPValue up the inheritance hierarchy
ClosedPublic

Authored by varungandhi-apple on Jan 6 2021, 2:38 PM.

Details

Summary

The implementation for (de)serialization of APValues can be shared
between Clang and Swift, so we prefer pushing the methods up
the inheritance hierarchy, instead of having the methods live in
ASTReader/ASTWriter. Fixes rdar://72592937.

Diff Detail

Event Timeline

varungandhi-apple requested review of this revision.Jan 6 2021, 2:38 PM
varungandhi-apple created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptJan 6 2021, 2:38 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript

Appease clang-tidy.

rjmccall accepted this revision.Jan 6 2021, 3:26 PM

LGTM

This revision is now accepted and ready to land.Jan 6 2021, 3:26 PM