This is an archive of the discontinued LLVM Phabricator instance.

[ADT] NFC: Fix bogus StringSwitch rule-of-five boilerplate
AbandonedPublic

Authored by davezarzycki on Mar 29 2018, 5:47 AM.

Details

Reviewers
jordan_rose
Summary

Now that 'Str' is constant, the rule-of-five logic needs updating.

Diff Detail

Repository
rL LLVM

Event Timeline

davezarzycki created this revision.Mar 29 2018, 5:47 AM

That's a source compatibility break, but not one that's likely to matter in practice. LGTM.

Yup. I've already done a ninja check-all with llvm, lld, clang, and clang-tools-extras, and everything seems fine.

davezarzycki abandoned this revision.Apr 9 2018, 6:55 AM

This was committed.