[clang] [C23] Accept an _Atomic underlying type (PR #147802)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 10 09:05:56 PDT 2025
================
@@ -9364,6 +9364,14 @@ def warn_atomic_implicit_seq_cst : Warning<
InGroup<DiagGroup<"atomic-implicit-seq-cst">>, DefaultIgnore;
def err_atomic_unsupported : Error<
"atomic types are not supported in '%0'">;
+def warn_cv_stripped_in_enum : Warning<
+ "%select{'const' and 'volatile' qualifiers|'const' qualifier|'volatile' "
----------------
erichkeane wrote:
Seems like a perfect time for an `enum_select` :)
https://github.com/llvm/llvm-project/pull/147802
More information about the cfe-commits
mailing list