- Apr 17, 2012
-
-
Fariborz Jahanian authored
block literal is imported. // rdar://11259664 llvm-svn: 154876
-
Fariborz Jahanian authored
cast to/from block pointer types. // rdar://11202764 Also, many more modern translator tests. llvm-svn: 154869
-
- Apr 16, 2012
-
-
radar://11235991Anna Zaks authored
Along with it, fix a couple of other corner cases and add more tests. llvm-svn: 154866
-
Fariborz Jahanian authored
type for rewriter project will be BoolTy. // rdar://11231426. llvm-svn: 154861
-
Duncan Sands authored
llvm-svn: 154851
-
Eli Friedman authored
Per Richard's comments on r154794, add the checks necessary to handle constant-folding relational comparisons safely in case the user is using -fwrapv or equivalent. llvm-svn: 154849
-
Rafael Espindola authored
llvm-svn: 154846
-
Douglas Gregor authored
exception specifications on member functions until after the closing '}' for the containing class. This allows, for example, a member function to throw an instance of its own class. Fixes PR12564 and a fairly embarassing oversight in our C++98/03 support. llvm-svn: 154844
-
Rafael Espindola authored
ConsiderGlobalVisibility. No functionality change. llvm-svn: 154843
-
Duncan Sands authored
up to this yet. llvm-svn: 154835
-
Sirish Pande authored
llvm-svn: 154828
-
Duncan Sands authored
llvm-svn: 154824
-
Rafael Espindola authored
llvm-svn: 154814
-
Douglas Gregor authored
in the declaration of a non-static member function after the (optional) cv-qualifier-seq, which in practice means in the exception specification and late-specified return type. The new scheme here used to manage 'this' outside of a member function scope is more general than the Scope-based mechanism previously used for non-static data member initializers and late-parsesd attributes, because it can also handle the cv-qualifiers on the member function. Note, however, that a separate pass is required for static member functions to determine whether 'this' was used, because we might not know that we have a static function until after declaration matching. Finally, this introduces name mangling for 'this' and for the implicit 'this', which is intended to match GCC's mangling. Independent verification for the new mangling test case would be appreciated. Fixes PR10036 and PR12450. llvm-svn: 154799
-
Eli Friedman authored
Make constant evaluation for pointer comparisons work correctly for some uncommon cases. <rdar://problem/10962435>. llvm-svn: 154794
-
Sebastian Pop authored
llvm-svn: 154792
-
Francois Pichet authored
The result of the Microsoft __uuidof operator must be considered a global lvalue during constant expression evaluation. Otherwise we would get this error in C++11 mode (because of a recent change): error: non-type template argument of type 'const _GUID *' is not a constant expression For code like: template <const GUID* g = &__uuidof(struct_with_uuid)> class COM_CLASS { }; llvm-svn: 154790
-
Eli Friedman authored
llvm-svn: 154789
-
Nick Lewycky authored
includes a patch from Matthias Kleine with a regression testcase! Adds a new iterator 'data_iterator' to OnDiskHashTable which doesn't try to reconstruct the external_key from the internal_key, which is useful for traits that don't store enough information to do that mapping in their key. Also deletes the 'item_iterator' from OnDiskHashTable as dead code. llvm-svn: 154784
-
Craig Topper authored
Change _mm256_permute4x64_epi64 and _mm256_permute4x64_pd to use builtin_shufflevector instead of specific builtins. Old builtins will be removed from llvm now that vpermq/vpermpd are supported by shuffle lowering code. llvm-svn: 154777
-
- Apr 15, 2012
-
-
David Blaikie authored
llvm-svn: 154774
-
Duncan Sands authored
llvm-svn: 154767
-
Benjamin Kramer authored
It would be nice to use OwningPtr here, but DeclContextInfo is stored in a DenseMap. llvm-svn: 154763
-
Benjamin Kramer authored
llvm-svn: 154762
-
Benjamin Kramer authored
llvm-svn: 154760
-
Richard Smith authored
initialize an array of unsigned char. Outside C++11 mode, this bug was benign, and just resulted in us emitting a constant which was double the required length, padded with 0s. In C++11, it resulted in us generating an array whose first element was something like i8 ptrtoint ([n x i8]* @str to i8). llvm-svn: 154756
-
- Apr 14, 2012
-
-
Fariborz Jahanian authored
definition for protocols static. // rdar://11248048 llvm-svn: 154753
-
Rafael Espindola authored
I am working on a cleaner fix, but this gets the case in PR12552 passing. llvm-svn: 154749
-
Benjamin Kramer authored
llvm-svn: 154748
-
Benjamin Kramer authored
llvm-svn: 154747
-
Benjamin Kramer authored
llvm-svn: 154746
-
Duncan Sands authored
thinking of generalizing it to be able to specify other freedoms beyond accuracy (such as that NaN's don't have to be respected). I'd like the 3.1 release (the first one with this metadata) to have the more generic name already rather than having to auto-upgrade it in 3.2. llvm-svn: 154745
-
Benjamin Kramer authored
Instead, make it the allocation function's responsibility to add them to a list and clear it when a top-level decl is finished. This plugs leakage of TemplateAnnotationIds. DelayedCleanupPool is ugly and unused, remove it. llvm-svn: 154743
-
Benjamin Kramer authored
llvm-svn: 154739
-
Benjamin Kramer authored
llvm-svn: 154736
-
Richard Smith authored
attached. Since we do not support any attributes which appertain to a statement (yet), testing of this is necessarily quite minimal. Patch by Alexander Kornienko! llvm-svn: 154723
-
Benjamin Kramer authored
This manual deleting is error-prone, but we can't just put an OwningPtr in a std::map :( llvm-svn: 154707
-
- Apr 13, 2012
-
-
John McCall authored
jump into these scopes, and the cleanup-entering code sometimes wants to do some operations first (e.g. a GEP), which can leave us with unparented IR. llvm-svn: 154684
-
Fariborz Jahanian authored
__typeof which is a regression by reverting r154360. // rdar://11233924 llvm-svn: 154679
-
Benjamin Kramer authored
llvm-svn: 154678
-