[PATCH] D141583: [clang-tidy][doc] Deprecate the AnalyzeTemporaryDtors option
Carlos Galvez via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 12 23:30:00 PST 2023
This revision was automatically updated to reflect the committed changes.
Closed by commit rG0f5eb3190cfc: [clang-tidy][doc] Deprecate the AnalyzeTemporaryDtors option (authored by carlosgalvezp).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141583/new/
https://reviews.llvm.org/D141583
Files:
clang-tools-extra/clang-tidy/ClangTidyOptions.cpp
clang-tools-extra/docs/ReleaseNotes.rst
Index: clang-tools-extra/docs/ReleaseNotes.rst
===================================================================
--- clang-tools-extra/docs/ReleaseNotes.rst
+++ clang-tools-extra/docs/ReleaseNotes.rst
@@ -102,6 +102,10 @@
- Fix a minor bug in `add_new_check.py` to only traverse subdirectories
when updating the list of checks in the documentation.
+- Deprecate the global configuration file option `AnalyzeTemporaryDtors`,
+ which is no longer in use. The option will be fully removed in
+ :program:`clang-tidy` version 18.
+
New checks
^^^^^^^^^^
Index: clang-tools-extra/clang-tidy/ClangTidyOptions.cpp
===================================================================
--- clang-tools-extra/clang-tidy/ClangTidyOptions.cpp
+++ clang-tools-extra/clang-tidy/ClangTidyOptions.cpp
@@ -124,7 +124,7 @@
IO.mapOptional("Checks", Options.Checks);
IO.mapOptional("WarningsAsErrors", Options.WarningsAsErrors);
IO.mapOptional("HeaderFilterRegex", Options.HeaderFilterRegex);
- IO.mapOptional("AnalyzeTemporaryDtors", Ignored); // legacy compatibility
+ IO.mapOptional("AnalyzeTemporaryDtors", Ignored); // deprecated
IO.mapOptional("FormatStyle", Options.FormatStyle);
IO.mapOptional("User", Options.User);
IO.mapOptional("CheckOptions", Options.CheckOptions);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141583.488874.patch
Type: text/x-patch
Size: 1306 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230113/2ae3b3d9/attachment.bin>
More information about the cfe-commits
mailing list