[cfe-commits] r58264 - in /cfe/trunk: Driver/RewriteObjC.cpp include/clang/AST/Expr.h include/clang/AST/ExprCXX.h include/clang/AST/StmtNodes.def include/clang/Parse/Action.h lib/AST/Expr.cpp lib/AST/ExprCXX.cpp lib/AST/StmtDumper.cpp lib/AST/Stm

Chris Lattner clattner at apple.com
Mon Oct 27 22:04:49 PDT 2008


On Oct 27, 2008, at 5:19 PM, Doug Gregor wrote:

> On Mon, Oct 27, 2008 at 4:43 PM, Chris Lattner <clattner at apple.com>  
> wrote:
>>
>> On Oct 27, 2008, at 12:41 PM, Douglas Gregor wrote:
>>
>>> Author: dgregor
>>> Date: Mon Oct 27 14:41:14 2008
>>> New Revision: 58264
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=58264&view=rev
>>> Log:
>>> Refactor the expression class hierarchy for casts. Most importantly:
>>> - CastExpr is the root of all casts
>>> - ImplicitCastExpr is (still) used for all explicit casts
>>> - ExplicitCastExpr is now the root of all *explicit* casts
>>
>>>
>>> - ExplicitCCastExpr (new name needed!?) is a C-style cast in C or C 
>>> ++
>>
>> How about "ParenCastExpr" or CParenCastExpr or CStyleCastExpr or
>> SimpleCastExpr ?
>
> CStyleCastExpr is my favorite of those. I'll do that.

Ok, thanks Doug!

-Chris



More information about the cfe-commits mailing list