diff options
author | Daniel Jasper <djasper@google.com> | 2013-02-06 10:05:46 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2013-02-06 10:05:46 +0000 |
commit | 4e778091b0ff42895644ca8bef30f1a91ba6b32b (patch) | |
tree | 9f0ea355ad6190c264a18bf0b121a985fb009c25 /lib/Format/Format.cpp | |
parent | e8a97985f72b4e11435ff2107c0f11e925fb6d96 (diff) |
Handle nested ObjC calls.
Properly handle annotation contexts while calculating extra information
for each token. This enable nested ObjC calls and thus solves (most of)
llvm.org/PR15164. E.g., we can now format:
[contentsContainer replaceSubview:[subviews objectAtIndex:0]
with:contentsNativeView];
Also fix a problem with the formatting of types in casts as this was
trivial now.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174498 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format/Format.cpp')
0 files changed, 0 insertions, 0 deletions