[cfe-commits] r81837 - in /cfe/trunk: include/clang/AST/Expr.h include/clang/AST/ExprCXX.h lib/AST/Expr.cpp lib/CodeGen/CGExprScalar.cpp lib/Sema/SemaCXXCast.cpp test/CodeGenCXX/reinterpret-cast.cpp

Douglas Gregor dgregor at apple.com
Tue Sep 15 07:55:06 PDT 2009


On Sep 14, 2009, at 9:48 PM, Anders Carlsson wrote:

> Author: andersca
> Date: Mon Sep 14 23:48:33 2009
> New Revision: 81837
>
> URL: http://llvm.org/viewvc/llvm-project?rev=81837&view=rev
> Log:
> Handle reinterpret_cast between integral types and pointer types.

C-style casts like (void*)an_int and (int)a_ptr should also get  
CK_IntegralToPointer and CK_PointerToIntegral, right?

	- Doug




More information about the cfe-commits mailing list