v1nh1shungry added a comment.

This patch implements:

- Template specialization type

- Class template specialization declaration

- Variable template specialization declaration

- Function specialization declaration

It would be sweet to also implement:

  template <class T> constexpr int value = 0;
  int I = value</*T: */int>;
  
  template <class T> T add(T lhs, T rhs);
  add</*T: */int>(1, 2);

But I got stuck on implementing these. I tried `VisitDeclRefExpr` but failed 
and have no idea. I prefer to implement these in future patches. But yes, if 
anyone could give me some hints I am happy to update the patch.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D138425

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

Reply via email to