This is an archive of the discontinued LLVM Phabricator instance.

[NFC, Refactor] Rename the (scoped) enum DeclaratorContext's enumerators to avoid redundancy
ClosedPublic

Authored by faisalv on Nov 7 2020, 12:33 PM.

Details

Summary

Since these are scoped enumerators, they have to be prefixed by DeclaratorContext, so lets remove Context from the name, and return some characters to the multiverse.

Diff Detail

Event Timeline

faisalv created this revision.Nov 7 2020, 12:33 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 7 2020, 12:33 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
faisalv requested review of this revision.Nov 7 2020, 12:33 PM
faisalv retitled this revision from [NFC, Refactor] Rename the (scoped) enum DeclaratorContext enumerator's to avoid redundancy to [NFC, Refactor] Rename the (scoped) enum DeclaratorContext's enumerators to avoid redundancy.Nov 7 2020, 12:51 PM
This revision is now accepted and ready to land.Nov 9 2020, 6:06 AM
wchilders accepted this revision.Nov 9 2020, 8:54 AM

+1 Nice QOL change :)

bruno accepted this revision.Nov 9 2020, 11:16 AM

LGTM