[PATCH] D32372: Arrays of unknown bound in constant expressions

Robert Haberlach via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 25 10:21:53 PDT 2017


Arcoth updated this revision to Diff 96594.
Arcoth marked 6 inline comments as done.
Arcoth added a comment.

Adjusted.

Implemented the changes suggested by Richard. The array-to-pointer decay 
is now well-formed; the check was instead moved to the pointer 
arithmetic facility.


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.96594.patch
Type: text/x-patch
Size: 13052 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170425/899823a7/attachment.bin>


More information about the cfe-commits mailing list