| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 332800
|
|
|
|
|
|
| |
C++ language standard is not C++98.
llvm-svn: 280309
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove pre-standard restriction on explicitly-defaulted copy constructors with
'incorrect' parameter types, and instead just make those special members
non-trivial as the standard requires.
This required making CXXRecordDecl correctly handle classes which have both a
trivial and a non-trivial special member of the same kind.
This also fixes PR13217 by reimplementing DiagnoseNontrivial in terms of the
new triviality computation technology.
llvm-svn: 169667
|
|
|
|
|
|
|
|
| |
properly, rather than faking it up by pretending that a reference member makes
the default constructor non-trivial. That leads to rejects-valids when putting
such types inside unions.
llvm-svn: 169662
|
|
|
|
| |
llvm-svn: 160964
|
|
|
|
|
|
| |
non-trivial.
llvm-svn: 151486
|
|
|
|
|
|
| |
restriction and add some tests.
llvm-svn: 150721
|
|
|
|
| |
llvm-svn: 129335
|
|
|
|
| |
llvm-svn: 118381
|
|
|
|
|
|
| |
Fixes PR6643. Patch by Mike M!
llvm-svn: 98946
|
|
|
|
|
|
|
|
|
|
| |
therefore not creating ElaboratedTypes, which are still pretty-printed
with the written tag).
Most of these testcase changes were done by script, so don't feel too
sorry for my fingers.
llvm-svn: 98149
|
|
|
|
|
|
|
|
|
| |
- This is designed to make it obvious that %clang_cc1 is a "test variable"
which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it
can be useful to redefine what gets run as 'clang -cc1' (for example, to set
a default target).
llvm-svn: 91446
|
|
|
|
|
|
| |
Fixes PR4674.
llvm-svn: 85072
|
|
|
|
| |
llvm-svn: 76772
|
|
[class.union]p1", from John McCall!
llvm-svn: 76766
|