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 | 29f9dea1ab821e9b0c7cada17802e6b3fd5a7c93 (patch) | |
tree | ef5a4854d7648961b19ddc531febb22253a8e307 /lldb/utils/vim-lldb/python-vim-lldb/vim_ui.py | |
parent | 154faa6deda4d6b14f074f43b74519152d922784 (diff) | |
download | llvm-29f9dea1ab821e9b0c7cada17802e6b3fd5a7c93.zip llvm-29f9dea1ab821e9b0c7cada17802e6b3fd5a7c93.tar.gz llvm-29f9dea1ab821e9b0c7cada17802e6b3fd5a7c93.tar.bz2 |
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.
llvm-svn: 174889
Diffstat (limited to 'lldb/utils/vim-lldb/python-vim-lldb/vim_ui.py')
0 files changed, 0 insertions, 0 deletions