Follow-up to D71543
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Unit tests: pass. 60957 tests passed, 0 failed and 726 were skipped.
clang-format: pass.
Build artifacts: diff.json, CMakeCache.txt, console-log.txt, test-results.xml
clang-tools-extra/clangd/unittests/HoverTests.cpp | ||
---|---|---|
556 | NIT: Maybe remove default argument from this test for now and file a bug for fixing this instead? |
clang-tools-extra/clangd/unittests/HoverTests.cpp | ||
---|---|---|
556 | sure filed https://github.com/clangd/clangd/issues/229 |
clang-tools-extra/clangd/unittests/HoverTests.cpp | ||
---|---|---|
1209 | Hang on, I think we're going round in circles with this design. IIRC the idea was that Name doesn't include template parameters, signature, etc, so clients control rendering. Isn't it easy to reconstitute this from the template argument list in the hover info? |
clang-tools-extra/clangd/unittests/HoverTests.cpp | ||
---|---|---|
1209 | we were only storing template parameters, not arguments. they've always been the part of the name, they had disappeared after a previous patch, as an intermediate state and this was introducing them back. i am planning to move template arguments into a different field though, as template parameters, which should also help with dropping default arguments. |
NIT: Maybe remove default argument from this test for now and file a bug for fixing this instead?
Tracking this in the issue tracker seems to be better than in code.