| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
|
|
| |
- Fix summary lookup for class methods to now use the (optional)
ObjCInterfaceDecl associated with a message expression. This removes a
long-standing FIXME.
- Partial fix for <rdar://problem/6062730> by stop tracking objects that
are passed to [NSObject performSelector]. These methods are often used
for delegates, which the analyzer doesn't reason about well yet.
llvm-svn: 69982
|
| |
|
|
| |
llvm-svn: 69981
|
| |
|
|
|
|
| |
application of sizeof on an interface.
llvm-svn: 69980
|
| |
|
|
| |
llvm-svn: 69979
|
| |
|
|
| |
llvm-svn: 69975
|
| |
|
|
| |
llvm-svn: 69970
|
| |
|
|
| |
llvm-svn: 69969
|
| |
|
|
| |
llvm-svn: 69964
|
| |
|
|
| |
llvm-svn: 69963
|
| |
|
|
| |
llvm-svn: 69961
|
| |
|
|
| |
llvm-svn: 69960
|
| |
|
|
| |
llvm-svn: 69959
|
| |
|
|
|
|
| |
unused for now, so no functionality change yet. Also, create CXXTempVarDecls to pass to the CXXTemporaryObjectExpr ctor.
llvm-svn: 69957
|
| |
|
|
|
|
| |
InitializeVarWithConstructor.
llvm-svn: 69956
|
| |
|
|
|
|
| |
considered NamedDecls
llvm-svn: 69955
|
| |
|
|
|
|
| |
change.
llvm-svn: 69954
|
| |
|
|
|
|
| |
temporary object expr can inherit from the construct expr. No functionality change.
llvm-svn: 69953
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Otherwise, we will end up with stray .dSYM files which don't get
lipo'ed or removed.
- Ideally we would run dsymutil on the result, but we don't have the
infrastructure for that yet. Note that gcc doesn't handle this case
either.
- <rdar://problem/6809621> [driver] clang leaves .dSYM files lying
around in tmp.
llvm-svn: 69951
|
| |
|
|
|
|
|
| |
updates name lookup so that we see through @compatibility_alias
declarations to their underlying interfaces.
llvm-svn: 69950
|
| |
|
|
| |
llvm-svn: 69949
|
| |
|
|
| |
llvm-svn: 69947
|
| |
|
|
| |
llvm-svn: 69945
|
| |
|
|
| |
llvm-svn: 69944
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 69942
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 69940
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
- <rdar://problem/6517382> [driver] call ld directly
llvm-svn: 69938
|
| |
|
|
|
|
| |
functionality change.
llvm-svn: 69936
|
| |
|
|
| |
llvm-svn: 69933
|
| |
|
|
|
|
|
|
| |
SEL, Class, Protocol, CFConstantString, and
__objcFastEnumerationState. With this, we can now run the Objective-C
methods and properties PCH tests.
llvm-svn: 69932
|
| |
|
|
| |
llvm-svn: 69929
|
| |
|
|
|
|
| |
declaration (and avoid issuing bogus error later on).
llvm-svn: 69928
|
| |
|
|
|
|
| |
This was preventing the checker from tracking return objects referenced by 'id'.
llvm-svn: 69922
|
| |
|
|
| |
llvm-svn: 69917
|
| |
|
|
|
|
| |
object references as tracked objects.
llvm-svn: 69915
|
| |
|
|
| |
llvm-svn: 69914
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
multiple declarations of the function. Should fix PR3989 and
<rdar://problem/6818429>.
llvm-svn: 69905
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
target addresses.
llvm-svn: 69900
|
| |
|
|
| |
llvm-svn: 69899
|
| |
|
|
|
|
| |
when popping location contexts.
llvm-svn: 69898
|
| |
|
|
|
|
| |
by accepting and ignoring it for now.
llvm-svn: 69897
|
| |
|
|
| |
llvm-svn: 69896
|
| |
|
|
|
|
| |
pieces for location contexts.
llvm-svn: 69895
|
| |
|
|
| |
llvm-svn: 69894
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
| |
Note: This support is non-lazy. Once we get "Cocoa.h" humming, we can optimize this.
llvm-svn: 69884
|