This is an archive of the discontinued LLVM Phabricator instance.

[YAML] - Move yaml::Input and yaml::Ouput classes declarations.
AbandonedPublic

Authored by grimar on Jan 20 2020, 7:16 AM.

Details

Summary

This just moves yaml::Input and yaml::Ouput to be
declared right after the yaml::IO (their parent).

It allows to use them in the doMapping helpers,
otherwise compiler complains.
It is used in D73045.

Diff Detail

Event Timeline

grimar created this revision.Jan 20 2020, 7:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 20 2020, 7:16 AM
jhenderson accepted this revision.Jan 20 2020, 7:44 AM

LGTM. I assume that the only changes aside from a literal cut + paste are due to a clang-format run?

This revision is now accepted and ready to land.Jan 20 2020, 7:44 AM
MaskRay accepted this revision.Jan 20 2020, 9:57 AM
MaskRay added inline comments.
llvm/include/llvm/Support/YAMLTraits.h
954

This line can be deleted.

1114

This line can be deleted.

LGTM. I assume that the only changes aside from a literal cut + paste are due to a clang-format run?

Yes.

grimar abandoned this revision.Feb 18 2020, 6:32 AM

D73045 was abandoned. Hence this one is unnecessary now.