[PATCH] D64754: [clangd] Added highlighting for the targets in typedefs.

Haojian Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 16 02:20:22 PDT 2019


hokein added inline comments.


================
Comment at: clang-tools-extra/clangd/SemanticHighlighting.cpp:88
 
+  bool VisitTypedefDecl(TypedefDecl *TD) {
+    if(const auto *TSI = TD->getTypeSourceInfo())
----------------
Do we plan to support the type alias `using Y = X;` as well? `TypedefNameDecl` should cover both cases.



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D64754





More information about the cfe-commits mailing list