majnemer added inline comments. ================ Comment at: include/clang/Basic/Attr.td:1463 @@ +1462,3 @@ + let Spellings = [GNU<"unique_instantiation">]; + let Subjects = SubjectList<[Function, CXXRecord], ErrorDiag>; + let Documentation = [UniqueInstantiationDocs]; ---------------- They work ok, clang just thinks that it's a declaration of a variable template. Try this: template <typename T> T n = T(); extern template int n<int>; template int n<int>;
Repository: rL LLVM http://reviews.llvm.org/D13330 _______________________________________________ cfe-commits mailing list [email protected] http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
