0e2c34f92f00628d48968dfea096d36381f494cb |
|
23-Mar-2015 |
Stephen Hines <srhines@google.com> |
Update aosp/master clang for rebase to r230699. Change-Id: I6a546ab3d4ae37119eebb735e102cca4f80ab520
/external/clang/test/SemaCXX/cxx0x-defaulted-functions.cpp
|
12fef490dce56bf8abc1bad7fec798eb882aabf7 |
|
27-Mar-2013 |
Richard Smith <richard-llvm@metafoo.co.uk> |
PR15597: Fix a confusion between the implicit exception specification and the uninstantiated exception specification when a special member within a class template is both defaulted and given an exception specification on its first declaration. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178103 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-defaulted-functions.cpp
|
960876cd88a9aba546345dec49a1cf9a4f248356 |
|
24-Feb-2013 |
Benjamin Kramer <benny.kra@googlemail.com> |
Add the testcase from PR13573, this used to crash. The error is a bit strange tbh, but better than crashing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175996 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-defaulted-functions.cpp
|
afb7ce3f877594362381926eaeac8ed6bbe18069 |
|
17-Jan-2013 |
Aaron Ballman <aaron@aaronballman.com> |
Fixes crash when illegal function definitions are deleted or defaulted. Fixes PR14577. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172676 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-defaulted-functions.cpp
|
eef00293897a73cc47f4d42e2653ff47c59d6030 |
|
06-Aug-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
PR13527: don't assert if a function is explicitly defaulted when it's already been defined. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161315 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-defaulted-functions.cpp
|
b9d0b76e42fd2d4cdfd135220302458d03ad09fe |
|
27-Jul-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Final piece of core issue 1330: delay computing the exception specification of a defaulted special member function until the exception specification is needed (using the same criteria used for the delayed instantiation of exception specifications for function temploids). EST_Delayed is now EST_Unevaluated (using 1330's terminology), and, like EST_Uninstantiated, carries a pointer to the FunctionDecl which will be used to resolve the exception specification. This is enabled for all C++ modes: it's a little faster in the case where the exception specification isn't used, allows our C++11-in-C++98 extensions to work, and is still correct for C++98, since in that mode the computation of the exception specification can't fail. The diagnostics here aren't great (in particular, we should include implicit evaluation of exception specifications for defaulted special members in the template instantiation backtraces), but they're not much worse than before. Our approach to the problem of cycles between in-class initializers and the exception specification for a defaulted default constructor is modified a little by this change -- we now reject any odr-use of a defaulted default constructor if that constructor uses an in-class initializer and the use is in an in-class initialzer which is declared lexically earlier. This is a closer approximation to the current draft solution in core issue 1351, but isn't an exact match (but the current draft wording isn't reasonable, so that's to be expected). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@160847 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-defaulted-functions.cpp
|
f4fe843aac730e2202b3c9c6c52649ee186ba788 |
|
08-Jun-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Allow friend declarations of defaulted special member functions. Only definitions of such members are prohibited, not mere declarations. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@158186 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-defaulted-functions.cpp
|
3003e1d6626d07e8fc4af95fad95b3a5d4c4af98 |
|
15-May-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Fold the six functions checking explicitly-defaulted special member functions into one. These were all performing almost identical checks, with different bugs in each of them. This fixes PR12806 (we weren't setting the exception specification for an explicitly-defaulted, non-user-provided default constructor) and enforces 8.4.2/2's rule that an in-class defaulted member must exactly match the implicit parameter type. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156802 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-defaulted-functions.cpp
|
eb273b798760ed960edb0a619092da314e21f4ea |
|
14-Feb-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Fix another issue introduced by the proposed wording for core issue 1358: since the instantiation of a constexpr function temploid is now always constexpr, a defaulted constexpr function temploid is often ill-formed by the rule in [dcl.fct.def.default]p2 that an explicitly-defaulted constexpr function must have a constexpr implicit definition. To avoid making loads of completely reasonable code ill-formed, do not apply that rule to templates. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@150453 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-defaulted-functions.cpp
|
762bb9d0ad20320b9f97a841dce57ba5e8e48b07 |
|
14-Oct-2011 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Update all tests other than Driver/std.cpp to use -std=c++11 rather than -std=c++0x. Patch by Ahmed Charles! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141900 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-defaulted-functions.cpp
|
1f2f384eb7d0ea368819fe9cc4cc20a4b337ebea |
|
17-May-2011 |
Sean Hunt <scshunt@csclub.uwaterloo.ca> |
Implement some tests for defaulted constructors. To do this I had to suppress an error we were previously emitting on valid union code. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131440 91177308-0d34-0410-b5e6-96231b3b80d8
/external/clang/test/SemaCXX/cxx0x-defaulted-functions.cpp
|