[PATCH] D141177: [Clang] Don't tell people to place _Alignas on a struct in diagnostics

Theodore Luo Wang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 21 09:44:59 PDT 2023


theo-lw updated this revision to Diff 552061.
theo-lw added a comment.
Herald added a subscriber: jdoerfert.

Rebased on the main branch & addressed comments.

Added additional test case for C++ alignas.


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

https://reviews.llvm.org/D141177

Files:
  clang/docs/ReleaseNotes.rst
  clang/include/clang/Basic/AttributeCommonInfo.h
  clang/lib/Sema/SemaDecl.cpp
  clang/test/C/drs/dr4xx.c
  clang/test/Parser/c1x-alignas.c
  clang/test/Parser/cxx0x-attributes.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141177.552061.patch
Type: text/x-patch
Size: 4944 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230821/c7c5cf7e/attachment-0001.bin>


More information about the cfe-commits mailing list