[PATCH] D121723: [clang] CWG 2354: prohibit alignas for enums
Vlad Serebrennikov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 15 11:56:01 PDT 2022
Endill added inline comments.
================
Comment at: clang/lib/Sema/SemaDeclAttr.cpp:4291
// declared with the register storage class specifier. An
// alignment-specifier may also be applied to the declaration of a class
// or enumeration type.
----------------
erichkeane wrote:
> Can you add a comment up near here updating this?
Like this? I can also quote the same paragraph from C++20, where this DR is already applied.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121723/new/
https://reviews.llvm.org/D121723
More information about the cfe-commits
mailing list