This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] fix PR38557 - comments between "default" and ':' causes the case label to be treated as an identifier
ClosedPublic

Authored by owenpan on Aug 14 2018, 4:00 AM.

Diff Detail

Repository
rC Clang

Event Timeline

JonasToth created this revision.Aug 14 2018, 4:00 AM
JonasToth edited the summary of this revision. (Show Details)
JonasToth updated this revision to Diff 160550.Aug 14 2018, 4:11 AM

Using git for the diff, add testcase

hokein removed a reviewer: hokein.Aug 14 2018, 6:10 AM
owenpan commandeered this revision.Aug 14 2018, 8:06 AM
owenpan updated this revision to Diff 160591.
owenpan added a reviewer: JonasToth.

Updated the test case.

JonasToth added a subscriber: JonasToth.
This revision is now accepted and ready to land.Aug 21 2018, 3:40 AM
This revision was automatically updated to reflect the committed changes.