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

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 30 07:21:06 PDT 2019


hokein marked 2 inline comments as done.
hokein added inline comments.


================
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
----------------
jvikstrom wrote:
> Shouldn't `intently` -> `instantly`?
ah, I mean `intendedly`.


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