diff options
author | Daniel Jasper <djasper@google.com> | 2015-11-01 00:27:35 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2015-11-01 00:27:35 +0000 |
commit | f67c32466d782824c67a3f31196eb31d22faa7fa (patch) | |
tree | f75ff2d76d478140aa2a1e8c4ba7bfdda4e0a7b2 /clang/docs/LanguageExtensions.rst | |
parent | 2f5e8874f3a973eb9aec8fd92e7f1cbbc7c00494 (diff) | |
download | bcm5719-llvm-f67c32466d782824c67a3f31196eb31d22faa7fa.tar.gz bcm5719-llvm-f67c32466d782824c67a3f31196eb31d22faa7fa.zip |
clang-format: Be slightly more cautious when formatting subsequent lines after a change. With r251474, clang-format could indent the entire rest of the file, if there is a missing closing brace, e.g. while writing code in an editor.
Summary:
With this change, clang-format stops formatting when either it leaves
the current scope or when it comes back to the initial scope after
going into a nested one.
Reviewers: klimek
Subscribers: cfe-commits, klimek
Differential Revision: http://reviews.llvm.org/D14213
llvm-svn: 251760
Diffstat (limited to 'clang/docs/LanguageExtensions.rst')
0 files changed, 0 insertions, 0 deletions