diff options
author | Douglas Gregor <dgregor@apple.com> | 2012-02-24 21:25:53 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2012-02-24 21:25:53 +0000 |
commit | 232ee49c7b705dce2bfe5cc3a8691916b8a1c51a (patch) | |
tree | 1900cadab5ee2133c791163e5df055c8d5df528b /lldb/source/Target/Process.cpp | |
parent | 2120e2bd732b0e0612e97cf253480807d76174ed (diff) | |
download | bcm5719-llvm-232ee49c7b705dce2bfe5cc3a8691916b8a1c51a.tar.gz bcm5719-llvm-232ee49c7b705dce2bfe5cc3a8691916b8a1c51a.zip |
C++11 [class.ctor]p5 says that
A defaulted default constructor for a class X is defined as deleted if [...]
- X is a union and all of its variant members are of const-qualified type.
A pedantic reading therefore says that
union X { };
has a deleted default constructor, which is both silly and almost
certainly unintended. Pretend as if this this read
- X is a union with one or more variant members, and all of its
variant members are of const-qualified type.
llvm-svn: 151394
Diffstat (limited to 'lldb/source/Target/Process.cpp')
0 files changed, 0 insertions, 0 deletions