| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
change.
llvm-svn: 69954
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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: 69945
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
object references as tracked objects.
llvm-svn: 69915
|
| |
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
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
|
| |
|
|
|
|
|
| |
- This shouldn't change anything, we never actually access it, but
this is consistent with llvm-gcc (and 32-bit)
llvm-svn: 69880
|
| |
|
|
| |
llvm-svn: 69875
|
| |
|
|
| |
llvm-svn: 69873
|
| |
|
|
|
|
|
|
|
| |
the type assigned by sema (and is visible with sizeof(__func__) for
example) has nothing to do with what codegen ends up producing.
We should eventually add a method on PredefinedExpr to handle this.
In the meantime, just set up some framework and add some fixme's.
llvm-svn: 69872
|
| |
|
|
|
|
| |
on armv* to be more compatible
llvm-svn: 69864
|
| |
|
|
| |
llvm-svn: 69860
|
| |
|
|
| |
llvm-svn: 69859
|
| |
|
|
| |
llvm-svn: 69858
|
| |
|
|
|
|
|
| |
DeclContext rather than in a separate list. This makes PCH
(de-)serialization trivial, so that ivars can be loaded lazily.
llvm-svn: 69857
|
| |
|
|
| |
llvm-svn: 69856
|
| |
|
|
| |
llvm-svn: 69855
|
| |
|
|
|
|
| |
constructor. I think CXXTemporaryObjectExpr is going to become a subclass of CXXConstructExpr, since CXXTemporaryObjectExpr represents a syntactic temporary, for example T()
llvm-svn: 69854
|
| |
|
|
|
|
|
|
|
| |
- Notably, there was a memory error here, SkipIvars does not have to
be the same size as IvarsInfo.
- Fariborz, please check.
llvm-svn: 69850
|
| |
|
|
|
|
|
|
|
|
|
| |
methods, class methods, and property implementations) and instead
place all of these entities into the DeclContext.
This eliminates more linear walks when looking for class or instance
methods and should make PCH (de-)serialization of ObjCDecls trivial
(and lazy).
llvm-svn: 69849
|
| |
|
|
| |
llvm-svn: 69843
|
| |
|
|
| |
llvm-svn: 69838
|
| |
|
|
| |
llvm-svn: 69835
|
| |
|
|
|
|
|
| |
indicate whether or not the range represents an absolute range or should be
extended by lexing to the end of the token.
llvm-svn: 69834
|
| |
|
|
| |
llvm-svn: 69833
|
| |
|
|
|
|
| |
to happen (ever), but at least we'll do the right thing when it does.
llvm-svn: 69829
|
| |
|
|
|
|
|
| |
headers. Future approaches to (de-)serializing ASTs will be based on
the PCH infrastructure.
llvm-svn: 69828
|
| |
|
|
|
|
| |
aren't actually things to fix
llvm-svn: 69827
|