[PATCH] D119597: [clang-format][NFC] Give State.Stack.back() a meaningful name

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 12 00:16:27 PST 2022


owenpan added inline comments.


================
Comment at: clang/lib/Format/ContinuationIndenter.cpp:1514
 
+  auto &CurrentState = State.Stack.back();
+
----------------
Can you make it `const` here?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119597



More information about the cfe-commits mailing list