summaryrefslogtreecommitdiffstats
path: root/clang/Sema/SemaExprObjC.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make a major restructuring of the clang tree: introduce a top-levelChris Lattner2008-03-151-297/+0
| | | | | | | | | | lib dir and move all the libraries into it. This follows the main llvm tree, and allows the libraries to be built in parallel. The top level now enforces that all the libs are built before Driver, but we don't care what order the libs are built in. This speeds up parallel builds, particularly incremental ones. llvm-svn: 48402
* convert tabs to spaces, patch by Mike Stump!Chris Lattner2008-02-251-4/+4
| | | | llvm-svn: 47560
* make some diagnostics more terse, update testcases.Chris Lattner2008-02-011-9/+8
| | | | | | | | | | 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
* Sema::ActOnInstanceMessage is generally doing bad things with typedefs, butChris Lattner2008-02-011-8/+9
| | | | | | | | here I fix just one. The loop that rips through pointers should use getAsPointerType() not static_cast<PointerType*> to get the pointee. This fixes a crash on a large testcase. llvm-svn: 46632
* Diagnose bad receiver type.Fariborz Jahanian2008-01-251-2/+4
| | | | llvm-svn: 46358
* Substituted all instances of the string "Objc" for "ObjC". This fixesTed Kremenek2008-01-071-29/+29
| | | | | | | some naming inconsistencies in the names of classes pertaining to Objective-C support in clang. llvm-svn: 45715
* Minor refactoring of foreach's semantics code per Chris's suggetion.Fariborz Jahanian2008-01-041-1/+1
| | | | llvm-svn: 45604
* move objc expr sema to its own file.Chris Lattner2008-01-041-0/+295
llvm-svn: 45597
OpenPOWER on IntegriCloud