- Nov 03, 2007
-
-
Chris Lattner authored
ASTConsumer to process the AST before it is destroyed. This allows elimination of HandleObjcMetaDataEmission. llvm-svn: 43659
-
- Nov 02, 2007
-
-
Fariborz Jahanian authored
llvm-svn: 43640
-
Fariborz Jahanian authored
llvm-svn: 43629
-
Fariborz Jahanian authored
llvm-svn: 43628
-
- Nov 01, 2007
-
-
Fariborz Jahanian authored
method types. llvm-svn: 43617
-
Devang Patel authored
llvm-svn: 43613
-
Fariborz Jahanian authored
2) Fixed a test failure (which should have failed all along!). llvm-svn: 43589
-
- Oct 31, 2007
-
-
Fariborz Jahanian authored
A new test case added. llvm-svn: 43568
-
Steve Naroff authored
Implement a more sensible strategy for ObjC built-in types (addressing a long standing FIXME in Sema::GetObjcIdType()). This removes several gross hacks to work around the previous "lazy" behavior. Two notes: - MinimalActions still needs to be taught about the built-in types (This breaks one of the -noop test cases). I started this, then added a FIXME. - I didn't convert Sema::GetObjcProtoType() yet. llvm-svn: 43567
-
Fariborz Jahanian authored
llvm-svn: 43556
-
Anders Carlsson authored
llvm-svn: 43540
-
Fariborz Jahanian authored
Added new type and bitfield fields in some decl types in preparation for objective-c's type qualifiers. Added initialization of Class/SEMA types. llvm-svn: 43534
-
Steve Naroff authored
Stop pre-defining objc_msgSend/objc_getClass in the preprocessor. Instead, I generate these declaration on the fly when rewriting a message expression. llvm-svn: 43529
-
- Oct 30, 2007
-
-
Ted Kremenek authored
llvm-svn: 43517
-
Chris Lattner authored
llvm-svn: 43515
-
Fariborz Jahanian authored
llvm-svn: 43507
-
Fariborz Jahanian authored
llvm-svn: 43504
-
Steve Naroff authored
- Add location info to category/protocol AST's - Rewrite categories. llvm-svn: 43501
-
Steve Naroff authored
Remove a couple FIXME's for rewriting ObjC interfaces (which are now being rewritten properly). llvm-svn: 43494
-
Steve Naroff authored
More support for rewriting ObjC intefaces. Still some edge cases to handle... llvm-svn: 43493
-
- Oct 29, 2007
-
-
Steve Naroff authored
This commit contains lot's of small tweaks to how we pass around and store SourceLocation's for interfaces/protocols/categories/implementations. llvm-svn: 43475
-
Ted Kremenek authored
Moved a dependent predicate in an if statement to be an assertion within the if statement body. llvm-svn: 43453
-
Ted Kremenek authored
"x == x" and "x != x". We emit a warning for these since they always evaluate to a constant value and often indicate a logical error. Added test case for this check. llvm-svn: 43450
-
Ted Kremenek authored
(x) == x is the treated the same as x == x. llvm-svn: 43448
-
Ted Kremenek authored
errors for cases such as "x == x". Added test case to test this feature. llvm-svn: 43447
-
Chris Lattner authored
llvm-svn: 43441
-
Chris Lattner authored
one bogus error on PR1750. llvm-svn: 43436
-
Chris Lattner authored
resolving a crash on a .i file in PR1750. We now generate 49 errors on the .i file in that bug. llvm-svn: 43433
-
- Oct 26, 2007
-
-
Steve Naroff authored
Start rewriting ObjC interfaces. As a start, we comment out all the methods. This involved refining how the parser/AST passes/manages SourceLocations for ObjcMethodDecl's. llvm-svn: 43404
-
Fariborz Jahanian authored
decl without an @interface decl. llvm-svn: 43403
-
Fariborz Jahanian authored
Thanks to Steve N. to point out using of offsetof for this. llvm-svn: 43391
-
- Oct 19, 2007
-
-
Chris Lattner authored
llvm-svn: 43188
-
Steve Naroff authored
Fix the previous (short lived:-) FIXME. I didn't realize that GCC considers this a hard error (I thought it was built-in). Since it's not, we should simply emit an error. [dylan:~/llvm/tools/clang] admin% cc -c trivial.m trivial.m:6: error: cannot find interface declaration for 'NSConstantString' [administrators-powerbook59:~/llvm/tools/clang] admin% ../../Debug/bin/clang trivial.m trivial.m:6:16: error: cannot find interface declaration for 'NSConstantString' NSString *s = @"123"; ^ 1 diagnostic generated. llvm-svn: 43157
-
Fariborz Jahanian authored
llvm-svn: 43155
-
Steve Naroff authored
Add a FIXME to an assert. Change a dyn_cast_or_null back to cast (which is more efficient). llvm-svn: 43152
-
Fariborz Jahanian authored
llvm-svn: 43151
-
- Oct 18, 2007
-
-
Steve Naroff authored
Tweak a recent fix to UsualArithmeticConversions (made by Chris - r43113). The benefit of this tweak is it guarantees the entire routine operates on unqualified types (which I believe is a bit clearer). llvm-svn: 43142
-
Steve Naroff authored
Fix a bug in Sema::CheckConditionalOperands(). When mixing pointers and null pointer constants, we need to promote the null pointer constant (which is an integer) to the pointer type. Test case is self explanatory. This surfaced yesterday, when compiling test/Sema/cocoa.m on Leopard. Since this has nothing to do with ObjC, it's kind of bizarre this hasn't shown up before. I imagine Cocoa.h on Leopard may have changed recently? Thanks to Ted for localizing the bug and giving me a useful AST dump... llvm-svn: 43114
-
Chris Lattner authored
when comparing "float" and "const float". This "fixes" the issue, but may not be the right fix. Steve, please review. Testcase here: test/Sema/usual-float.c llvm-svn: 43113
-
Steve Naroff authored
Fix the following bug... unsigned char asso_values[] = { 34 }; int legal2() { return asso_values[0]; } The code that creates the new constant array type was operating on the original type. As a result, the constant type being generated was "unsigned char [1][]" (which is wrong). The fix is to operate on the element type - in this case, the correct type is "unsigned char [1]" I added this case to array-init.c, which clearly didn't catch this bogosity... llvm-svn: 43112
-