aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCDisassembler/Disassembler.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2014-11-13 16:25:37 +0000
committerNico Weber <nicolasweber@gmx.de>2014-11-13 16:25:37 +0000
commit34272657debfc462e0a1c4b77dd7a216309f72c2 (patch)
tree7b294e1c816bf85a4660102c0cc43275fc84ed23 /llvm/lib/MC/MCDisassembler/Disassembler.cpp
parent17072ef34813eb0a8f9dce4758167d78b504d1df (diff)
downloadllvm-34272657debfc462e0a1c4b77dd7a216309f72c2.zip
llvm-34272657debfc462e0a1c4b77dd7a216309f72c2.tar.gz
llvm-34272657debfc462e0a1c4b77dd7a216309f72c2.tar.bz2
clang-format: Format extern "C" blocks like namespace blocks.
namespace blocks act as if KeepEmptyLinesAtTheStartOfBlocks is always true, and aren't collapsed to a single line even if they would fit. Do the same for extern "C" blocks. Before, extern "C" { void ExternCFunction(); } was collapsed into `extern "C" { void ExternCFunction(); }`. Now it stays like it was. Fixes http://crbug.com/432640 and part of PR21419. llvm-svn: 221897
Diffstat (limited to 'llvm/lib/MC/MCDisassembler/Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions