- Aug 31, 2008
-
-
Ted Kremenek authored
"This minor patch adds markup of string literals with a red colour." llvm-svn: 55589
-
Anders Carlsson authored
llvm-svn: 55583
-
Anders Carlsson authored
llvm-svn: 55580
-
- Aug 30, 2008
-
-
Anders Carlsson authored
Add CodeGenFunction::EmitMemSetToZero and make AggExprEmitter::EmitAggregateClear use it. llvm-svn: 55573
-
Anders Carlsson authored
llvm-svn: 55572
-
Anders Carlsson authored
llvm-svn: 55567
-
Daniel Dunbar authored
- Change Obj-C runtime message API, drop the ObjCMessageExpr arg in favor of just result type and selector. Necessary so it can be reused in situations where we don't want to cons up an ObjCMessageExpr. - Update aggregate binary assignment to know about special property ref lvalues. - Add CodeGenFunction::EmitCallArg overload which takes an already emitted rvalue. Add CodeGenFunction::StoreComplexIntoAddr. Disabled logic in Sema for parsing Objective-C dot-syntax that accesses methods. This code does not search in the correct order and the AST node has no way of properly representing its results. Updated StmtDumper to print a bit more information about ObjCPropertyRefExprs. llvm-svn: 55561
-
Daniel Dunbar authored
- Added CodeGenFunction::EmitCall which just takes the callee, return type, and a list of (Value*,QualType) pairs. - Added CodeGenFunction::EmitCallArg which handles emitting code for a call argument and turning it into an appropriate (Value*,QualType) pair. - Changed Objective-C runtime interface so that the actual emission of arguments for message sends is (once again) done in the code to emit a message send. No intended functionality change, this is prep work for better ABI support and for Objective-C property setter support. llvm-svn: 55560
-
Daniel Dunbar authored
llvm-svn: 55559
-
- Aug 29, 2008
-
-
Daniel Dunbar authored
- Notably VLAs llvm-svn: 55544
-
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
-