- Apr 17, 2012
-
-
Fariborz Jahanian authored
block literal is imported. // rdar://11259664 llvm-svn: 154876
-
Argyrios Kyrtzidis authored
that later ones do not override the previous ones. If we have: @class Foo, Bar; source ranges for both start at '@', so 'Bar' will end up overriding 'Foo' even though the cursor location was at 'Foo'. rdar://11257578 llvm-svn: 154873
-
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
-
Anna Zaks authored
llvm-svn: 154865
-
Anna Zaks authored
llvm-svn: 154864
-
Fariborz Jahanian authored
type for rewriter project will be BoolTy. // rdar://11231426. llvm-svn: 154861
-
Argyrios Kyrtzidis authored
rdar://11249386 llvm-svn: 154853
-
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
-
David Blaikie authored
llvm-svn: 154837
-
Duncan Sands authored
up to this yet. llvm-svn: 154835
-
Sirish Pande authored
llvm-svn: 154828
-
Rafael Espindola authored
llvm-svn: 154827
-
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
Add note to hacking.html that running the test harness directly from the command-line requires making sure the relevant files are generated first. Patch by Matt Fowles, with some minor modifications. llvm-svn: 154795
-
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
llvm-svn: 154785
-
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
-
Sylvestre Ledru authored
llvm-svn: 154779
-
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
-
David Blaikie authored
Passing -verify to clang without -cc1 or -Xclang silently passes (with a printed warning, but lit doesn't care about that). This change adds -cc1 or, as is necessary in one case, -Xclang to fix this so that these tests are actually verifying as intended. I'd like to change the driver so this kind of mistake could not be made, but I'm not entirely sure how. Further, since the driver only warns about unknown flags in general, we could have similar bugs with a misspellings of arguments that would be nice to find. llvm-svn: 154776
-
- Apr 15, 2012
-
-
David Blaikie authored
llvm-svn: 154774
-
Gregory Szorc authored
llvm-svn: 154769
-
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
-
Seth Cantrell authored
llvm-svn: 154757
-
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
-
Anna Zaks authored
A patch by Sean McBride. llvm-svn: 154751
-