- Aug 29, 2008
-
-
Nico Weber authored
llvm-svn: 55538
-
Zhongxing Xu authored
llvm-svn: 55537
-
Zhongxing Xu authored
llvm-svn: 55536
-
Daniel Dunbar authored
Objective-C property references. - This handles property references "more correctly" but setters still don't work. llvm-svn: 55534
-
Ted Kremenek authored
llvm-svn: 55526
-
Ted Kremenek authored
Migrated CFRefCount.cpp to use getBindings and BindingsAsString instead of making assumptions about the Store (removed dependence on GRState::vb_iterator). llvm-svn: 55522
-
Ted Kremenek authored
llvm-svn: 55519
-
Ted Kremenek authored
Remove Regions.h and Regions.cpp, since we are now using an even more abstract representation of "memory regions" in the static analyzer. llvm-svn: 55515
-
Ted Kremenek authored
Their precise semantics will be implemented by a specific StoreManager. Use function pointer to create the StoreManager in GRStateManager. This matches how we create ConstraintsManager. llvm-svn: 55514
-
- Aug 28, 2008
-
-
Steve Naroff authored
Parser support for blocks is almost complete...just need to add support for the __block() storage class qualifier. llvm-svn: 55495
-
Ted Kremenek authored
llvm-svn: 55494
-
Daniel Dunbar authored
with correct width. - PR2728. Also, fix PR2727 test case. llvm-svn: 55493
-
Ted Kremenek authored
llvm-svn: 55487
-
Daniel Dunbar authored
- PR2727. Also, fix warning in CodeGenTypes for new BlockPointer type. llvm-svn: 55479
-
Steve Naroff authored
llvm-svn: 55468
-
Daniel Dunbar authored
- Added ASTContext::getObjCEncodingForPropertyDecl. llvm-svn: 55461
-
Ted Kremenek authored
llvm-svn: 55448
-
- Aug 27, 2008
-
-
Steve Naroff authored
This commit adds the declaration syntax (and associated type). llvm-svn: 55417
-
Zhongxing Xu authored
llvm-svn: 55412
-
Daniel Dunbar authored
llvm-svn: 55410
-
Daniel Dunbar authored
- It is not clear that this is the right approach, but this is at least consistent with how interfaces are handled. - This means NeXT now emits the correct metadata for properties in protocols. - This currently introduces a spurious warning involving inherited properties in protocols or categories; however, it also fixes some situations where we were failing to emit a warning. I will scrub this code tomorrow and fix this issue as well as number of other missed warnings / error situations that appear to exist. llvm-svn: 55407
-
Daniel Dunbar authored
llvm-svn: 55406
-
Daniel Dunbar authored
Also, fix category protocol list metadata. llvm-svn: 55405
-
Daniel Dunbar authored
ObjC{Category,Protocol}Decl. - No functionality change. llvm-svn: 55404
-
Ted Kremenek authored
llvm-svn: 55403
-
Ted Kremenek authored
llvm-svn: 55402
-
Daniel Dunbar authored
- Was emitting duplicates of class properties instead of the category properties. llvm-svn: 55395
-
Ted Kremenek authored
llvm-svn: 55392
-
- Aug 26, 2008
-
-
Daniel Dunbar authored
Also, fix method lookup to not use LLVM module symbol table. llvm-svn: 55390
-
Daniel Dunbar authored
- Only supports simple assignment and atomic semantics are ignored. - Not quite usable yet because the methods do not actually get added to the class metadata. - Added ObjCPropertyDecl::getSetterKind (one of Assign, Copy, Retain). - Rearrange CodeGenFunction so synthesis can reuse function prolog / epilog code. llvm-svn: 55365
-
Daniel Dunbar authored
Respect isReadOnly when generating synthesized method decls. llvm-svn: 55364
-
Daniel Dunbar authored
No (intended) functionality change. llvm-svn: 55362
-
Daniel Dunbar authored
Move implicit Obj-C param creation into ObjCMethodDecl. - Add ObjCMethodDecl::createImplicitParams. - Remove ObjCMethodDecl::set{Self,Cmd}Decl - Remove Sema::CreateImplicitParameter No (intended) functionality change. llvm-svn: 55357
-
Daniel Dunbar authored
- Add ObjCMethodDecl::createImplicitParams. - Remove ObjCMethodDecl::set{Self,Cmd}Decl - Remove Sema::CreateImplicitParameter No (intended) functionality change. llvm-svn: 55356
-
Daniel Dunbar authored
- Change enum name to Kind. - Change enum constants to English strings. Also, fix getPropertyImplementation (which probably should be renamed) llvm-svn: 55354
-
Daniel Dunbar authored
llvm-svn: 55353
-
Daniel Dunbar authored
- Also, fix Parser to construct proper SetterName selector (should be lifted out of parser though). llvm-svn: 55352
-
Daniel Dunbar authored
of RHSs to id type instead of void* if either has Objective-C object type. - This ensures the result can still be used in normal places an object can be used, like a message send. Add implicit conversions for ?: applied to qualified id types to ensure that the RHSs are compatible. - This prevents a codegen crash (creating invalid PHI nodes). - Again, this relates to the fact that qualified id types have no canonical types. - Note that the implicit type casted to is incorrect, however this doesn't currently cause problems because of the flexibility of the id type. Test cases for above. llvm-svn: 55346
-
- Aug 25, 2008
-
-
Eli Friedman authored
correctly. Not a regression, but made more obvious by my recent fix which made function type compatibility checking a bit more strict. llvm-svn: 55339
-
Eli Friedman authored
casting pointers to integers. Eventually, we should check whether we can evaluate an expression using Expr::tryEvaluate, and this codepath should be tightened to only handle standard-compliant cases. llvm-svn: 55331
-