[cfe-dev] Constant expression checking rewrite
Eli Friedman
eli.friedman at gmail.com
Fri May 16 14:43:56 PDT 2008
On Fri, May 16, 2008 at 2:27 PM, Ted Kremenek <kremenek at apple.com> wrote:
> It is very useful for isConstantExpr to evaluate the actual value of the
> expression as an APSInt constant.
I think you're confusing Expr::isConstantExpr and Expr::isIntegerConstantExpr
Okay, I'll try to rephrase the paragraph more simply: I don't think we
need Expr::isConstantExpr outside of Sema; the current users don't
really want it, and I can't think of any other interesting uses.
-Eli
More information about the cfe-dev
mailing list