[cfe-dev] integer constant expression oh my!

Chris Lattner clattner at apple.com
Sun Nov 16 13:51:12 PST 2008


I wrote up some thoughts about how I think that constants should  
eventually be handled in clang:
http://clang.llvm.org/docs/InternalsManual.html#Constants

The goal is for Expr::isConstantExpr and many other things to  
eventually go away, and only have one piece of code that does the  
constant folding tree walk.  Before we get too far along this path, I  
thought it would be good to see if this makes sense to others... so,  
what say you all? :)

-Chris



More information about the cfe-dev mailing list