[PATCH] Implement CWG496: Is a volatile-qualified type really a POD?
Agustín Bergé
kaballo86 at hotmail.com
Mon Jan 19 13:04:58 PST 2015
Hi rsmith,
Implement CWG496, volatile qualified types are not trivially copyable, special copy/move member functions are not trivial for classes with volatile qualified non-static data members. Fixes PR21070. Breaks CodeGenCXX/no-opt-volatile-memcpy.cpp, which specifically tests assignment for a struct with a volatile member resulting in memcpy.
http://reviews.llvm.org/D7060
Files:
include/clang/Basic/DiagnosticSemaKinds.td
lib/AST/DeclCXX.cpp
lib/AST/Type.cpp
lib/Sema/SemaDeclCXX.cpp
test/CXX/drs/dr4xx.cpp
test/SemaCXX/type-traits.cpp
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7060.18399.patch
Type: text/x-patch
Size: 6633 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150119/9ba1d414/attachment.bin>
More information about the cfe-commits
mailing list