[cfe-commits] r41613 - in /cfe/trunk: AST/Expr.cpp Sema/Sema.h Sema/SemaExpr.cpp include/clang/AST/Expr.h include/clang/AST/StmtVisitor.h include/clang/Basic/DiagnosticKinds.def

Chris Lattner sabre at nondot.org
Thu Aug 30 15:23:23 PDT 2007


On Fri, 31 Aug 2007, Neil Booth wrote:
>> Author: lattner
>> Date: Thu Aug 30 12:45:32 2007
>> New Revision: 41613
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=41613&view=rev
>> Log:
>> implement initial sema support for __builtin_offsetof
> It looks like clang has GCC's bug of forgetting that -> operator
> in addition to [] operator can be used in offsetof.

It does!  Can you give an example that uses it?

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the cfe-commits mailing list