Details
Details
Diff Detail
Diff Detail
- Repository
- rCTE Clang Tools Extra
- Build Status
Buildable 28250 Build 28249: arc lint + arc unit
Event Timeline
| unittests/clangd/XRefsTests.cpp | ||
|---|---|---|
| 376 | 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>; | |
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>;