[all-commits] [llvm/llvm-project] b0697a: Create diagnostic group for definition deprecation...
Nuri Amari via All-commits
all-commits at lists.llvm.org
Sun Jul 16 09:36:47 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b0697a1cb0b539c773548f62402816e2d9b6f107
https://github.com/llvm/llvm-project/commit/b0697a1cb0b539c773548f62402816e2d9b6f107
Author: Nuri Amari <nuri.amari99 at gmail.com>
Date: 2023-07-16 (Sun, 16 Jul 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
A clang/test/SemaCXX/redundant-out-of-line-static-constexpr-member-def-diag.cpp
Log Message:
-----------
Create diagnostic group for definition deprecation warning
In https://reviews.llvm.org/D126664, a warning is introduced
warning against the deprecated out of line definition of a
static constexpr member in C++17 and later. Prior to this patch,
the only diagnostic group controlling this diagnostic was -Wdeprecated,
which controls many many diagnostics. This patch creates
a diagnostic group specifically for this warning so it can
be controlled in isolation, while also being included with -Wdeprecated.
Differential Revision: https://reviews.llvm.org/D153881
More information about the All-commits
mailing list