ObjC scopes gets formatted beyond the @end directive, when formatting specific lines (clang-format -lines=x:x).
This changeset fixes formatting of @end the same way that r_braces are.
E.g: running clang-format -lines=3:3 on (note the extra white space in front of @optional):
@protocol A @optional // comment - (void)f; @end MACRO
would be formatted:
@protocol A @optional // comment - (void)f; @end MACRO
instead of:
@protocol A @optional // comment - (void)f; @end MACRO
Initial bug report / feature request: https://bugs.llvm.org/show_bug.cgi?id=37975
Note to self: change the style to match PreviousRBrace