]> granicus.if.org Git - clang/commit
Don't check for triviality on fields of templated records. We can't know the
authorNick Lewycky <nicholas@mxc.ca>
Tue, 25 Jun 2013 23:22:23 +0000 (23:22 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Tue, 25 Jun 2013 23:22:23 +0000 (23:22 +0000)
commitdccd04d8611b9d25fd17444f20566773e657a7e6
tree17af870bff675816c80a0921adc8a8881902e604
parentf6a144f5991c6b29622a31fdab86adede0648d12
Don't check for triviality on fields of templated records. We can't know the
answer until after instantiation. Fixes PR16061!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184890 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/SemaCXX/cxx0x-nontrivial-union.cpp