diff options
author | Shoaib Meenai <smeenai@fb.com> | 2023-10-03 13:04:22 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-03 13:04:22 -0700 |
commit | c6fed74f6f2e0c208ea0324fa1668b2cba5277a9 (patch) | |
tree | 834d74fc6101ccfdcd3d314d0767c665e411c084 /clang/lib/Basic/SourceManager.cpp | |
parent | 1129dec778ae9873d5d4270eeb15d25d530d7c5f (diff) | |
download | llvm-c6fed74f6f2e0c208ea0324fa1668b2cba5277a9.zip llvm-c6fed74f6f2e0c208ea0324fa1668b2cba5277a9.tar.gz llvm-c6fed74f6f2e0c208ea0324fa1668b2cba5277a9.tar.bz2 |
[diag] Silence `-Wfixed-enum-extension` in C23 (#68060)
The C23 standard supports enums with fixed underlying types (N3030 [1]),
so we shouldn't emit `-Wfixed-enum-extension` in C23 mode (since it's no
longer a Clang extension at that point).
[1]
https://thephd.dev/_vendor/future_cxx/papers/C%20-%20Enhanced%20Enumerations.html
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions