summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorFrancois Ferrand <thetypz@gmail.com>2017-07-28 07:56:18 +0000
committerFrancois Ferrand <thetypz@gmail.com>2017-07-28 07:56:18 +0000
commita64ba70183c36c3be8bfcdadc8c4900a74bc4550 (patch)
treea229735d548952ed091079dafce126a28eaa84c7 /llvm/test/CodeGen
parenta98a95cca735b95cca5c904fa5ca875d916effc1 (diff)
downloadbcm5719-llvm-a64ba70183c36c3be8bfcdadc8c4900a74bc4550.tar.gz
bcm5719-llvm-a64ba70183c36c3be8bfcdadc8c4900a74bc4550.zip
clang-format: merge short case labels with trailing comments
Summary: Allow merging short case labels when they actually end with a comment (like a comment after the ``break``) and when followed by switch-level comments (e.g. aligned with next case): switch(a) { case 0: break; // comment at end of case case 1: return value; // comment related to next case // comment related to next case case 2: } Reviewers: krasimir, djasper Reviewed By: krasimir Subscribers: klimek, cfe-commits Differential Revision: https://reviews.llvm.org/D35557 llvm-svn: 309370
Diffstat (limited to 'llvm/test/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud