summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExprScalar.cpp
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2013-01-06 20:07:31 +0000
committerManuel Klimek <klimek@google.com>2013-01-06 20:07:31 +0000
commita5342db6fcc6ee3fae084f584ecb019726de9cca (patch)
treee28f4727b138527bca6a83505a47cbf4eb448c32 /lib/CodeGen/CGExprScalar.cpp
parent1834a048052e95195b71b6fa9189ecaf00e7d10d (diff)
downloadclang-a5342db6fcc6ee3fae084f584ecb019726de9cca.tar.gz
clang-a5342db6fcc6ee3fae084f584ecb019726de9cca.tar.bz2
clang-a5342db6fcc6ee3fae084f584ecb019726de9cca.tar.xz
Fixes handling of unbalances braces.
If we find an unexpected closing brace, we must not stop parsing, as we'd otherwise not layout anything beyond that point. If we find a structural error on the highest level we'll not re-indent anyway, but we'll still want to format within unwrapped lines. Needed to introduce a differentiation between an expected and unexpected closing brace. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171666 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprScalar.cpp')
0 files changed, 0 insertions, 0 deletions