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
Showing
- include/clang/Basic/DiagnosticSemaKinds.td 2 additions, 2 deletionsinclude/clang/Basic/DiagnosticSemaKinds.td
- lib/Sema/SemaDecl.cpp 8 additions, 3 deletionslib/Sema/SemaDecl.cpp
- test/ARCMT/cxx-checking.mm 1 addition, 1 deletiontest/ARCMT/cxx-checking.mm
- test/SemaCXX/flexible-array-test.cpp 19 additions, 2 deletionstest/SemaCXX/flexible-array-test.cpp
Loading
Please register or sign in to comment