[PATCH] D32372: Arrays of unknown bound in constant expressions
Robert Haberlach via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 28 09:00:55 PDT 2017
Arcoth updated this revision to Diff 97105.
Arcoth added a comment.
Updated `SubobjectDesignator` to hold `MostDerivedIsAnUnsizedArray` instead of `FirstEntryIsAnUnsizedArray`. Consequently, we cannot know whether the first element is an unsized array; please see line 7352 in particular, where the check for `isMostDerivedAnUnsizedArray`had to be removed (is this fine? All regression tests pass.)
https://reviews.llvm.org/D32372
Files:
include/clang/Basic/DiagnosticASTKinds.td
lib/AST/ExprConstant.cpp
test/SemaCXX/constexpr-array-unknown-bound.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32372.97105.patch
Type: text/x-patch
Size: 23555 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170428/6f11f77b/attachment-0001.bin>
More information about the cfe-commits
mailing list