diff options
author | Daniel Jasper <djasper@google.com> | 2015-10-07 15:09:08 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2015-10-07 15:09:08 +0000 |
commit | 9cb1ac28b93d004941dc1ff3efc7b5464b1a2838 (patch) | |
tree | 53526bccca9d868122cbcb35a43049b71a113303 /clang/lib/Basic/VirtualFileSystem.cpp | |
parent | 39828256b0b0ba6648de1d55c0c3d7412ea162da (diff) | |
download | bcm5719-llvm-9cb1ac28b93d004941dc1ff3efc7b5464b1a2838.tar.gz bcm5719-llvm-9cb1ac28b93d004941dc1ff3efc7b5464b1a2838.zip |
clang-format: Fixed missing space between Obj-C for/in and a typecast.
Fixes this bug: https://llvm.org/bugs/show_bug.cgi?id=24504
TokenAnnotator::spaceRequiredBetween was handling TT_ForEachMacro but
not TT_ObjCForIn, so lines that look like:
for (id nextObject in (NSArray *)myArray)
would incorrectly turn into:
for (id nextObject in(NSArray *)myArray)
Patch by Kent Sutherland, thank you.
llvm-svn: 249553
Diffstat (limited to 'clang/lib/Basic/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions