[PATCH] D65443: [clangd] Fix a regression in rL366996.

Johan Vikström via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 30 06:55:04 PDT 2019


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


================
Comment at: clang-tools-extra/clangd/refactor/tweaks/AnnotateHighlightings.cpp:43
+  if (!CommonDecl) {
+    // Now we hit the TUDecl case where commonAncestor() returns null intently.
+    // We only annotate tokens in the main file, so use the default traversal
----------------
Shouldn't `intently` -> `instantly`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D65443





More information about the cfe-commits mailing list