jyknight marked 2 inline comments as done. ================ Comment at: lib/AST/Decl.cpp:3122 @@ +3121,3 @@ + void *Buffer = Context.Allocate( + totalSizeToAlloc<TemplateArgumentLoc, FunctionTemplateDecl *>( + TArgs.size(), Ts.size())); ---------------- rsmith wrote: > OK, I guessed that might be the reason. Seems like a reasonable safety > measure. (Do you get an error if you specify the wrong types?) Yep, the function has an enable_if to ensure you call it with the right types.
Repository: rL LLVM http://reviews.llvm.org/D11298 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits