hokein accepted this revision.
hokein added inline comments.
This revision is now accepted and ready to land.


================
Comment at: clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp:199
+      // Find the last `=` before the default arg.
+      for (auto &Tok : llvm::reverse(Tokens)) {
+        if (Tok.kind() != tok::equal)
----------------
nit: `llvm::find_if(llvm::reverse(Tokens), [](Tok) { return Toke.kind() == 
tok::equal; })`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D71187



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to