This revision was automatically updated to reflect the committed changes.
Closed by commit rGd48d1f8ee845: [clang-format][NFC] Merge another two calls to
isOneOf (authored by HazardyKnusperkeks).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
curdeius accepted this revision.
curdeius added a comment.
LGTM.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115069/new/
https://reviews.llvm.org/D115069
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
HazardyKnusperkeks updated this revision to Diff 391857.
HazardyKnusperkeks marked 2 inline comments as done.
HazardyKnusperkeks added a comment.
Incorporated feedback.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115069/new/
https://reviews.llvm.org/D115069
Files:
MyDeveloperDay accepted this revision.
MyDeveloperDay added inline comments.
This revision is now accepted and ready to land.
Comment at: clang/lib/Format/ContinuationIndenter.cpp:1294-1296
+ Previous->isOneOf(tok::l_paren, tok::comma, tok::colon,
TT_BinaryOperator,
+
HazardyKnusperkeks added inline comments.
Comment at: clang/lib/Format/ContinuationIndenter.cpp:1294-1296
+ Previous->isOneOf(tok::l_paren, tok::comma, tok::colon,
TT_BinaryOperator,
+TT_ConditionalExpr) &&
!Previous->isOneOf(TT_DictLiteral,
curdeius added inline comments.
Comment at: clang/lib/Format/ContinuationIndenter.cpp:1294-1296
+ Previous->isOneOf(tok::l_paren, tok::comma, tok::colon,
TT_BinaryOperator,
+TT_ConditionalExpr) &&
!Previous->isOneOf(TT_DictLiteral,
HazardyKnusperkeks created this revision.
HazardyKnusperkeks added reviewers: MyDeveloperDay, curdeius, owenpan.
HazardyKnusperkeks added a project: clang-format.
HazardyKnusperkeks requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.