Go to file
Francois Ferrand a64ba70183 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
2017-07-28 07:56:18 +00:00
clang clang-format: merge short case labels with trailing comments 2017-07-28 07:56:18 +00:00
clang-tools-extra [clangd] Don't reverse priorities of completion items. 2017-07-27 17:43:07 +00:00
compiler-rt Support libc++abi in addition to libstdc++ 2017-07-28 03:39:39 +00:00
debuginfo-tests Add a test for PR33166. 2017-05-25 19:33:16 +00:00
libclc add __kernel_exec macros 2017-07-28 03:39:03 +00:00
libcxx [libcxx] [test] Remove an unused local typedef in enable_shared_from_this.pass.cpp. 2017-07-27 21:16:37 +00:00
libcxxabi [demangler] Fix some overzealous -Wreturn-type errors 2017-07-28 01:35:14 +00:00
libunwind Partial fix for PR33858 2017-07-26 18:13:57 +00:00
lld Add a test. 2017-07-27 22:08:11 +00:00
lldb XFAIL/XFlakey some tests what become very flakey on the Linux buildbot 2017-07-27 12:01:32 +00:00
llgo irgen: Create functions instead of global variables for builtin hash and equal algorithms. 2017-06-04 22:11:28 +00:00
llvm [SCEV] Do not visit nodes twice in containsConstantSomewhere 2017-07-28 06:42:15 +00:00
openmp Fix implementation of OMP_THREAD_LIMIT 2017-07-27 20:58:41 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly [GPGPU] Do not require the Scop::Context to have information about all parameters 2017-07-28 06:49:44 +00:00