diff options
| author | Manuel Klimek <klimek@google.com> | 2013-09-04 13:25:30 +0000 |
|---|---|---|
| committer | Manuel Klimek <klimek@google.com> | 2013-09-04 13:25:30 +0000 |
| commit | 753a5114f9076c545c33cf3ced0d76e27bc0a2d5 (patch) | |
| tree | e38182679939f5e6d373655a6fc3228554439766 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 9e512bc935318be794bad8ff1bcd14222b6006fc (diff) | |
| download | clang-753a5114f9076c545c33cf3ced0d76e27bc0a2d5.tar.gz clang-753a5114f9076c545c33cf3ced0d76e27bc0a2d5.tar.bz2 clang-753a5114f9076c545c33cf3ced0d76e27bc0a2d5.tar.xz | |
Implement parsing of blocks (^{ ... }) in the unwrapped line parser.
This patch makes sure we produce the right number of unwrapped lines,
a follow-up patch will make the whitespace formatting consistent.
Before:
void f() {
int i = {[operation setCompletionBlock : ^{ [self onOperationDone];
}]
}
;
}
After:
void f() {
int i = {[operation setCompletionBlock : ^{
[self onOperationDone];
}] };
}
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189932 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
