[all-commits] [llvm/llvm-project] be3a8b: [clang] Add C++26 diagnostics to compatibility dia...
Vlad Serebrennikov via All-commits
all-commits at lists.llvm.org
Sat Jul 6 04:52:41 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: be3a8b8d94608746b22cb0cf3fc03af33b7d8648
https://github.com/llvm/llvm-project/commit/be3a8b8d94608746b22cb0cf3fc03af33b7d8648
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-07-06 (Sat, 06 Jul 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticGroups.td
Log Message:
-----------
[clang] Add C++26 diagnostics to compatibility diagnosic groups (#97806)
This patch adds `CXXPre26Compat` and `CXXPre26CompatPedantic` groups
(which are concerned with new features not available in older language
modes) to `CXX98Compat`, etc. This way, if user has `-Wc++20-compat` and
they use pack indexing, they will be warned.
Ideally this should have been done when C++26 groups were created, but
we shipped two releases of Clang since then.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list