In D45185, I added clang-format parser support for Objective-C
generics. However, I didn't touch the whitespace logic, so they
got the same space logic as Objective-C protocol lists.
In every example in the Apple SDK and in the documentation,
there is no space between the class name and the opening <
for the lightweight generic specification, so this diff
removes the space and updates the tests.
Test Plan: Tests updated. Ran tests with:
% make -j16 FormatTests && ./tools/clang/unittests/Format/FormatTests
Don't use else after return.
https://llvm.org/docs/CodingStandards.html#don-t-use-else-after-a-return
I'd have a slight preference for writing:
Then I think it might not even need a comment (or a shorter one).