[PATCH] D63714: [clangd] Cleanup the duplicated getTokenRange.

Kadir Cetinkaya via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 24 08:45:34 PDT 2019


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


================
Comment at: clang-tools-extra/clangd/XRefs.cpp:926
   for (const auto &Ref : MainFileRefs) {
     Location Result;
+    if (auto Range =
----------------
nit: move declaration into if body?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D63714





More information about the cfe-commits mailing list