This revision was automatically updated to reflect the committed changes.
Closed by commit rL329917: [clang-format] Dont insert space between ObjC
class and lightweight generic (authored by benhamilton, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
benhamilton updated this revision to Diff 142186.
benhamilton marked an inline comment as done.
benhamilton added a comment.
Avoid else after return. Clean up logic so it doesn't need a comment.
Repository:
rC Clang
https://reviews.llvm.org/D45498
Files:
lib/Format/TokenAnnotator.cpp
djasper accepted this revision.
djasper added a comment.
This revision is now accepted and ready to land.
Looks good.
Comment at: lib/Format/TokenAnnotator.cpp:2357
+ return false;
+else
+ // Protocol list -> space if configured. @interface Foo : Bar
benhamilton created this revision.
benhamilton added reviewers: djasper, jolesiak.
Herald added subscribers: cfe-commits, klimek.
In https://reviews.llvm.org/D45185, I added clang-format parser support for
Objective-C
generics. However, I didn't touch the whitespace logic, so they
got the same