[cfe-commits] r148013 - in /cfe/trunk: include/clang/AST/DeclObjC.h include/clang/AST/ExprObjC.h include/clang/Sema/Sema.h lib/AST/Expr.cpp lib/Rewrite/RewriteObjC.cpp lib/Sema/SemaExprObjC.cpp lib/Sema/SemaPseudoObject.cpp lib/Serialization/ASTReaderStmt.cpp lib/Serialization/ASTWriterStmt.cpp tools/libclang/IndexBody.cpp

Argyrios Kyrtzidis kyrtzidis at apple.com
Thu Jan 12 10:08:32 PST 2012


On Jan 12, 2012, at 8:32 AM, Fariborz Jahanian wrote:

> 
> On Jan 11, 2012, at 6:34 PM, Argyrios Kyrtzidis wrote:
> 
>> Author: akirtzidis
>> Date: Wed Jan 11 20:34:39 2012
>> New Revision: 148013
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=148013&view=rev
>> Log:
>> Add IsImplicit field in ObjCMessageExpr that is true when the message
>> was constructed, e.g. for a property access.
> 
> Ok. Prefer to use IsSynthesized as the name in objective-c nomenclature.
> But, be my guest and ignore.

I leaned toward following Decl's isImplicit().

IsSynthesized, at least for ObjCMethodDecl, is a bit more complicated; a method could be implicit (not-user written, e.g. implicit getter/setter of property) but not synthesized (user wrote the method definition).

-Argyrios

> 
> - Fariborz
> 
> 




More information about the cfe-commits mailing list