diff options
author | Nico Weber <nicolasweber@gmx.de> | 2013-02-11 15:32:15 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2013-02-11 15:32:15 +0000 |
commit | c2e6d2a4a7fe9dfa7d52a38c6048b7b18e6b591a (patch) | |
tree | 079b1d7737ae0fed7eb6751a3c26b61076d18e9c /test/CodeGenCXX/implicit-copy-constructor.cpp | |
parent | 3f4535e44965f46cf603146141d2d27a1cef1f7f (diff) |
Formatter: Detect ObjC message expressions after 'in' in loop
Before:
for (id foo in[self getStuffFor : bla]) {
}
Now:
for (id foo in [self getStuffFor:bla]) {
}
"in" is treated as loop keyword if the line starts with "for", and as a
regular identifier else. To check for "in", its IdentifierInfo is handed
through a few layers.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174889 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/implicit-copy-constructor.cpp')
0 files changed, 0 insertions, 0 deletions