[PATCH] D59756: [clangd] Support dependent bases in type hierarchy

Nathan Ridge via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 6 16:12:36 PDT 2019


nridge marked an inline comment as done.
nridge added inline comments.


================
Comment at: clang-tools-extra/unittests/clangd/TypeHierarchyTests.cpp:405
+      *Result,
+      AllOf(WithName("S"), WithKind(SymbolKind::Struct),
+            Parents(AllOf(WithName("S"), WithKind(SymbolKind::Struct),
----------------
sammccall wrote:
> Sorry, I realize this isn't related to this patch, but I didn't see the final form of the previous one.
> 
> This should be `WithName("S<0>"), ... Parents(AllOf(WithName("S<1>")), ...)`. S is the name of the template, not the name of the type.
> 
> Can you add a fixme?
(I looked into what it would take to fix this, and it seems like we need D59639, so I'm going to wait for that.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D59756





More information about the cfe-commits mailing list