]> granicus.if.org Git - clang/commit
C++1y: an assignment operator is implicitly 'constexpr' if it would only call 'conste...
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 7 May 2013 03:19:20 +0000 (03:19 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 7 May 2013 03:19:20 +0000 (03:19 +0000)
commita8942d7686dde6d221a176c502ce857bdc409dab
tree4e9fa5c6b51f4278370535448b2d7bfa57e46504
parent3139d664ceb0a352cd253b52dbf82c602e8de00d
C++1y: an assignment operator is implicitly 'constexpr' if it would only call 'constexpr' assignment operators for a literal class type.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181284 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/AST/ExprConstant.cpp
lib/Sema/SemaDeclCXX.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p3.cpp
test/SemaCXX/constant-expression-cxx1y.cpp