As part of this change, DynTypedNode is enhanced to allow
storing a TemplateArgumentLoc.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
The code looks good.
I think we'd better to have some sort of tests in clang (rather than relying on clangd test). It seems that the only way to test it in clang is through ASTMatcher. Do you mind adding a templateArgumentLoc matcher as well? and add a test in unittests/ASTMatchers/ASTMatchersTraversalTest.cpp.
With that, I think it would be nice to have two patches, one for clang, the other is for clangd.
clang-tools-extra/clangd/Selection.cpp | ||
---|---|---|
482 | can we add a test for the Selection? |
can we add a test for the Selection?