llvm-project/clang/unittests
Daniel Jasper b87899b567 clang-format: Add option to allow short case labels on a single line.
On a single line:
  switch (a) {
  case 1: x = 1; return;
  case 2: x = 2; return;
  default: break;
  }

Not on a single line:
  switch (a) {
  case 1:
    x = 1;
    return;
  case 2:
    x = 2;
    return;
  default:
    break;
  }

This partly addresses llvm.org/PR16535. In the long run, we probably want to
lay these out in columns.

llvm-svn: 217501
2014-09-10 13:11:45 +00:00
..
AST unique_ptrify SourceManager::createFileID 2014-08-29 07:59:55 +00:00
ASTMatchers Add matcher for linkage specification 2014-09-04 08:51:06 +00:00
Basic Unique_ptrify PPCallbacks ownership. 2014-09-10 04:53:53 +00:00
CodeGen unique_ptrify SourceManager::createFileID 2014-08-29 07:59:55 +00:00
Driver [Driver] clang::driver::getARMCPUForMArch() moved to llvm::Triple::getARMCPUForArch(). 2014-07-11 23:47:48 +00:00
Format clang-format: Add option to allow short case labels on a single line. 2014-09-10 13:11:45 +00:00
Frontend Revert over-eager unique_ptr conversion. 2014-09-10 09:35:49 +00:00
Lex Unique_ptrify PPCallbacks ownership. 2014-09-10 04:53:53 +00:00
Sema Recommit 213307: unique_ptr-ify ownership of ASTConsumers (reverted in r213325) 2014-08-10 19:56:51 +00:00
Tooling Tooling: Ignore file names in tooling::deduplicate. 2014-09-09 13:53:29 +00:00
libclang Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
CMakeLists.txt Don't segfault in EmitCXXGlobalInitFunc when main file is a membuf 2014-08-26 22:10:15 +00:00
Makefile Don't segfault in EmitCXXGlobalInitFunc when main file is a membuf 2014-08-26 22:10:15 +00:00