This is an archive of the discontinued LLVM Phabricator instance.

Update to use enum classes for various ARM *Kind enums
ClosedPublic

Authored by fhahn on Jul 26 2017, 2:35 AM.

Diff Detail

Event Timeline

fhahn created this revision.Jul 26 2017, 2:35 AM
rovka accepted this revision.Jul 27 2017, 8:00 AM

Looks entirely mechanical, I don't see any problem with it (just a couple of nits).

lib/Basic/Targets/AArch64.cpp
93

My eyes might be deceiving me, but did you run clang-format?

lib/Driver/ToolChains/Darwin.cpp
71

Nitpick: The rename seems unnecessary (and anyway the file is inconsistent between Arch, ArchKind and AK).

This revision is now accepted and ready to land.Jul 27 2017, 8:00 AM
fhahn updated this revision to Diff 108479.Jul 27 2017, 8:35 AM
fhahn marked an inline comment as done.

Addressed reviewer comments

fhahn added inline comments.Jul 27 2017, 8:40 AM
lib/Basic/Targets/AArch64.cpp
93

Yes, it fits on a single line now, excellent spot :)

lib/Driver/ToolChains/Darwin.cpp
71

Agreed.

fhahn closed this revision.Jul 27 2017, 9:29 AM