[PATCH] D132719: [clang-format] Rework removeBraces() in Format.cpp

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 25 23:43:13 PDT 2022


owenpan added inline comments.


================
Comment at: clang/lib/Format/Format.cpp:1914
-          assert(Token->isOneOf(tok::l_brace, tok::r_brace));
-          assert(Token->Previous || Token == Line->First);
-          const FormatToken *Next = Token->Next;
----------------
Deleted by mistake. Will add it back before landing.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132719



More information about the cfe-commits mailing list