[PATCH] D139257: [clang-format][NFC] Link braces of a block in UnwrappedLineParser

Björn Schäpers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Dec 3 11:52:04 PST 2022


HazardyKnusperkeks added inline comments.


================
Comment at: clang/lib/Format/UnwrappedLineParser.cpp:2714
+
+static void resetOptional(FormatToken *LBrace) {
+  if (!LBrace)
----------------
This should be named differently. For me reset means assigning false.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139257



More information about the cfe-commits mailing list