File tree Expand file tree Collapse file tree 3 files changed +546
-2
lines changed Expand file tree Collapse file tree 3 files changed +546
-2
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,14 @@ class UnresolvedUsingValueDecl;
2626
2727namespace clangd {
2828
29- // This class heuristic resolution of declarations and types in template code.
29+ // This class handles heuristic resolution of declarations and types in template
30+ // code.
3031//
3132// As a compiler, clang only needs to perform certain types of processing on
3233// template code (such as resolving dependent names to declarations, or
3334// resolving the type of a dependent expression) after instantiation. Indeed,
3435// C++ language features such as template specialization mean such resolution
35- // cannot be done accurately before instantiation
36+ // cannot be done accurately before instantiation.
3637//
3738// However, template code is written and read in uninstantiated form, and clangd
3839// would like to provide editor features like go-to-definition in template code
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ add_unittest(ClangdUnitTests ClangdTests
6464 GlobalCompilationDatabaseTests.cpp
6565 HeadersTests.cpp
6666 HeaderSourceSwitchTests.cpp
67+ HeuristicResolverTests.cpp
6768 HoverTests.cpp
6869 IncludeCleanerTests.cpp
6970 IndexActionTests.cpp
You can’t perform that action at this time.
0 commit comments