ilya-biryukov added inline comments.

================
Comment at: unittests/clangd/XRefsTests.cpp:376
+        }
+      )cpp",
   };
----------------
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>;
```


Repository:
  rCTE Clang Tools Extra

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58190/new/

https://reviews.llvm.org/D58190



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to