aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2015-05-13 16:09:21 +0000
committerDaniel Jasper <djasper@google.com>2015-05-13 16:09:21 +0000
commitc4144ea4186809e6cea44b97a3e5f60a0b2bf07a (patch)
tree4d62cf566d5ac329ee75ac02f8dfe83fa0b2b8fb /llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
parentdf7fd46c4a4832a133c498b526ff3db9c61e5742 (diff)
downloadllvm-c4144ea4186809e6cea44b97a3e5f60a0b2bf07a.zip
llvm-c4144ea4186809e6cea44b97a3e5f60a0b2bf07a.tar.gz
llvm-c4144ea4186809e6cea44b97a3e5f60a0b2bf07a.tar.bz2
clang-format: Improve nested block / lambda indentation when wrapping
before binary/ternary operators. Basically, it doesn't seem right to indent a nested block aligned to a binary or ternary operator. Before: int i = aaaaaa ? 1 // : [] { return 2; // }(); llvm::errs() << "number of twos is " << std::count_if(v.begin(), v.end(), [](int x) { return x == 2; // force break }); After: int i = aaaaaa ? 1 // : [] { return 2; // }(); llvm::errs() << "number of twos is " << std::count_if(v.begin(), v.end(), [](int x) { return x == 2; // force break }); llvm-svn: 237263
Diffstat (limited to 'llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions