[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 10:09:39 PDT 2017


Arcoth updated this revision to Diff 97114.
Arcoth added a comment.

Simplified array-to-pointer conversion (simply add the array as unsized; let findCompleteObject and the SubobjectDesignator ctor do the work).


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.97114.patch
Type: text/x-patch
Size: 23293 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170428/e2c64466/attachment-0001.bin>


More information about the cfe-commits mailing list