[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
andersca at mac.com
Tue Sep 15 08:56:29 PDT 2009
15 sep 2009 kl. 07.55 skrev Douglas Gregor:
> 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
>> 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?
Yes. They do in C++, but I haven't gotten around to making it work in
More information about the cfe-commits