saar.raz added inline comments.
================ Comment at: lib/AST/ExprCXX.cpp:1478 + { + // We do not want error diagnostics escaping here. + Sema::SFINAETrap Trap(S); ---------------- faisalv wrote: > Hubert: This needs a TODO: the idea is not to drop SFINAE errors, but to > avoid instantiation that may trigger errors not in the immediate context of > instantiation. The substitution needs to happen piecewise. Could you elaborate/give an example where this handling is inappropriate? Repository: rC Clang https://reviews.llvm.org/D41217 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits