Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
| unittests/clangd/XRefsTests.cpp | ||
|---|---|---|
| 376 ↗ | (On Diff #186685) | While here, could wee add tests for a few more cases? They are all represented by different classes in a hierarchy in clang, so each could potentially break: /// partial template specialization
template <class T>
struct Foo<T*> {};
^Foo<int*> x;
/// function template specializations
template <class T>
void foo(T);
template <>
void foo(int);
int x = fo^o(10);
/// variable template decls
template <class T>
T var = T();
template <>
double var<int> = 10;
double y = va^r<int>; |
Comment Actions
LGTM with a typo-nit :-)
| unittests/clangd/XRefsTests.cpp | ||
|---|---|---|
| 378 ↗ | (On Diff #187213) | s/tmeplate/template |