[PATCH] D121756: [clang-format] Clean up code looking for if statements

MyDeveloperDay via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 22 02:37:32 PDT 2022


MyDeveloperDay added a comment.

FWIW I'm not a fan of the `while( \n` case, so assuming this fix, fixes that then that would be good I think.

  -  while (
  -      FormatTok->isOneOf(tok::identifier, tok::kw_requires, tok::coloncolon)) {
  +  while (FormatTok->isOneOf(tok::identifier, tok::kw_requires,
  +                            tok::coloncolon)) {


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D121756



More information about the cfe-commits mailing list