- Jul 07, 2011
-
-
Cameron Zwarich authored
so roll it out. llvm-svn: 134638
-
Nick Lewycky authored
function. Fixes PR10233! llvm-svn: 134634
-
- Jun 24, 2011
-
-
John McCall authored
not sizes; so that we use well-typed allocas; and so that we properly recurse through the full set of variably-modified types. llvm-svn: 133827
-
- Jun 21, 2011
-
-
Daniel Dunbar authored
llvm-svn: 133530
-
- Jun 20, 2011
-
-
Fariborz Jahanian authored
(or follow up) extern declaration with weak_import as an actual definition. make clang follows this behavior. // rdar://9538608 llvm-gcc treats an extern declaration with weak_import llvm-svn: 133450
-
Chris Lattner authored
ConvertType on InitListExprs as they are being converted. This is needed for a forthcoming patch, and improves the IR generated anyway (see additional type names in testcases). This patch also converts a bunch of std::vector's in CGObjCMac to use C arrays. There are a ton more that should be converted as well. llvm-svn: 133413
-
- Jun 19, 2011
-
-
Chris Lattner authored
llvm-svn: 133365
-
- Jun 16, 2011
-
-
Fariborz Jahanian authored
getLVForNamespaceScopeDecl(). // rdar://9609649 llvm-svn: 133182
-
Fariborz Jahanian authored
declaration of global var is __private_extern__. // rdar://9609649 llvm-svn: 133157
-
John McCall authored
Language-design credit goes to a lot of people, but I particularly want to single out Blaine Garst and Patrick Beard for their contributions. Compiler implementation credit goes to Argyrios, Doug, Fariborz, and myself, in no particular order. llvm-svn: 133103
-
- Jun 10, 2011
-
-
Eli Friedman authored
PR10120: Make CodeGenModule::getVTableLinkage use NamedDecl::getLinkage to determine whether the vtable should be externally visible, instead of a rough approximation of it which messes up with templates. While I'm here, zap the other user of isInAnonymousNamespace outside of Decl.cpp. llvm-svn: 132861
-
- Jun 05, 2011
-
-
Douglas Gregor authored
with a type-dependent expression, infer the placeholder type 'Context.DependentTy' to indicate that this is just a placeholder. Fixes PR9982 / <rdar://problem/9486685>. llvm-svn: 132657
-
- May 28, 2011
-
-
Eli Friedman authored
Match llvm-gcc's string literals alignment by forcing alignment on string literals to 1. This can significantly impact the size of the string data, and as far as I know, the alignment doesn't help performance. rdar://9078969 . llvm-svn: 132223
-
- May 25, 2011
-
-
Rafael Espindola authored
llvm-svn: 132034
-
- May 18, 2011
-
-
Fariborz Jahanian authored
llvm-svn: 131499
-
Fariborz Jahanian authored
user specified string class via -fconstant-string-class option. pr9914. llvm-svn: 131496
-
- May 15, 2011
-
-
John McCall authored
types. Also, cache a translation of 'void' in CGM and provide a ptrdiff_t alias. No functionality change. llvm-svn: 131373
-
- May 14, 2011
-
-
Joerg Sonnenberger authored
llvm-svn: 131321
-
- May 13, 2011
-
-
Joerg Sonnenberger authored
mangled to avoid doing it twice for platforms that use prefixes like Darwin. llvm-svn: 131311
-
Fariborz Jahanian authored
-fno-constant-cfstrings. Patch by Jonathan Schleifer. llvm-svn: 131298
-
Douglas Gregor authored
constant, also consider whether it's a class type that has any mutable fields. If so, it can't be a global constant. llvm-svn: 131276
-
- May 08, 2011
-
-
Douglas Gregor authored
type, so long as it is known to have a constant initializer and the class type is a POD class. Fixes <rdar://problem/9306265>. llvm-svn: 131060
-
- May 06, 2011
-
-
Alexis Hunt authored
- New isDefined() function checks for deletedness - isThisDeclarationADefinition checks for deletedness - New doesThisDeclarationHaveABody() does what isThisDeclarationADefinition() used to do - The IsDeleted bit is not propagated across redeclarations - isDeleted() now checks the canoncial declaration - New isDeletedAsWritten() does what it says on the tin. - isUserProvided() now correct (thanks Richard!) This fixes the bug that we weren't catching void foo() = delete; void foo() {} as being a redefinition. llvm-svn: 131013
-
Eli Friedman authored
Add an implementation of thunks for varargs methods. The implementation is a bit messy, but it is correct as long as the method in question doesn't use indirect gotos. A couple of possible alternative implementations are outlined in FIXME's in this patch. rdar://problem/8077308 . llvm-svn: 130993
-
- May 05, 2011
-
-
Richard Smith authored
llvm-svn: 130953
-
Nick Lewycky authored
foo.pic.gcno instead of foo.gcno. llvm-svn: 130899
-
- May 04, 2011
-
-
Nick Lewycky authored
llvm-svn: 130866
-
- Apr 23, 2011
-
-
Francois Pichet authored
Add -fdelayed-template-parsing option. Using this option all templated function definitions are parsed at the end of the translation unit only if it is required by an actual instantiation. As such all the symbols of the TU are available during name lookup. Using this flag is necessary for compatibility with Microsoft template code. This also provides some parsing speed improvement. llvm-svn: 130022
-
- Apr 22, 2011
-
-
Nick Lewycky authored
compile time) and .gcda emission (at runtime). --coverage enables both. This does not yet add the profile_rt library to the link step if -fprofile-arcs is enabled when linking. llvm-svn: 129956
-
- Apr 21, 2011
-
-
Jay Foad authored
llvm-svn: 129929
-
- Apr 19, 2011
-
-
Daniel Dunbar authored
llvm-svn: 129823
-
- Apr 13, 2011
-
-
Daniel Dunbar authored
there is no reason to align them higher. - This roughly matches llvm-gcc's r126913. - It is an open question whether or not we should do this for cstring's in general (code size vs optimization potential), for now we just match llvm-gcc until someone wants to run some experiments. llvm-svn: 129410
-
- Apr 12, 2011
-
-
John McCall authored
weak linkage. Also, fix a problem where global weak variables with non-trivial initializers were getting guard variables, or at least were checking for them and then crashing. llvm-svn: 129342
-
John McCall authored
llvm-svn: 129337
-
John McCall authored
for __unknown_anytype resolution to destructively modify the AST. So that's what it does now, which significantly simplifies some of the implementation. Normal member calls work pretty cleanly now, and I added support for propagating unknown-ness through &. llvm-svn: 129331
-
- Apr 09, 2011
-
-
Chris Lattner authored
llvm-svn: 129202
-
- Apr 07, 2011
-
-
John McCall authored
The idea is that you can create a VarDecl with an unknown type, or a FunctionDecl with an unknown return type, and it will still be valid to access that object as long as you explicitly cast it at every use. I'm still going back and forth about how I want to test this effectively, but I wanted to go ahead and provide a skeletal implementation for the LLDB folks' benefit and because it also improves some diagnostic goodness for placeholder expressions. llvm-svn: 129065
-
- Apr 06, 2011
-
-
Peter Collingbourne authored
llvm-svn: 129000
-
- Mar 26, 2011
-
-
Douglas Gregor authored
platform implies default visibility. To achieve these, refactor our lookup of explicit visibility so that we search for both an explicit VisibilityAttr and an appropriate AvailabilityAttr, favoring the VisibilityAttr if it is present. llvm-svn: 128336
-
- Mar 23, 2011
-
-
Devang Patel authored
Radar 9168773 llvm-svn: 128150
-