[PATCH] D121754: [clang-format] Refactor determineStarAmpUsage

sstwcw via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 16 16:00:20 PDT 2022


sstwcw marked 3 inline comments as done.
sstwcw added a comment.

About the tokens that were only in one function.

question, colon, and TT_ConditionalExpr, are for same thing.  question was added before they added TT_ConditionalExpr.  It looks like now only TT_ConditionalExpr would be enough.

kw_return and kw_throw were in both functions.

kw_case, kw_co_await, and kw_delete are now only in one function like before this revisioin.

semi and kw_sizeof have test cases.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121754/new/

https://reviews.llvm.org/D121754



More information about the cfe-commits mailing list