Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ Configuration files:
)");

const char DefaultChecks[] = // Enable these checks by default:
"clang-diagnostic-*," // * compiler diagnostics
"clang-analyzer-*"; // * Static Analyzer checks
"clang-diagnostic-*"; // * compiler diagnostics

static cl::opt<std::string> Checks("checks", desc(R"(
Comma-separated list of globs with optional '-'
Expand Down
8 changes: 8 additions & 0 deletions clang-tools-extra/docs/ReleaseNotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ Potentially Breaking Changes
:program:`clang-tidy-20`. Users should use the check-specific options of the
same name instead.

- Removed `clang-analyzer-*` check from default checks in :program:`clang-tidy`.
From now on, users should specify explicitly that they want CSA checks to run
in :program:`clang-tidy`.

- Renamed :program:`clang-tidy`'s option name of check
:doc:`bugprone-easily-swappable-parameters
<clang-tidy/checks/bugprone/easily-swappable-parameters>` from
Expand Down Expand Up @@ -158,6 +162,10 @@ Improvements to clang-tidy
scripts by adding the `-hide-progress` option to suppress progress and
informational messages.

- Removed `clang-analyzer-*` check from default checks in :program:`clang-tidy`.
From now on, users should specify explicitly that they want CSA checks to run
in :program:`clang-tidy`.

New checks
^^^^^^^^^^

Expand Down