- Jul 22, 2011
-
-
Fariborz Jahanian authored
objective-c: Any use of @synthesize or @dynamic lexically after a method (or C function) implementation will be rejected with a compilation error in ARC mode, and a compiler warning otherwise. This may cause breakage in non-arc (and arc) tests which don't expect warning/error. Feel free to fix the tests, or reverse the patch, if I am unavailable. // rdar://9818354 - WIP llvm-svn: 135740
-
Douglas Gregor authored
type IDs into a single place, and make sure that all of the callers use the appropriate functions to do the mapping. Since the mapping is still the identity function, this is essentially a no-op. llvm-svn: 135733
-
Rafael Espindola authored
when using ccache and libtool.m4 assumes that the compiler cannot print warnings about options it knows about. llvm-svn: 135723
-
Douglas Gregor authored
within the ASTReader (I hope). llvm-svn: 135720
-
Douglas Gregor authored
such that every declaration ID loaded from an AST file will go through a central local -> global mapping function. At present, this change does nothing, since the local -> global mapping function is the identity function. This is the mechanical part of the refactoring; a follow-up patch will address a few remaining areas where it's not obvious whether we're dealing with local or global IDs. llvm-svn: 135711
-
- Jul 21, 2011
-
-
Jonathan D. Turner authored
Cleaning up more of the ID situation in the AST reader. This patch relaxes and generalizes how CXX base specifiers are identified and loaded by using a ContinuousRangeMap. This also adds a global bit offset (or base) to the PerFileData. llvm-svn: 135705
-
Douglas Gregor authored
llvm-svn: 135701
-
Douglas Gregor authored
entries incrementally, rather than iterating over the chain when loading a single AST file. llvm-svn: 135692
-
Argyrios Kyrtzidis authored
Should avoid race conditions. Addresses rdar://9788943. llvm-svn: 135691
-
Argyrios Kyrtzidis authored
Cut down one open/close pair of system calls by using Path's makeUnique instead of createTemporaryFileOnDisk. llvm-svn: 135690
-
Fariborz Jahanian authored
// rdar://9615045 llvm-svn: 135685
-
Fariborz Jahanian authored
a warning flag. // rdar://9615045 llvm-svn: 135681
-
Bruno Cardoso Lopes authored
llvm-svn: 135675
-
Jay Foad authored
ConstantExpr::getInBoundsGetElementPtr to use ArrayRef. llvm-svn: 135673
-
Eric Christopher authored
llvm-svn: 135668
-
Ted Kremenek authored
llvm-svn: 135667
-
Ted Kremenek authored
llvm-svn: 135666
-
Richard Trieu authored
Remove warning for conditional operands of differend signedness from -Wsign-compare. Cases that previously warn on this will have a different warning emitted from -Wsign-conversion. llvm-svn: 135664
-
Douglas Gregor authored
Connor Wakamo! llvm-svn: 135651
-
Alexis Hunt authored
access specifier as public. llvm-svn: 135649
-
Douglas Gregor authored
entities generated directly by the preprocessor from those loaded from the external source (e.g., the ASTReader). By separating these two sets of entities into different vectors, we allow both to grow independently, and eliminate the need for preallocating all of the loaded preprocessing entities. This is similar to the way the recent SourceManager refactoring treats FileIDs and the source location address space. As part of this, switch over to building a continuous range map to track preprocessing entities. llvm-svn: 135646
-
Anna Zaks authored
Addressing code review comments for commit 135509 - Add FixItHints in case a C++ function call is missing * or & operators on llvm-svn: 135643
-
Fariborz Jahanian authored
// pr10411 llvm-svn: 135638
-
- Jul 20, 2011
-
-
Jonathan D. Turner authored
Continuing to improve and generalize how IDs are handled in ASTReader. This patch cleans up and generalizes TypeID loading and uses a similar table-lookup to Doug's previous Decl patch. llvm-svn: 135622
-
Chad Rosier authored
llvm-svn: 135621
-
Chad Rosier authored
including the fully preprocessed source file(s) and command line arguments. The developer is asked to attach this diagnostic information to a bug report. llvm-svn: 135614
-
Ted Kremenek authored
llvm-svn: 135610
-
Chad Rosier authored
x86_64-pc-win32-macho is used in conjunction with -no-integrated-as go ahead and use the Darwin system assembler. rdar://9785470 llvm-svn: 135604
-
Fariborz Jahanian authored
fails because of lifetime differences of parameter and argument type. // rdar://9790531 llvm-svn: 135593
-
Benjamin Kramer authored
llvm-svn: 135585
-
Chris Lattner authored
llvm-svn: 135577
-
Chris Lattner authored
some common llvm types: stringref and smallvector. This cleans up the codebase quite a bit. llvm-svn: 135576
-
Chris Lattner authored
clang namespace. There are a number of LLVM types that are used pervasively and it doesn't make sense to keep qualifying them. Start with casting operators. llvm-svn: 135574
-
rdar://9780211Chris Lattner authored
This is something of a hack, the problem is as follows: 1. we instantiate both copied of RetainPtr with the two different argument types (an id and protocol-qualified id). 2. We refer to the ctor of one of the instantiations when introducing global "x", this causes us to emit an llvm::Function for a prototype whose "this" has type "RetainPtr<id<bork> >*". 3. We refer to the ctor of the other instantiation when introducing global "y", however, because it *mangles to the same name as the other ctor* we just use a bitcasted version of the llvm::Function we previously emitted. 4. We emit deferred declarations, causing us to emit the body of the ctor, however the body we emit is for RetainPtr<id>, which expects its 'this' to have an IR type of "RetainPtr<id>*". Because of the mangling collision, we don't have this case, and explode. This is really some sort of weird AST invariant violation or something, but hey a bitcast makes the pain go away. llvm-svn: 135572
-
Chris Lattner authored
It doesn't matter in practice, but it is good to be tidy. llvm-svn: 135571
-
Chris Lattner authored
and ConvertTypeForMem are the same for pointers, it is best to just use ConvertType. Thanks Eli! llvm-svn: 135567
-
Chris Lattner authored
decaying an array of incomplete type (which has type [0 x i8]*) to a normal pointer (which has incompletetype*). llvm-svn: 135565
-
Douglas Gregor authored
the AST reader down to the AST file + local ID, rather than walking the PCH chain. More cleanup/generalization, although there is more work to do for preprocessed entities. In particular, the "preallocation" scheme for preprocessed entities is not going to work well with late loading of PCH files, and it's likely we'll have to do something akin to the SourceManager's negative/positive loading. llvm-svn: 135556
-
Douglas Gregor authored
reader down to the AST file + local ID, rather than walking the PCH chain. No functionality change; this is generalization and cleanup. llvm-svn: 135554
-
Joerg Sonnenberger authored
arguments. llvm-svn: 135552
-