mgehre added a comment.

Even if we change isIntegerConstantExpr() to return true instead of asserting, 
we still need this fix to the check. Because
we call isIntegerConstantExpr() to find out if we can possibly calculate the 
(constant) value of the index expression.
If it is value dependent, we cannot.


http://reviews.llvm.org/D22190



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to