[PATCH] D13330: Implement __attribute__((unique_instantiation))

Keno Fischer via cfe-commits cfe-commits at lists.llvm.org
Sat Oct 3 14:10:44 PDT 2015


loladiro added a comment.

Thoughts on allowing this attribute to be specified on the templated class itself, with the intention of never allowing any implicit instantiation? As an example, consider SymbolTableListTraits in LLVM. It can only ever be used as an explicit instantiation (because the full implementation is not available).


Repository:
  rL LLVM

http://reviews.llvm.org/D13330





More information about the cfe-commits mailing list