]> granicus.if.org Git - clang/commit
Fix "regression" caused by updating our notion of POD to better match the C++11
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 11 Jan 2014 00:53:35 +0000 (00:53 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sat, 11 Jan 2014 00:53:35 +0000 (00:53 +0000)
commit740314b86568cfaedf95425002bcfaf86dbdd3f8
tree5f8d17071ee70159b513085817f05eef3ca762ea
parentd51b71c7b3abd27d82f3f97e09eb1eb1630f7f45
Fix "regression" caused by updating our notion of POD to better match the C++11
rules: instead of requiring flexible array members to be POD, require them to
be trivially-destructible. This seems to be the only constraint that actually
matters here (and even then, it's questionable whether this matters).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@198983 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDecl.cpp
test/ARCMT/cxx-checking.mm
test/SemaCXX/flexible-array-test.cpp