llvm with tablegen backend for capstone disassembler
Go to file
Daniel Jasper a9eb2aafa1 Make formatting of empty blocks more consistent.
With this patch, the simplified rule is:
If the block is part of a declaration (class, namespace, function,
enum, ..), merge an empty block onto a single line. Otherwise
(specifically for the compound statements of if, for, while, ...),
keep the braces on two separate lines.

The reasons are:
- Mostly the formatting of empty blocks does not matter much.
- Empty compound statements are really rare and are usually just
  inserted while still working on the code. If they are on two lines,
  inserting code is easier. Also, overlooking the "{}" of an
  "if (...) {}" can be really bad.
- Empty declarations are not uncommon, e.g. empty constructors. Putting
  them on one line saves vertical space at no loss of readability.

llvm-svn: 183008
2013-05-31 14:56:20 +00:00
clang Make formatting of empty blocks more consistent. 2013-05-31 14:56:20 +00:00
clang-tools-extra cpp11-migrate: Add option to detect and use macros that expand to 'override' 2013-05-31 13:20:24 +00:00
compiler-rt [ASan] Do not buffer stdin in asan_symbolize.py 2013-05-31 14:55:06 +00:00
debuginfo-tests Remove IR scenario tests. 2013-03-15 20:52:10 +00:00
libclc Update the copyright coredits -- Happy new year 2013! 2013-01-01 10:00:19 +00:00
libcxx Neglected to remove a debugging comment from last commit. 2013-05-21 21:19:35 +00:00
libcxxabi Add capability to demangle invocation functions for ObjC blocks. 2013-04-10 19:44:03 +00:00
lld [WinLink][Driver] Add support for -subsystem optional OS version number. 2013-05-31 06:30:10 +00:00
lldb An NSData with 0 bytes in it would report a summary of “0 byte” 2013-05-31 01:14:22 +00:00
llvm Simplify multiplications by vectors whose elements are powers of 2. 2013-05-31 14:27:15 +00:00
polly scop detection: only handle functions with loops 2013-05-30 17:47:32 +00:00