Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 38664 Build 38663: arc lint + arc unit
Event Timeline
clang-tools-extra/clangd/FindTarget.cpp | ||
---|---|---|
576 | This comment is a bit unclear, I'll have to change it. |
clang-tools-extra/clangd/FindTarget.cpp | ||
---|---|---|
556 | ... and we need it because, template template decls are visited through it ? | |
567 | I suppose these corresponds to non-type template paramters, don't they? (which should make it similar to integral case) | |
618 | can we keep dlog ? | |
clang-tools-extra/clangd/unittests/FindTargetTests.cpp | ||
751 | can you also name the template param, add a reference in wrapper and check for it ? |
clang-tools-extra/clangd/FindTarget.cpp | ||
---|---|---|
556 | Yes, exactly. Amended this to the comment. | |
567 | Yes, e.g. see the wrapper<func> example from the tests. IIUC, Declaration can only happen in template arguments outside TemplateArgumentLoc. | |
618 | 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
... and we need it because, template template decls are visited through it ?