Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang-tools-extra/clangd/FindTarget.cpp | ||
---|---|---|
128 | Heh. When I wrote this, I searched for TypeDecl via workspaceSymbols, did not see it in the first few results, and concluded that there is no such type. Now I see it is there, just further down (and below partial matches like CFConstantStringTypeDecl). Maybe I should file a workspaceSymbols bug about this :) | |
clang-tools-extra/clangd/unittests/FindTargetTests.cpp | ||
743 | Thank you for the example; this does not currently work. Also, typename A<T>::[[B]]::C does not work either, because only the leaf type gets a DependentNameType. I will try to get these to work. |
clang-tools-extra/clangd/FindTarget.cpp | ||
---|---|---|
128 | yeah, I reproduced that, I think it is probably a ranking bug -- but if you type clang::TypeDecl, you will get it from the first result. |
clang-tools-extra/clangd/FindTarget.cpp | ||
---|---|---|
578 | we need to be robust in resolveNestedNameSpecifierToType -- we may get a null qualifier for DependentTemplateSpecializationType, see https://reviews.llvm.org/D76320. |
why not using isa<TypeDecl>(D)?