[PATCH] D113898: [NFC][clangd] cleaning up llvm-qualified-auto

Christian Kühnel via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 13 07:37:13 PST 2021


kuhnel marked 3 inline comments as done.
kuhnel added inline comments.


================
Comment at: clang-tools-extra/clangd/unittests/HoverTests.cpp:2550
   auto AST = TU.build();
-  for (auto Comment : {"doc1", "doc2", "doc3"}) {
+  for (const auto *Comment : {"doc1", "doc2", "doc3"}) {
     for (const auto &P : T.points(Comment)) {
----------------
while clang-tidy added a const here, I would keep it for consistency with the next line...


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113898



More information about the cfe-commits mailing list