- Aug 28, 2008
-
-
Ted Kremenek authored
llvm-svn: 55448
-
Ted Kremenek authored
llvm-svn: 55447
-
Ted Kremenek authored
llvm-svn: 55446
-
Ted Kremenek authored
llvm-svn: 55442
-
Ted Kremenek authored
llvm-svn: 55441
-
Ted Kremenek authored
llvm-svn: 55440
-
- 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
llvm-svn: 55408
-
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
-
Nico Weber authored
llvm-svn: 55388
-
Nico Weber authored
llvm-svn: 55386
-
Cedric Venet authored
llvm-svn: 55379
-
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
-
Ted Kremenek authored
llvm-svn: 55337
-
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
-
Daniel Dunbar authored
Add CodeGenFunction::EmitUnsupportedLValue - Gives error and returns undef value. Swap some asserts() over to using EmitUnsupportedLValue - Rumor has it users (and even some developers) prefer carat diagnostics to backtraces. - Works better in Release-Asserts to boot. llvm-svn: 55328
-
Ted Kremenek authored
This partially implements PR 2705: http://llvm.org/bugs/show_bug.cgi?id=2705 llvm-svn: 55327
-
Ted Kremenek authored
llvm-svn: 55326
-
Ted Kremenek authored
scan-build now correctly reports the exit code from the build command. Fixes: <rdar://problem/6172224> llvm-svn: 55324
-
Daniel Dunbar authored
expression. llvm-svn: 55323
-
Ted Kremenek authored
llvm-svn: 55322
-