diff --git a/clang-tools-extra/clang-tidy/performance/NoexceptDestructorCheck.cpp b/clang-tools-extra/clang-tidy/performance/NoexceptDestructorCheck.cpp index 9f28b8ef30876b..4aa999ea5c0b7c 100644 --- a/clang-tools-extra/clang-tidy/performance/NoexceptDestructorCheck.cpp +++ b/clang-tools-extra/clang-tidy/performance/NoexceptDestructorCheck.cpp @@ -11,6 +11,9 @@ using namespace clang::ast_matchers; +// FixItHint - comment added to fix list.rst generation in add_new_check.py. +// Do not remove. Fixes are generated in base class. + namespace clang::tidy::performance { void NoexceptDestructorCheck::registerMatchers(MatchFinder *Finder) { diff --git a/clang-tools-extra/clang-tidy/performance/NoexceptMoveConstructorCheck.cpp b/clang-tools-extra/clang-tidy/performance/NoexceptMoveConstructorCheck.cpp index 83b33d53ab5536..a77ca6aebb378e 100644 --- a/clang-tools-extra/clang-tidy/performance/NoexceptMoveConstructorCheck.cpp +++ b/clang-tools-extra/clang-tidy/performance/NoexceptMoveConstructorCheck.cpp @@ -11,6 +11,9 @@ using namespace clang::ast_matchers; +// FixItHint - comment added to fix list.rst generation in add_new_check.py. +// Do not remove. Fixes are generated in base class. + namespace clang::tidy::performance { void NoexceptMoveConstructorCheck::registerMatchers(MatchFinder *Finder) { diff --git a/clang-tools-extra/clang-tidy/performance/NoexceptSwapCheck.cpp b/clang-tools-extra/clang-tidy/performance/NoexceptSwapCheck.cpp index 67c598e0134ccf..65baebd808f6cf 100644 --- a/clang-tools-extra/clang-tidy/performance/NoexceptSwapCheck.cpp +++ b/clang-tools-extra/clang-tidy/performance/NoexceptSwapCheck.cpp @@ -11,6 +11,9 @@ using namespace clang::ast_matchers; +// FixItHint - comment added to fix list.rst generation in add_new_check.py. +// Do not remove. Fixes are generated in base class. + namespace clang::tidy::performance { void NoexceptSwapCheck::registerMatchers(MatchFinder *Finder) { diff --git a/clang-tools-extra/docs/clang-tidy/checks/list.rst b/clang-tools-extra/docs/clang-tidy/checks/list.rst index d7284a3c4a145b..e13b6750196f40 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/list.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/list.rst @@ -92,7 +92,6 @@ Clang-Tidy Checks `bugprone-forwarding-reference-overload `_, `bugprone-implicit-widening-of-multiplication-result `_, "Yes" `bugprone-inaccurate-erase `_, "Yes" - `bugprone-switch-missing-default-case `_, `bugprone-incorrect-roundings `_, `bugprone-infinite-loop `_, `bugprone-integer-division `_, @@ -132,6 +131,7 @@ Clang-Tidy Checks `bugprone-suspicious-semicolon `_, "Yes" `bugprone-suspicious-string-compare `_, "Yes" `bugprone-swapped-arguments `_, "Yes" + `bugprone-switch-missing-default-case `_, `bugprone-terminating-continue `_, "Yes" `bugprone-throw-keyword-missing `_, `bugprone-too-small-loop-variable `_, @@ -490,7 +490,7 @@ Clang-Tidy Checks `cppcoreguidelines-noexcept-move-operations `_, `performance-noexcept-move-constructor `_, "Yes" `cppcoreguidelines-noexcept-swap `_, `performance-noexcept-swap `_, "Yes" `cppcoreguidelines-non-private-member-variables-in-classes `_, `misc-non-private-member-variables-in-classes `_, - `cppcoreguidelines-use-default-member-init `_, `modernize-use-default-member-init `_, + `cppcoreguidelines-use-default-member-init `_, `modernize-use-default-member-init `_, "Yes" `fuchsia-header-anon-namespaces `_, `google-build-namespaces `_, `google-readability-braces-around-statements `_, `readability-braces-around-statements `_, "Yes" `google-readability-function-size `_, `readability-function-size `_,