[PATCH] D90871: [Sema] Fold VLAs to constant arrays in a few more contexts

Erik Pilkington via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 16 07:22:08 PST 2020


erik.pilkington updated this revision to Diff 305506.
erik.pilkington added a comment.

Use a bit on Declarator instead of an ad-hoc bool parameter.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D90871/new/

https://reviews.llvm.org/D90871

Files:
  clang/include/clang/Sema/DeclSpec.h
  clang/lib/Parse/ParseDecl.cpp
  clang/lib/Sema/SemaDecl.cpp
  clang/test/Sema/decl-in-prototype.c
  clang/test/Sema/vla.c
  clang/test/SemaObjC/variable-size-ivar.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90871.305506.patch
Type: text/x-patch
Size: 10270 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201116/4109928a/attachment-0001.bin>


More information about the cfe-commits mailing list