Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
clang-tools-extra/clangd/FindTarget.cpp | ||
---|---|---|
576 ↗ | (On Diff #222157) | This comment is a bit unclear, I'll have to change it. |
clang-tools-extra/clangd/FindTarget.cpp | ||
---|---|---|
556 ↗ | (On Diff #222157) | ... and we need it because, template template decls are visited through it ? |
567 ↗ | (On Diff #222157) | I suppose these corresponds to non-type template paramters, don't they? (which should make it similar to integral case) |
618 ↗ | (On Diff #222157) | can we keep dlog ? |
clang-tools-extra/clangd/unittests/FindTargetTests.cpp | ||
751 ↗ | (On Diff #222157) | can you also name the template param, add a reference in wrapper and check for it ? |
clang-tools-extra/clangd/FindTarget.cpp | ||
---|---|---|
556 ↗ | (On Diff #222157) | Yes, exactly. Amended this to the comment. |
567 ↗ | (On Diff #222157) | Yes, e.g. see the wrapper<func> example from the tests. IIUC, Declaration can only happen in template arguments outside TemplateArgumentLoc. |
618 ↗ | (On Diff #222157) | I've initially removed it to avoid passing DynTypedNode to reportReference, but I also agree this dlog is useful. So making the function signature a bit clunky for the sake of debug logging |
- Restore dlog()
- Check reference to function pointer non-type template parameters in tests
- Extend comment of TraverseTemplateArgumentLoc