summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.cpp
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2013-01-10 11:52:21 +0000
committerManuel Klimek <klimek@google.com>2013-01-10 11:52:21 +0000
commit8e07a1b64be189048c6fdba4908f8ba839519c5d (patch)
tree16884d0f6573e52732f9835cab1136f8fa3a0fed /clang/lib/Driver/Tools.cpp
parent9b52ce94db7644bc3e6602e42f6f219fd9623b31 (diff)
downloadbcm5719-llvm-8e07a1b64be189048c6fdba4908f8ba839519c5d.tar.gz
bcm5719-llvm-8e07a1b64be189048c6fdba4908f8ba839519c5d.zip
Fix layout of blocks inside statements.
Previously, we would not indent: SOME_MACRO({ int i; }); correctly. This is fixed by adding the trailing }); to the unwrapped line starting with SOME_MACRO({, so the formatter can correctly match the braces and indent accordingly. Also fixes incorrect parsing of initializer lists, like: int a[] = { 1 }; llvm-svn: 172058
Diffstat (limited to 'clang/lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud