This revision was automatically updated to reflect the committed changes.
Closed by commit rC353531: [Format/ObjC] Fix [foo bar]-baz formatting as
lambda arrow (authored by benhamilton, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D57923?vs=185859=185975#toc
Repository:
benhamilton updated this revision to Diff 185859.
benhamilton added a comment.
Tidy up code.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57923/new/
https://reviews.llvm.org/D57923
Files:
clang/lib/Format/TokenAnnotator.cpp
benhamilton created this revision.
benhamilton added reviewers: krasimir, djasper.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Currently, `UnwrappedLineParser` thinks an arrow token after
an ObjC method expression is a C++ lambda arrow, so it formats:
[foo bar]->baz