- Oct 15, 2007
-
-
Steve Naroff authored
Teach the type checker about "id". This removes the following bogus warning... [dylan:~/llvm/tools/clang] admin% ../../Debug/bin/clang t.m t.m:29:18: warning: incompatible pointer types assigning 'id' to 'NSString *' resultString = [[NSString alloc] initWithFormat:0 arguments:0]; ~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ llvm-svn: 42975
-
Anders Carlsson authored
llvm-svn: 42974
-
Anders Carlsson authored
llvm-svn: 42973
-
Steve Naroff authored
- Teach ObjcInterfaceDecl::lookupInstance/ClassMethod to look through protocols. - Start looking up methods in the global method pools (for "id"). - Start integrating interface types into the type system. llvm-svn: 42971
-
- Oct 14, 2007
-
-
Steve Naroff authored
Add category lookup (removing a couple FIXME's). Changed ObjcInterfaceDecl::ListCategories->CategoryList. llvm-svn: 42968
-
Steve Naroff authored
Fix -ast-dump for ObjC. llvm-svn: 42967
-
Steve Naroff authored
- Added Sema::AddFactoryMethodToGlobalPool and Sema::AddInstanceMethodToGlobalPool and DenseMaps. This will allow us to efficiently lookup a method from a selector given no type information (for the "id" data type). - Fixed some funky "} else {" indentation in Sema::ActOnAddMethodsToObjcDecl(). I'd prefer we stay away from this style...it wastes space and isn't any easier to read (from my perspective, at least:-) - Changed Parser::ParseObjCInterfaceDeclList() to only call Action::ActOnAddMethodsToObjcDecl() when it actually has methods to add (since most interface have methods, this is a very minor cleanup). llvm-svn: 42957
-
- Oct 13, 2007
-
-
Anders Carlsson authored
llvm-svn: 42951
-
Chris Lattner authored
$ clang rewrite.c -rewrite-test prints: int foo() { b: foo(); f: foo(); foo(); } for: int foo() { b: foo(); f: foo(); foo(); } amazing. llvm-svn: 42944
-
Anders Carlsson authored
llvm-svn: 42943
-
Chris Lattner authored
llvm-svn: 42942
-
Chris Lattner authored
insert stuff. llvm-svn: 42941
-
Chris Lattner authored
some incredibly subtle details that I'm working on getting right. llvm-svn: 42940
-
Anders Carlsson authored
llvm-svn: 42939
-
Fariborz Jahanian authored
llvm-svn: 42938
-
Chris Lattner authored
llvm-svn: 42937
-
Fariborz Jahanian authored
llvm-svn: 42936
-
- Oct 12, 2007
-
-
Ted Kremenek authored
printf format strings. Added type checking to see if the matching width/precision argument was of type 'int'. Thanks to Anders Carlsson for reporting this missing feature. llvm-svn: 42933
-
Chris Lattner authored
llvm-svn: 42931
-
Fariborz Jahanian authored
llvm-svn: 42928
-
Fariborz Jahanian authored
ok class names and streamlined this logic to do the lookup once. llvm-svn: 42926
-
Steve Naroff authored
Replace one FIXME with another. We handle protocols just fine now. The ObjC decl will only be 0 when we have an error on the ObjC decl. I would prefer we pass in a decl that is marked as invalid. I don't think this is critical to fix now, however I'd like us to be consistent. There are currently many places that don't mark the decl as invalid (which need to be fixed)... llvm-svn: 42923
-
Anders Carlsson authored
llvm-svn: 42917
-
Fariborz Jahanian authored
and hid them. llvm-svn: 42915
-
Steve Naroff authored
Temporary fix to test case. This area is currently under construction...test case will be changing again soon. llvm-svn: 42914
-
Chris Lattner authored
llvm-svn: 42887
-
Ted Kremenek authored
specifiers. llvm-svn: 42886
-
Fariborz Jahanian authored
llvm-svn: 42883
-
- Oct 11, 2007
-
-
Chris Lattner authored
with x's for now. The APIs are all unimplemented, so it doesn't do anything yet! :) llvm-svn: 42868
-
Fariborz Jahanian authored
an identifier statement. Fixed up pretty priting to print this type correctly. llvm-svn: 42866
-
Chris Lattner authored
llvm-svn: 42863
-
Chris Lattner authored
llvm-svn: 42862
-
Chris Lattner authored
llvm-svn: 42858
-
Anders Carlsson authored
Add __builtin_va_start to the list of builtins, make __builtin_va_list available to builtin functions. llvm-svn: 42857
-
Fariborz Jahanian authored
llvm-svn: 42856
-
Chris Lattner authored
llvm-svn: 42855
-
Chris Lattner authored
llvm-svn: 42854
-
Chris Lattner authored
llvm-svn: 42853
-
Chris Lattner authored
rename -parse-ast-dump to -ast-dump remove -parse-ast, which is redundant with -fsyntax-only llvm-svn: 42852
-
Chris Lattner authored
llvm-svn: 42849
-