- Apr 24, 2009
-
-
Daniel Dunbar authored
llvm-svn: 69944
-
rdar://6821047Chris Lattner authored
Several changes here: 1. We change Type::isIncompleteType to realize that forward declared interfaces are incomplete. This eliminate special case code for this from the sizeof path, and starts us rejecting P[4] when P is a pointer to an incomplete interface. 2. Explicitly reject P[4] when P points to an interface in non-fragile ABI mode. 3. Switch the sizeof(interface) diagnostic back to an error instead of a warning in non-fragile abi mode. llvm-svn: 69943
-
Douglas Gregor authored
llvm-svn: 69942
-
Douglas Gregor authored
Eliminate Sema::ObjCImplementations, relying instead on name lookup. What's good for uniformity is good for PCH (or is it the other way around?). As part of this, make ObjCImplDecl inherit from NamedDecl (since ObjCImplementationDecls now need to have names so that they can be found). This brings ObjCImplDecl very, very close to ObjCContainerDecl; we may be able to merge them soon. llvm-svn: 69941
-
Ted Kremenek authored
llvm-svn: 69940
-
Douglas Gregor authored
their own namespace (IDNS_Protocol) and use the normal name-lookup routines to find them. Aside from the simplification this provides (one less DenseMap!), it means that protocols will be lazily deserialized from PCH files. Make the code size of the selector table block match the code size of the type and decl blocks. llvm-svn: 69939
-
Daniel Dunbar authored
- <rdar://problem/6517382> [driver] call ld directly llvm-svn: 69938
-
Dan Gohman authored
utility function. llvm-svn: 69937
-
Ted Kremenek authored
functionality change. llvm-svn: 69936
-
Dan Gohman authored
but this change makes the code more general and easier to adapt for new purposes. llvm-svn: 69935
-
Dan Gohman authored
llvm-svn: 69934
-
Douglas Gregor authored
llvm-svn: 69933
-
Douglas Gregor authored
SEL, Class, Protocol, CFConstantString, and __objcFastEnumerationState. With this, we can now run the Objective-C methods and properties PCH tests. llvm-svn: 69932
-
Ted Kremenek authored
llvm-svn: 69929
-
- Apr 23, 2009
-
-
Fariborz Jahanian authored
declaration (and avoid issuing bogus error later on). llvm-svn: 69928
-
David Greene authored
Fix a documentation bug. llvm-svn: 69923
-
Ted Kremenek authored
This was preventing the checker from tracking return objects referenced by 'id'. llvm-svn: 69922
-
David Greene authored
Make BinOps typed and require a type specifier for !nameconcat. This allows binops to be used in typed contexts such as when passing arguments to classes. llvm-svn: 69921
-
Evan Cheng authored
llvm-svn: 69919
-
Evan Cheng authored
llvm-svn: 69918
-
Ted Kremenek authored
llvm-svn: 69917
-
Ted Kremenek authored
object references as tracked objects. llvm-svn: 69915
-
Chris Lattner authored
llvm-svn: 69914
-
Dan Gohman authored
work as intended no matter what the default setting of that option is. llvm-svn: 69911
-
rdar://problem/6815234Ted Kremenek authored
extend the number of objects tracked by the retain/release checker by assuming that all class and instance methods should follow Cocoa object "getter" and "alloc/new" conventions. llvm-svn: 69908
-
Douglas Gregor authored
multiple declarations of the function. Should fix PR3989 and <rdar://problem/6818429>. llvm-svn: 69905
-
Devang Patel authored
Handle corner case where clang-cc is invoked directly to compile preprocessed source file without -main-file-name. In this case, CDDebugInfo is not able identify correct main source file becase SM.isFromMainFile() returns true for locations from header files as well as locations from main source file. This patch takes conservative approach by not emitting more then one compile unit with isMain bit set. llvm-svn: 69902
-
Dale Johannesen authored
llvm-svn: 69901
-
Ted Kremenek authored
target addresses. llvm-svn: 69900
-
Steve Naroff authored
llvm-svn: 69899
-
Ted Kremenek authored
when popping location contexts. llvm-svn: 69898
-
-
Fariborz Jahanian authored
llvm-svn: 69896
-
Ted Kremenek authored
pieces for location contexts. llvm-svn: 69895
-
Steve Naroff authored
llvm-svn: 69894
-
Dan Gohman authored
llvm-svn: 69893
-
Dan Gohman authored
with the persistent insertion point, and change IndVars to make use of it. This fixes a bug where IndVars was holding on to a stale insertion point and forcing the SCEVExpander to continue to use it. This fixes PR4038. llvm-svn: 69892
-
Steve Naroff authored
This enables class recognition to work with PCH. I believe this means we can remove Sema::ObjCInterfaceDecls and it's usage within Sema::LookupName(). Will investigate. llvm-svn: 69891
-
Steve Naroff authored
Note: This support is non-lazy. Once we get "Cocoa.h" humming, we can optimize this. llvm-svn: 69884
-
Sanjiv Gupta authored
Banksel immediate constant will always immediately follow the GA/ES, so scan an insn from beginnin to find out the banksel operand. llvm-svn: 69883
-