aaron.ballman added a reviewer: rsmith. aaron.ballman added a subscriber: rsmith. aaron.ballman added a comment.
Hmm, perhaps @rsmith has other opinions, but I think this should be fixed in `isIntegerConstantExpr()`. C++03 has the notion of value dependence, and [temp.dep.type]p1 and [expr.const]p1 both specify that a non-type template parameters of integral types are constant expressions. http://reviews.llvm.org/D22190 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits