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 | c697ad29ff7ffd13826bffa620650b725795034e (patch) | |
tree | c154754b24c1a16746d46ab7898ae931665fd78e /clang/lib/Format/Format.cpp | |
parent | 1882ad99052af358e6acea98f2a643b32ea581a9 (diff) | |
download | bcm5719-llvm-c697ad29ff7ffd13826bffa620650b725795034e.tar.gz bcm5719-llvm-c697ad29ff7ffd13826bffa620650b725795034e.zip |
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.
llvm-svn: 174498
Diffstat (limited to 'clang/lib/Format/Format.cpp')
0 files changed, 0 insertions, 0 deletions