ilya-biryukov marked 2 inline comments as done.
ilya-biryukov added inline comments.


================
Comment at: clang-tools-extra/clangd/SemanticHighlighting.cpp:220
+  bool VisitOverloadExpr(OverloadExpr *E) {
+    if (!E->decls().empty())
+      return true; // handled by findExplicitReferences.
----------------
hokein wrote:
> IIUC, if the decls don't have the same kind, we will not highlight it 
> (previously, we fall back to `DependentName`).
You're right. I don't think highlighting as dependent name is any better than 
not highlighting at all in that case, though.
Therefore, I would argue it's not worth adding more code to handle this corner 
case (I'm not even sure it's possible in practice, it'll take quite some time 
to come up with examples like these)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69673



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

Reply via email to