[PATCH] D157244: [clang-format] Correctly count annoated lines in a namespace body

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Aug 6 16:32:34 PDT 2023


owenpan added inline comments.


================
Comment at: clang/lib/Format/TokenAnnotator.h:95
+  size_t size() const {
+    int Size = 1;
+    for (const auto *Child : Children)
----------------
Will fix it before landing.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157244



More information about the cfe-commits mailing list