- Feb 01, 2008
-
-
Ted Kremenek authored
llvm-svn: 46640
-
Anders Carlsson authored
It is allowed to get the address of an array subscript, even if the array has the register qualifier, if the array is really a pointer. llvm-svn: 46634
-
Chris Lattner authored
Fix Sema::ActOnInstanceMessage to correctly do things in terms of canonical types, fixing bogus errors like: NSDistantObject.m:10383:120: error: bad receiver type 'typeof((id<NSMutableCopying>)self)' id mess = ({ id __inv__ = ((void *)0); id __mb__ = _NSMessageBuilder((id <NSMutableCopying>)self, &__inv__); (void)[(__typeof__((id <NSMutableCopying>)self))__mb__ mutableCopyWithZone:((void *)0)]; if (!objc_collecting_enabled()) object_dispose(__mb__); __inv__; }); llvm-svn: 46633
-
Ted Kremenek authored
llvm-svn: 46631
-
Ted Kremenek authored
Implemented '==' and '!=' for ConcreteIntLValue. llvm-svn: 46630
-
- Jan 31, 2008
-
-
Chris Lattner authored
type specifiers. This required updating some (buggy) tests, and the testcase was previously accidentally committed. llvm-svn: 46603
-
Chris Lattner authored
llvm-svn: 46602
-
Chris Lattner authored
rewritten, as in Sema/rewrite-foreach-6.m. Fariborz/Steve, please review this to see if it is sane. llvm-svn: 46600
-
Chris Lattner authored
llvm-svn: 46599
-
- Jan 30, 2008
-
-
Steve Naroff authored
Fix test case and add a FIXME. llvm-svn: 46577
-
Lauro Ramos Venancio authored
llvm-svn: 46576
-
Lauro Ramos Venancio authored
llvm-svn: 46575
-
Eli Friedman authored
that causes this isn't really correct, but if we're going to accept this, it should come up with a consistent AST. llvm-svn: 46557
-
Chris Lattner authored
when in a register. llvm-svn: 46552
-
Chris Lattner authored
llvm-svn: 46551
-
Steve Naroff authored
Many refinements to Sema::MergeVarDecl(). This routine still needs some re-work to fully handle tentative decls. This includes a fix to bz1908. llvm-svn: 46540
-
Devang Patel authored
llvm-svn: 46534
-
- Jan 29, 2008
-
-
Fariborz Jahanian authored
Rewriting of @synchronized. This has one FIXME in it. But this should allow @sychronized to be rewritten. llvm-svn: 46533
-
Steve Naroff authored
Tighten up ASTContext::typesAreCompatible()...it needs to make sure the qualifiers match. The comment and C99 citation for this routine were correct...the code needed to conform to the comment/spec. This fixes the test added below. Tightening up this routine forced tweaks to Sema::CheckSubtractionOperands() and Sema::CheckCompareOperands(). For example, they both need to operate on the unqualified pointee... llvm-svn: 46522
-
Eli Friedman authored
already used. llvm-svn: 46519
-
Anders Carlsson authored
llvm-svn: 46515
-
Chris Lattner authored
message when handling the GNU ", ## __VA_ARGS__" extension. While I'm at it, flag uses of this as extensions. llvm-svn: 46503
-
Anders Carlsson authored
llvm-svn: 46482
-
Anders Carlsson authored
llvm-svn: 46481
-
Anders Carlsson authored
llvm-svn: 46480
-
Steve Naroff authored
Fix bz1950. ASTContext::functionTypesAreCompatible() needs to operate on the unqualified parameter types (per C99 6.7.5.3p15). llvm-svn: 46472
-
- Jan 28, 2008
-
-
Steve Naroff authored
Fix a bug with struct initializers (in Sema::CheckInitializerListTypes()). Test case included from bz1948 (thanks Neil!). Also fixed an 80 column violation... llvm-svn: 46430
-
- Jan 25, 2008
-
-
Chris Lattner authored
in an initializer list. llvm-svn: 46367
-
Chris Lattner authored
handles message sends with typenames to start with. llvm-svn: 46366
-
Fariborz Jahanian authored
llvm-svn: 46358
-
Nate Begeman authored
llvm-svn: 46343
-
Steve Naroff authored
Replace Sema::CheckVariableInitList, CheckConstantInitList, and CheckForCharArrayInitializer with CheckInitializerListTypes. The new routine now supports struct/union initializers. This is a modified version of a patch by Eli Friedman. This version passes all of the clang tests and supports vectors:-) Note that Eli and I are still unsatisfied the implementation of CheckInitializerListTypes(). We'd like to find a more elegant implementation. Nevertheless, this is a complex part of the standard (and may be hard to simplify). Since the complexity is localized to this routine, we can iterate without too much disruption:-) llvm-svn: 46339
-
Chris Lattner authored
llvm-svn: 46336
-
- Jan 23, 2008
-
-
Fariborz Jahanian authored
diagnose, and took even longer to fix. It has to do with rewriting of a message receiver which is an 'ivar' reference. Fix, however, is to remove a code which was not doing the right thing and no longer needed. llvm-svn: 46279
-
Chris Lattner authored
llvm-svn: 46274
-
- Jan 22, 2008
-
-
Fariborz Jahanian authored
llvm-svn: 46260
-
Lauro Ramos Venancio authored
llvm-svn: 46258
-
Lauro Ramos Venancio authored
llvm-svn: 46257
-
Chris Lattner authored
noticing this! llvm-svn: 46256
-
Steve Naroff authored
llvm-svn: 46234
-