aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.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
commit1058d987f98b942aa5919f5e2fab3c5b734b68a6 (patch)
tree806765e38c952630f361ab93814b5707ced3d376 /llvm/lib/CodeGen/CodeGen.cpp
parent3fb03e23a42b064877497bb9c045b99693d14c95 (diff)
downloadllvm-1058d987f98b942aa5919f5e2fab3c5b734b68a6.zip
llvm-1058d987f98b942aa5919f5e2fab3c5b734b68a6.tar.gz
llvm-1058d987f98b942aa5919f5e2fab3c5b734b68a6.tar.bz2
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. llvm-svn: 171666
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions