]> granicus.if.org Git - clang/commit
This is the final step/commit for implementing exlicit implicit casts. Unlike the
authorSteve Naroff <snaroff@apple.com>
Sun, 15 Jul 2007 02:02:06 +0000 (02:02 +0000)
committerSteve Naroff <snaroff@apple.com>
Sun, 15 Jul 2007 02:02:06 +0000 (02:02 +0000)
commitfa2eaabd304172dd8afc561f6156a65f8d0e442b
tree15ce0e774aaecaf120ea8c80d3ebca1aaa3c65be
parentc3f893748348ae71a2c61fbfcd1bd4cbe12d10e7
This is the final step/commit for implementing exlicit implicit casts. Unlike the
previous two checkins, which involved lot's of tedious refactoring, this checkin is nice and clean:-)

- Hacked UsualUnaryConversions, UsualArithmeticConversions, and DefaultFunctionArrayConversion
to create the AST node (using a helper function promoteExprToType).
- Added a setType method to Expr.
- Changed Expr::isIntegerConstantExpr to allow for the new node.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39866 91177308-0d34-0410-b5e6-96231b3b80d8
AST/Expr.cpp
Sema/SemaExpr.cpp
include/clang/AST/Expr.h