llvm-project/clang-tools-extra/test/clang-tidy/checkers
Adrian Vogelsgesang 3696c70e67 [clang-tidy] Add `readability-container-contains` check
This commit introduces a new check `readability-container-contains` which finds
usages of `container.count()` and `container.find() != container.end()` and
instead recommends the `container.contains()` method introduced in C++20.

For containers which permit multiple entries per key (`multimap`, `multiset`,
...), `contains` is more efficient than `count` because `count` has to do
unnecessary additional work.

While this this performance difference does not exist for containers with only
a single entry per key (`map`, `unordered_map`, ...), `contains` still conveys
the intent better.

Reviewed By: xazax.hun, whisperity

Differential Revision: http://reviews.llvm.org/D112646
2022-01-24 12:57:18 +01:00
..
Inputs [clang-tidy] Add readability-duplicate-include check 2022-01-23 09:23:04 -07:00
abseil-cleanup-ctad.cpp Prevent abseil-cleanup-ctad check from stomping on surrounding context 2021-12-09 17:41:12 +00:00
abseil-duration-addition.cpp
abseil-duration-comparison.cpp
abseil-duration-conversion-cast.cpp
abseil-duration-division.cpp
abseil-duration-factory-float.cpp
abseil-duration-factory-scale.cpp
abseil-duration-subtraction.cpp [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
abseil-duration-unnecessary-conversion.cpp [clang-tidy] Update Abseil Duration Conversion check to find more cases. 2020-03-13 12:52:37 -04:00
abseil-faster-strsplit-delimiter.cpp [clang-tidy] Remove some test c++ mode restrictions. 2021-02-26 19:09:28 +00:00
abseil-no-internal-dependencies.cpp [clang-tidy] Fix check for Abseil internal namespace access 2020-01-21 15:21:53 -05:00
abseil-no-namespace.cpp
abseil-redundant-strcat-calls.cpp [clang-tidy] Fix an abseil-redundant-strcat-calls crash on 0-parameter StrCat(). 2020-11-17 11:05:24 +01:00
abseil-str-cat-append.cpp
abseil-string-find-startswith.cpp [clang-tidy] abseil-string-find-startswith: detect `s.rfind(z, 0) == 0` 2021-12-22 16:45:51 +01:00
abseil-string-find-str-contains.cpp abseil-string-find-str-contains should not propose an edit for the three-parameter version of find(). 2021-08-10 16:39:17 +00:00
abseil-time-comparison.cpp
abseil-time-subtraction.cpp [clang-tidy] Remove some test c++ mode restrictions. 2021-02-26 19:09:28 +00:00
abseil-upgrade-duration-conversions.cpp [clang-tidy] Remove some test c++ mode restrictions. 2021-02-26 19:09:28 +00:00
altera-id-dependent-backward-branch.cpp new altera ID dependent backward branch check 2021-05-06 17:01:39 -04:00
altera-kernel-name-restriction.cpp Add a new altera kernel name restriction check to clang-tidy. 2020-11-09 09:26:50 -05:00
altera-single-work-item-barrier.cpp new altera single work item barrier check 2020-12-18 07:52:20 -05:00
altera-struct-pack-align-invalid-decl-no-crash.cpp [clang-tidy] Fix crashing altera-struct-pack-align on invalid RecordDecls 2021-11-29 09:56:43 +01:00
altera-struct-pack-align-no-crash.cpp [clang-tidy] Fix altera-struct-pack-align crash for struct fields with incomplete type 2021-05-17 16:50:47 +03:00
altera-struct-pack-align.cpp Add a new altera check for structure packing and alignment. 2020-09-08 09:35:14 -04:00
altera-unroll-loops.cpp new altera unroll loops check 2021-03-22 13:09:53 -04:00
android-cloexec-accept.cpp
android-cloexec-accept4.cpp
android-cloexec-creat.cpp
android-cloexec-dup.cpp
android-cloexec-epoll-create.cpp
android-cloexec-epoll-create1.cpp
android-cloexec-fopen.cpp
android-cloexec-inotify-init.cpp
android-cloexec-inotify-init1.cpp
android-cloexec-memfd-create.cpp
android-cloexec-open.cpp
android-cloexec-pipe.cpp
android-cloexec-pipe2.cpp
android-cloexec-socket.cpp
android-comparison-in-temp-failure-retry-custom-macro.c Allow to specify macro names for android-comparison-in-temp-failure-retry 2020-10-01 10:09:26 -07:00
android-comparison-in-temp-failure-retry.c
boost-use-to-string.cpp
bugprone-argument-comment-gmock.cpp
bugprone-argument-comment-ignore-single-argument.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
bugprone-argument-comment-literals.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
bugprone-argument-comment-strict.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
bugprone-argument-comment.cpp bugprone-argument-comment: SourceLocation valid judgment avoid emitting coredump in isInSystemHeader 2021-10-13 12:31:02 -04:00
bugprone-assert-side-effect.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
bugprone-assert-side-effect.m [clang-tidy] bugprone-assert-side-effect: Warn on NSAssert by default. 2021-01-28 22:31:49 -08:00
bugprone-bad-signal-to-kill-thread-sigterm-not-a-literal.cpp [clang-tidy] Fix bugprone-bad-signal-to-kill-thread crash when `SIGTERM` is not a literal. 2020-08-06 10:32:03 +03:00
bugprone-bad-signal-to-kill-thread-undef-sigterm.cpp [clang-tidy] Fix bugprone-bad-signal-to-kill-thread crash when `SIGTERM` was undefined after definition. 2020-08-06 10:28:20 +03:00
bugprone-bad-signal-to-kill-thread.cpp [NFC][clang-tidy] Move recently newly-added tests into checkers/ subdir 2020-02-14 11:25:05 +03:00
bugprone-bool-pointer-implicit-conversion.cpp Support member expressions in bugprone-bool-pointer-implicit-conversion. 2020-08-05 07:14:28 -04:00
bugprone-branch-clone-if-constexpr-template.cpp [clang-tidy] Disable Checks on If constexpr statements in template Instantiations for BugproneBranchClone and ReadabilityBracesAroundStatements 2020-01-17 14:21:38 +00:00
bugprone-branch-clone-macro-crash.c
bugprone-branch-clone.cpp [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
bugprone-copy-constructor-init.cpp
bugprone-dangling-handle.cpp
bugprone-dynamic-static-initializers.hpp
bugprone-easily-swappable-parameters-ignore-default.cpp [clang-tidy] Correct typo in bugprone-easily-swappable-parameters 2021-10-27 22:38:52 +13:00
bugprone-easily-swappable-parameters-ignore.cpp [clang-tidy] Suppress reports to patternedly named parameters in 'bugprone-easily-swappable-parameters' 2021-06-28 10:49:37 +02:00
bugprone-easily-swappable-parameters-implicit-qualifiers.cpp [clang-tidy] Suppress reports to patternedly named parameters in 'bugprone-easily-swappable-parameters' 2021-06-28 10:49:37 +02:00
bugprone-easily-swappable-parameters-implicits.c [clang-tidy] Suppress reports to patternedly named parameters in 'bugprone-easily-swappable-parameters' 2021-06-28 10:49:37 +02:00
bugprone-easily-swappable-parameters-implicits.cpp [clang-tidy] Fix crash on "reference-to-array" parameters in 'bugprone-easily-swappable-parameters' 2021-07-28 14:44:20 +02:00
bugprone-easily-swappable-parameters-len2.cpp [clang-tidy] Fix crash on "reference-to-array" parameters in 'bugprone-easily-swappable-parameters' 2021-07-28 14:44:20 +02:00
bugprone-easily-swappable-parameters-len3.cpp [clang-tidy] Suppress reports to patternedly named parameters in 'bugprone-easily-swappable-parameters' 2021-06-28 10:49:37 +02:00
bugprone-easily-swappable-parameters-prefixsuffixname.cpp [clang-tidy] Suppress reports to patternedly named parameters in 'bugprone-easily-swappable-parameters' 2021-06-28 10:49:37 +02:00
bugprone-easily-swappable-parameters-qualifiermixing.cpp [clang-tidy] Improve "common type" diagnostic output in 'bugprone-easily-swappable-parameters' 2021-07-23 10:26:22 +02:00
bugprone-easily-swappable-parameters-relatedness.c [clang-tidy] Suppress reports to patternedly named parameters in 'bugprone-easily-swappable-parameters' 2021-06-28 10:49:37 +02:00
bugprone-easily-swappable-parameters-relatedness.cpp [clang-tidy] Suppress reports to patternedly named parameters in 'bugprone-easily-swappable-parameters' 2021-06-28 10:49:37 +02:00
bugprone-easily-swappable-parameters.c [clang-tidy] Suppress reports to patternedly named parameters in 'bugprone-easily-swappable-parameters' 2021-06-28 10:49:37 +02:00
bugprone-exception-escape-openmp.cpp
bugprone-exception-escape.cpp [clang-tidy] Include constructor initializers in `bugprone-exception-escape` check 2022-01-21 00:53:57 +01:00
bugprone-fold-init-type.cpp
bugprone-forward-declaration-namespace.cpp
bugprone-forwarding-reference-overload.cpp bugprone-forwarding-reference-overload: support non-type template parameters 2021-07-29 07:01:19 -04:00
bugprone-implicit-widening-of-multiplication-result-array-subscript-expression.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
bugprone-implicit-widening-of-multiplication-result-char.cpp [clang-tidy] Add check for implicit widening of multiplication result 2021-04-13 21:41:22 +03:00
bugprone-implicit-widening-of-multiplication-result-extint.cpp Introduce _BitInt, deprecate _ExtInt 2021-12-06 12:52:01 -05:00
bugprone-implicit-widening-of-multiplication-result-int.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
bugprone-implicit-widening-of-multiplication-result-pointer-offset.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
bugprone-implicit-widening-of-multiplication-result-short.cpp [clang-tidy] Add check for implicit widening of multiplication result 2021-04-13 21:41:22 +03:00
bugprone-inaccurate-erase.cpp [clang-tidy] Simplify inaccurate erase check 2021-02-13 13:51:27 +00:00
bugprone-incorrect-roundings.cpp
bugprone-infinite-loop.cpp [clang-tidy] bugprone-infinite-loop: Fix false positives with volatile addresses. 2021-09-07 15:10:46 -07:00
bugprone-infinite-loop.mm [clang-tidy] bugprone-infinite-loop: React to ObjC ivars and messages. 2021-05-13 11:25:02 -07:00
bugprone-integer-division.cpp
bugprone-lambda-function-name.cpp
bugprone-macro-parentheses-cmdline.cpp
bugprone-macro-parentheses.cpp [clang-tidy] Avoid bugprone-macro-parentheses warnings after goto argument 2021-04-22 10:14:10 +03:00
bugprone-macro-repeated-side-effects.c
bugprone-misplaced-operator-in-strlen-in-alloc.c
bugprone-misplaced-operator-in-strlen-in-alloc.cpp
bugprone-misplaced-pointer-arithmetic-in-alloc.c [clang-tidy] New check: bugprone-misplaced-pointer-arithmetic-in-alloc 2020-01-21 14:38:15 +01:00
bugprone-misplaced-pointer-arithmetic-in-alloc.cpp [clang-tidy] Crash fix for bugprone-misplaced-pointer-arithmetic-in-alloc 2020-09-16 13:16:44 +02:00
bugprone-misplaced-widening-cast-explicit-only.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
bugprone-misplaced-widening-cast-implicit-enabled.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
bugprone-move-forwarding-reference.cpp
bugprone-multiple-statement-macro.cpp
bugprone-no-escape.m Warn pointer captured in async block 2020-07-07 13:31:14 -04:00
bugprone-not-null-terminated-result-in-initialization-strlen.c [NFC][clang-tidy] Move recently newly-added tests into checkers/ subdir 2020-02-14 11:25:05 +03:00
bugprone-not-null-terminated-result-memcpy-before-safe.c [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
bugprone-not-null-terminated-result-memcpy-safe-cxx.cpp [NFC][clang-tidy] Move recently newly-added tests into checkers/ subdir 2020-02-14 11:25:05 +03:00
bugprone-not-null-terminated-result-memcpy-safe-other.c [NFC][clang-tidy] Move recently newly-added tests into checkers/ subdir 2020-02-14 11:25:05 +03:00
bugprone-not-null-terminated-result-memcpy-safe.c [NFC][clang-tidy] Move recently newly-added tests into checkers/ subdir 2020-02-14 11:25:05 +03:00
bugprone-not-null-terminated-result-stdc-want-lib-ext1-not-a-literal.c [clang-tidy] Fix a crash in bugprone-not-null-terminated-result check when `__STDC_WANT_LIB_EXT1__` is not a literal. 2020-08-10 15:12:03 +03:00
bugprone-not-null-terminated-result-strlen.c [NFC][clang-tidy] Move recently newly-added tests into checkers/ subdir 2020-02-14 11:25:05 +03:00
bugprone-not-null-terminated-result-undef-stdc-want-lib-ext1.c [clang-tidy] Fix a crash in bugprone-not-null-terminated-result check when `__STDC_WANT_LIB_EXT1__` was undefined after definition. 2020-08-10 10:24:38 +03:00
bugprone-not-null-terminated-result-wcslen.cpp [NFC][clang-tidy] Move recently newly-added tests into checkers/ subdir 2020-02-14 11:25:05 +03:00
bugprone-not-null-terminated-result-wmemcpy-safe-cxx.cpp [NFC][clang-tidy] Move recently newly-added tests into checkers/ subdir 2020-02-14 11:25:05 +03:00
bugprone-parent-virtual-call.cpp
bugprone-posix-return.cpp
bugprone-redundant-branch-condition.cpp [clang-tidy] bugprone-infinite-loop: Fix false positives with volatile addresses. 2021-09-07 15:10:46 -07:00
bugprone-reserved-identifier-c.c Add `bugprone-reserved-identifier` 2020-01-17 08:44:21 -05:00
bugprone-reserved-identifier-invert.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
bugprone-reserved-identifier.cpp [clang-tidy] Fix RenamerClangTidyChecks suggesting invalid macro identifiers 2022-01-10 10:35:04 -08:00
bugprone-signal-handler-minimal.c [clang-tidy] Extending bugprone-signal-handler with POSIX functions. 2021-02-23 14:48:00 +01:00
bugprone-signal-handler-posix.c [clang-tidy] Extending bugprone-signal-handler with POSIX functions. 2021-02-23 14:48:00 +01:00
bugprone-signal-handler.c [clang-tidy] Extending bugprone-signal-handler with POSIX functions. 2021-02-23 14:48:00 +01:00
bugprone-signed-char-misuse-fsigned-char.cpp [clang-tidy] new check: bugprone-signed-char-misuse 2020-01-06 18:21:26 +01:00
bugprone-signed-char-misuse-funsigned-char.cpp [clang-tidy] new check: bugprone-signed-char-misuse 2020-01-06 18:21:26 +01:00
bugprone-signed-char-misuse-with-option.cpp [clang-tidy] new check: bugprone-signed-char-misuse 2020-01-06 18:21:26 +01:00
bugprone-signed-char-misuse.cpp [clang-tidy] extend bugprone-signed-char-misuse check with array subscript case. 2020-05-02 14:05:05 +02:00
bugprone-sizeof-container.cpp
bugprone-sizeof-expression.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
bugprone-spuriously-wake-up-functions.c [clang-tidy] Add spuriously-wake-up-functions check 2020-03-21 12:04:03 +01:00
bugprone-spuriously-wake-up-functions.cpp [clang-tidy] Add spuriously-wake-up-functions check 2020-03-21 12:04:03 +01:00
bugprone-string-constructor.cpp [clang-tidy] Extend bugprone-string-constructor-check to std::string_view. 2020-11-18 21:16:03 -05:00
bugprone-string-integer-assignment.cpp Fix invalid attempted explicit instantiation, which Clang now rejects. 2020-07-29 13:07:34 -07:00
bugprone-string-literal-with-embedded-nul.cpp
bugprone-stringview-nullptr.cpp [clang-tidy] Update bugprone-stringview-nullptr to consistently prefer the empty string when passing arguments to constructors/functions 2022-01-20 18:08:40 -05:00
bugprone-suspicious-enum-usage-strict.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
bugprone-suspicious-enum-usage.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
bugprone-suspicious-include.cpp [clang-tidy] New check: bugprone-suspicious-include 2020-03-12 09:59:28 -06:00
bugprone-suspicious-memory-comparison-32bits.cpp [clang-tidy] Add bugprone-suspicious-memory-comparison check 2021-08-26 09:23:37 +02:00
bugprone-suspicious-memory-comparison.c [clang-tidy] Add bugprone-suspicious-memory-comparison check 2021-08-26 09:23:37 +02:00
bugprone-suspicious-memory-comparison.cpp [clang-tidy] Add bugprone-suspicious-memory-comparison check 2021-08-26 09:23:37 +02:00
bugprone-suspicious-memset-usage.c [clang-tidy] Fix a crash on invalid code for memset-usage check. 2021-05-19 09:53:18 +02:00
bugprone-suspicious-memset-usage.cpp [clang-tidy] More strict on matching the standard memset function in memset-usage check. 2020-07-10 11:42:35 +02:00
bugprone-suspicious-missing-comma.cpp
bugprone-suspicious-semicolon-constexpr.cpp [clang-tidy] Add extra tests 2021-01-05 15:43:56 +00:00
bugprone-suspicious-semicolon-fail.cpp
bugprone-suspicious-semicolon.cpp
bugprone-suspicious-string-compare.c [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
bugprone-suspicious-string-compare.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
bugprone-swapped-arguments.cpp
bugprone-terminating-continue.cpp [clang-tidy] Fix bugprone-terminating-continue when continue appears inside a switch 2021-03-20 10:59:37 +00:00
bugprone-throw-keyword-missing.cpp [clang-tidy][#51939] Exempt placement-new expressions from 'bugprone-throw-keyword-missing' 2021-12-15 16:59:14 +01:00
bugprone-too-small-loop-variable-magniute-bits-upper-limit.cpp
bugprone-too-small-loop-variable.cpp
bugprone-undefined-memory-manipulation.cpp
bugprone-undelegated-constructor-cxx98.cpp
bugprone-undelegated-constructor.cpp
bugprone-unhandled-exception-at-new.cpp [clang-tidy] Add exception flag to bugprone-unhandled-exception-at-new test. 2021-04-14 10:01:05 +02:00
bugprone-unhandled-self-assignment-warn-only-if-this-has-suspicious-field.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
bugprone-unhandled-self-assignment.cpp [clang-tidy]: fix false positive of cert-oop54-cpp check. 2020-04-04 17:19:17 +02:00
bugprone-unused-raii-crash.mm [clang-tidy] Fix an unused-raii check crash on objective-c++. 2020-07-07 13:36:20 +02:00
bugprone-unused-raii.cpp [clang-tidy] Use `hasCanonicalType()` matcher in `bugprone-unused-raii` check 2021-12-02 01:53:12 +01:00
bugprone-unused-return-value-custom.cpp
bugprone-unused-return-value.cpp
bugprone-use-after-move.cpp [clang-tidy] Fix `bugprone-use-after-move` check to also consider moves in constructor initializers 2021-11-15 07:41:35 +00:00
bugprone-virtual-near-miss.cpp Revert "[clang-itdy] Simplify virtual near-miss check" 2021-02-27 19:30:38 +00:00
cert-dcl21-cpp.cpp
cert-dcl58-cpp.cpp
cert-env33-c.c
cert-err33-c.c [clang-tidy] Add check 'cert-err33-c'. 2021-11-02 11:38:47 +01:00
cert-err34-c.c
cert-err34-c.cpp
cert-flp30-c.c
cert-limited-randomness.c
cert-limited-randomness.cpp
cert-mem57-cpp-cpp17.cpp Replaced C++2a with C++20 in clang-tools-extra 2020-06-03 14:54:10 +02:00
cert-mem57-cpp.cpp [clang-tidy] DefaultOperatorNewCheck test fixes. 2019-11-19 15:24:22 +01:00
cert-msc32-c.c
cert-msc51-cpp.cpp
cert-oop11-cpp.cpp
cert-oop54-cpp.cpp
cert-oop57-cpp.cpp [clang-tidy] Add check for CERT-OOP57-CPP 2020-01-20 17:09:03 +00:00
cert-oop58-cpp.cpp [clang-tidy] Add cert-oop58-cpp check 2019-12-15 16:30:14 +01:00
cert-setlongjmp.cpp
cert-static-object-exception.cpp
cert-str34-c.cpp [clang-tidy]: Add cert-str34-c alias for bugprone-signed-char-misuse. 2020-05-06 12:36:01 +02:00
cert-throw-exception-type.cpp [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
cert-uppercase-literal-suffix-integer.cpp
cert-variadic-function-def.cpp
concurrency-mt-unsafe-any.cpp [clang-tidy] implement concurrency-mt-unsafe 2020-11-30 12:27:17 +03:00
concurrency-mt-unsafe-glibc.cpp [clang-tidy] implement concurrency-mt-unsafe 2020-11-30 12:27:17 +03:00
concurrency-mt-unsafe-posix.cpp [clang-tidy] implement concurrency-mt-unsafe 2020-11-30 12:27:17 +03:00
concurrency-thread-canceltype-asynchronous.cpp [clang-tidy] Add new check 'concurrency-thread-canceltype-asynchronous' and alias 'cert-pos47-c'. 2021-02-22 12:42:20 +01:00
cppcoreguidelines-avoid-goto.cpp
cppcoreguidelines-avoid-non-const-global-variables.cpp Remove false positive in AvoidNonConstGlobalVariables. 2020-04-15 14:48:06 -04:00
cppcoreguidelines-init-variables-conflict.cpp [clang-tidy] Handled insertion only fixits when determining conflicts. 2020-07-29 16:35:44 +01:00
cppcoreguidelines-init-variables.cpp [clang-tidy] Fix cppcoreguidelines-init-variables by removing the enum 2021-07-30 18:24:47 +02:00
cppcoreguidelines-interfaces-global-init.cpp
cppcoreguidelines-macro-usage-caps-only.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
cppcoreguidelines-macro-usage-command-line-macros.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
cppcoreguidelines-macro-usage-custom.cpp [clang-tidy] Fix windows tests 2021-01-04 00:39:34 +00:00
cppcoreguidelines-macro-usage.cpp [clang-tidy] Narrow cppguidelines-macro-usage to actual constants 2022-01-19 12:28:22 -07:00
cppcoreguidelines-narrowing-conversions-bitfields.cpp [clang-tidy] Ignore narrowing conversions in case of bitfields 2021-11-29 09:56:43 +01:00
cppcoreguidelines-narrowing-conversions-equivalentbitwidth-option.cpp [clang-tidy] NarrowingConversionsCheck should support inhibiting conversions of 2021-06-11 13:02:48 +02:00
cppcoreguidelines-narrowing-conversions-ignoreconversionfromtypes-option.cpp [clang-tidy] Allow opt-in or out of some commonly occuring patterns in NarrowingConversionsCheck. 2021-05-12 20:51:25 +02:00
cppcoreguidelines-narrowing-conversions-intemplates-option.cpp [clang-tidy] Allow opt-in or out of some commonly occuring patterns in NarrowingConversionsCheck. 2021-05-12 20:51:25 +02:00
cppcoreguidelines-narrowing-conversions-long-is-32bits.cpp
cppcoreguidelines-narrowing-conversions-narrowingfloatingpoint-option.cpp
cppcoreguidelines-narrowing-conversions-narrowinginteger-option.cpp [clang-tidy] Allow disabling integer narrowing conversions for cppcoreguidelines-narrowing-conversions 2021-06-10 12:41:57 +00:00
cppcoreguidelines-narrowing-conversions-narrowingintegertofloatingpoint-option.cpp Allow disabling integer to floating-point narrowing conversions for cppcoreguidelines-narrowing-conversions 2021-12-16 08:24:09 -05:00
cppcoreguidelines-narrowing-conversions-pedanticmode-option.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
cppcoreguidelines-narrowing-conversions-unsigned-char.cpp
cppcoreguidelines-narrowing-conversions.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
cppcoreguidelines-no-malloc-custom.cpp [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
cppcoreguidelines-no-malloc-no-functions.cpp
cppcoreguidelines-no-malloc.cpp NFC: Fix trivial typos in comments 2020-01-04 10:28:41 -05:00
cppcoreguidelines-owning-memory-containers.cpp NFC: Fix trivial typos in comments 2020-01-04 10:28:41 -05:00
cppcoreguidelines-owning-memory-legacy-functions.cpp
cppcoreguidelines-owning-memory.cpp [clang] retain type sugar in auto / template argument deduction 2021-11-15 23:07:45 +01:00
cppcoreguidelines-prefer-member-initializer-modernize-use-default-member-init-assignment.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
cppcoreguidelines-prefer-member-initializer-modernize-use-default-member-init.cpp [clang-tidy] New check cppcoreguidelines-prefer-member-initializer 2020-09-21 14:42:58 +02:00
cppcoreguidelines-prefer-member-initializer.cpp [clang-tidy] Harden PreferMemberInitializerCheck 2021-02-22 19:41:11 +00:00
cppcoreguidelines-pro-bounds-array-to-pointer-decay.cpp Accept string literal decay in conditional operator 2022-01-11 15:05:30 -05:00
cppcoreguidelines-pro-bounds-constant-array-index-c++03.cpp
cppcoreguidelines-pro-bounds-constant-array-index-gslheader.cpp [clang-tidy] Remove gsl::at suggestion from cppcoreguidelines-pro-bounds-constant-array-index 2022-01-23 15:52:42 +00:00
cppcoreguidelines-pro-bounds-constant-array-index.cpp [clang-tidy] Remove gsl::at suggestion from cppcoreguidelines-pro-bounds-constant-array-index 2022-01-23 15:52:42 +00:00
cppcoreguidelines-pro-bounds-pointer-arithmetic-pr36489.cpp
cppcoreguidelines-pro-bounds-pointer-arithmetic.cpp
cppcoreguidelines-pro-type-const-cast.cpp
cppcoreguidelines-pro-type-cstyle-cast.cpp
cppcoreguidelines-pro-type-member-init-cxx20.cpp Replaced C++2a with C++20 in clang-tools-extra 2020-06-03 14:54:10 +02:00
cppcoreguidelines-pro-type-member-init-cxx98.cpp
cppcoreguidelines-pro-type-member-init-delayed.cpp
cppcoreguidelines-pro-type-member-init-no-crash.cpp
cppcoreguidelines-pro-type-member-init-use-assignment.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
cppcoreguidelines-pro-type-member-init.cpp Fix wrong FixIt about union in cppcoreguidelines-pro-type-member-init 2021-09-24 13:15:21 -04:00
cppcoreguidelines-pro-type-member-init.ignorearrays.cpp [clang-tidy] Enable the use of IgnoreArray flag in pro-type-member-init rule 2021-05-12 12:57:21 +01:00
cppcoreguidelines-pro-type-reinterpret-cast.cpp
cppcoreguidelines-pro-type-static-cast-downcast.cpp
cppcoreguidelines-pro-type-union-access.cpp
cppcoreguidelines-pro-type-vararg-ms.cpp [clang-tidy] Fix test that requires Windows platofrm 2021-05-13 15:51:53 +03:00
cppcoreguidelines-pro-type-vararg.cpp [clang-tidy] Fix cppcoreguidelines-pro-type-vararg false positives with __builtin_ms_va_list 2021-05-04 13:49:20 +03:00
cppcoreguidelines-slicing.cpp
cppcoreguidelines-special-member-functions-allow-missing-move-when-copy-is-deleted.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
cppcoreguidelines-special-member-functions-cxx-03.cpp
cppcoreguidelines-special-member-functions-relaxed.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
cppcoreguidelines-special-member-functions.cpp
cppcoreguidelines-virtual-class-destructor.cpp Fix cppcoreguidelines-virtual-base-class-destructor in macros 2021-11-29 09:56:43 +01:00
darwin-avoid-spinlock.m [test] NFC, add missing declarations and include to test files to avoid 'implicit-function-declaration' diagnostics in the tests 2020-05-14 10:01:50 -07:00
darwin-dispatch-once-nonstatic.mm
fuchsia-default-arguments-calls.cpp
fuchsia-default-arguments-declarations.cpp
fuchsia-multiple-inheritance.cpp [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
fuchsia-overloaded-operator.cpp
fuchsia-statically-constructed-objects.cpp
fuchsia-trailing-return.cpp Fix false positives in `fuchsia-trailing-return` check involving deduction guides 2021-12-01 15:28:01 -05:00
fuchsia-virtual-inheritance.cpp
google-build-explicit-make-pair.cpp
google-default-arguments.cpp
google-explicit-constructor.cpp
google-module.cpp [clang-tidy] Use StringMap for ClangTidyOptions::OptionsMap 2020-07-30 10:31:13 +01:00
google-namespaces.cpp
google-objc-avoid-nsobject-new.m
google-objc-avoid-throwing-exception.m
google-objc-function-naming.m
google-objc-function-naming.mm
google-objc-global-variable-declaration.m
google-objc-global-variable-declaration.mm
google-overloaded-unary-and.cpp
google-readability-casting.c
google-readability-casting.cpp [clang-tidy] Warn on functional C-style casts 2021-11-30 07:31:17 +00:00
google-readability-casting.mm
google-readability-namespace-comments-c++17.cpp [clang-tidy] Fix PR26274 2019-12-06 10:10:15 +01:00
google-readability-namespace-comments.cpp [clang-tidy] Fix PR26274 2019-12-06 10:10:15 +01:00
google-readability-todo.cpp
google-runtime-int-std.cpp
google-runtime-int.c
google-runtime-int.cpp
google-runtime-int.m
google-upgrade-googletest-case.cpp
hicpp-exception-baseclass.cpp
hicpp-multiway-paths-covered-else.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
hicpp-multiway-paths-covered.cpp
hicpp-no-assembler-msvc.cpp
hicpp-no-assembler.cpp
hicpp-signed-bitwise-bug34747.cpp [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
hicpp-signed-bitwise-integer-literals.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
hicpp-signed-bitwise-standard-types.cpp
hicpp-signed-bitwise-standard-types.h
hicpp-signed-bitwise.cpp
linuxkernel-must-check-errs.c
llvm-include-order.cpp [clang-tidy] Make clang-format and include-order-check coherent 2020-11-17 14:54:10 +01:00
llvm-prefer-isa-or-dyn-cast-in-conditionals.cpp
llvm-prefer-register-over-unsigned.cpp
llvm-prefer-register-over-unsigned2.cpp
llvm-prefer-register-over-unsigned3.cpp
llvm-qualified-auto.cpp [clang-tidy] Added option for disabling const qualifiers in readability-qualified-auto 2020-02-02 21:27:25 +00:00
llvm-twine-local.cpp [clang-tidy] llvm-twine-local ignores parameters 2020-06-22 18:25:45 +01:00
llvmlibc-callee-namespace.cpp [libc][clang-tidy] fix namespace check for externals 2021-11-30 11:44:24 -08:00
llvmlibc-implementation-in-namespace.cpp [clang-tidy] Add check llvmlibc-implementation-in-namespace. 2020-04-06 10:49:49 -07:00
llvmlibc-restrict-system-libc-headers.cpp [clang-tidy] Merge common code between llvmlibc-restrict-system-libc-headers and portability-restrict-system-includes 2020-03-20 15:53:05 -07:00
misc-definitions-in-headers-1z.hpp [clang-tidy] No misc-definitions-in-headers warning on C++14 variable templates. 2020-02-12 16:56:31 +01:00
misc-definitions-in-headers.hpp [clang-tidy] Don't suggest "inline" fix for main function in 2021-07-20 14:24:38 +02:00
misc-misleading-bidirectional.cpp Misleading bidirectional detection 2022-01-12 11:38:36 +01:00
misc-misleading-identifier.cpp Replace include by forward declaration in test case 2021-11-10 20:34:05 +01:00
misc-misplaced-const-cxx17.cpp
misc-misplaced-const.c Extend misc-misplaced-const to detect using declarations as well as typedef 2020-01-22 15:26:11 -05:00
misc-misplaced-const.cpp Extend misc-misplaced-const to detect using declarations as well as typedef 2020-01-22 15:26:11 -05:00
misc-new-delete-overloads-sized-dealloc.cpp
misc-new-delete-overloads.cpp
misc-no-recursion.cpp [clang-tidy] misc-no-recursion: point to the function defs, not decls 2020-02-20 14:17:30 +03:00
misc-non-copyable-objects.c
misc-non-copyable-objects.cpp
misc-non-private-member-variables-in-classes.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
misc-redundant-expression.cpp Reinstate check that we don't crash. 2020-08-06 19:07:50 -07:00
misc-static-assert.c
misc-static-assert.cpp [clang-tidy] Tweak misc-static-assert fix in c++17 2021-03-01 18:51:50 +00:00
misc-throw-by-value-catch-by-reference.cpp
misc-unconventional-assign-operator-cxx17.cpp
misc-unconventional-assign-operator-precxx11.cpp [clang-tidy] misc-unconventional-assign-operator suggest to use rvalue references in C++03 mode 2020-03-18 21:39:23 +00:00
misc-unconventional-assign-operator.cpp [clang-tidy] Fix false positives involving type aliases in `misc-unconventional-assign-operator` check 2022-01-17 21:16:17 +01:00
misc-uniqueptr-reset-release.cpp [clang-tidy] Add <utility> include to misc-uniqueptr-reset-release 2021-04-12 23:32:15 +01:00
misc-unused-alias-decls.cpp
misc-unused-parameters-strict.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
misc-unused-parameters.c
misc-unused-parameters.cpp [clang-tidy] misc-unused-parameters: Don't remove parameter from lambda 2020-04-09 19:26:41 +02:00
misc-unused-using-decls-cxx17.cpp [clang-tidy] Added command line option `fix-notes` 2021-03-01 22:07:11 +00:00
misc-unused-using-decls-errors.cpp
misc-unused-using-decls.cpp [clang-tidy] Added command line option `fix-notes` 2021-03-01 22:07:11 +00:00
modernize-avoid-bind-permissive-parameter-list.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
modernize-avoid-bind.cpp Repair various issues with modernize-avoid-bind 2020-06-25 07:29:53 -04:00
modernize-avoid-c-arrays-ignores-main.cpp
modernize-avoid-c-arrays-ignores-three-arg-main.cpp
modernize-avoid-c-arrays.cpp
modernize-concat-nested-namespaces.cpp [clang-tidy] Enable modernize-concat-nested-namespaces also on headers 2021-03-15 07:32:45 -07:00
modernize-deprecated-headers-cxx03.cpp
modernize-deprecated-headers-cxx11.cpp
modernize-deprecated-ios-base-aliases.cpp
modernize-loop-convert-assert-failure.cpp
modernize-loop-convert-basic.cpp [clang-tidy] Fix a crash in modernize-loop-convert around conversion operators 2021-11-15 13:11:29 +01:00
modernize-loop-convert-camelback.cpp
modernize-loop-convert-const.cpp
modernize-loop-convert-extra.cpp
modernize-loop-convert-lowercase.cpp
modernize-loop-convert-multidimensional.cpp [clang-tidy] fix modernize-loop-convert to retain needed array-like operator[] 2021-02-07 16:36:34 +00:00
modernize-loop-convert-negative.cpp
modernize-loop-convert-reverse.cpp [clang-tidy][test] Allow specifying potentially unused suffixes 2021-02-24 15:22:54 +00:00
modernize-loop-convert-rewritten-binop.cpp [clang-tidy] Use new mapping matchers 2021-02-03 23:21:17 +00:00
modernize-loop-convert-uppercase.cpp
modernize-loop-convert.c
modernize-make-shared-header.cpp
modernize-make-shared.cpp [clang-tidy] Omit std::make_unique/make_shared for default initialization. 2020-12-08 10:34:17 -05:00
modernize-make-unique-cxx11.cpp
modernize-make-unique-default-init.cpp [clang-tidy] Omit std::make_unique/make_shared for default initialization. 2020-12-08 10:34:17 -05:00
modernize-make-unique-header.cpp
modernize-make-unique-inaccessible-ctors.cpp Replaced C++2a with C++20 in clang-tools-extra 2020-06-03 14:54:10 +02:00
modernize-make-unique-macros.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
modernize-make-unique.cpp [clang-tidy] Omit std::make_unique/make_shared for default initialization. 2020-12-08 10:34:17 -05:00
modernize-pass-by-value-header.cpp
modernize-pass-by-value-macro-header.cpp
modernize-pass-by-value-multi-fixes.cpp
modernize-pass-by-value.cpp [clang-tidy] Fix false positive in modernize-pass-by-value 2022-01-05 14:33:40 +01:00
modernize-raw-string-literal-delimiter.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
modernize-raw-string-literal-replace-shorter.cpp
modernize-raw-string-literal.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
modernize-redundant-void-arg-delayed.cpp
modernize-redundant-void-arg.c
modernize-redundant-void-arg.cpp [clang-tidy] Improve modernize-redundant-void-arg to recognize macro uses 2022-01-12 13:51:50 -07:00
modernize-replace-auto-ptr.cpp
modernize-replace-disallow-copy-and-assign-macro.cpp [clang-tidy][test] Fix test failure when LLVM_ENABLE_WERROR is set. 2020-10-30 23:17:11 +00:00
modernize-replace-random-shuffle.cpp
modernize-return-braced-init-list.cpp [clang-tidy] Simplify braced init check 2021-02-20 20:09:13 +00:00
modernize-shrink-to-fit.cpp
modernize-unary-static-assert.cpp
modernize-use-auto-cast-remove-stars.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
modernize-use-auto-cast.cpp
modernize-use-auto-iterator.cpp
modernize-use-auto-min-type-name-length.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
modernize-use-auto-new-remove-stars.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
modernize-use-auto-new.cpp
modernize-use-bool-literals-ignore-macros.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
modernize-use-bool-literals.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
modernize-use-default-member-init-assignment.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
modernize-use-default-member-init-bitfield.cpp Replaced C++2a with C++20 in clang-tools-extra 2020-06-03 14:54:10 +02:00
modernize-use-default-member-init-macros.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
modernize-use-default-member-init.cpp Improve the 'modernize-use-default-member-init' 2022-01-04 07:27:02 -05:00
modernize-use-emplace-ignore-implicit-constructors.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
modernize-use-emplace.cpp
modernize-use-equals-default-copy.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
modernize-use-equals-default-delayed.cpp
modernize-use-equals-default-macros.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
modernize-use-equals-default.cpp [clang-tidy] modernize-use-equals-default avoid adding redundant semicolons 2019-11-20 18:08:37 -05:00
modernize-use-equals-delete-macros.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
modernize-use-equals-delete.cpp
modernize-use-nodiscard-clang-unused.cpp
modernize-use-nodiscard-cxx11.cpp
modernize-use-nodiscard-gcc-unused.cpp
modernize-use-nodiscard-no-macro-inscope-cxx11.cpp
modernize-use-nodiscard-no-macro.cpp
modernize-use-nodiscard.cpp [clang-tidy] Add extra tests 2021-01-05 15:43:56 +00:00
modernize-use-noexcept-error.cpp [clang-tidy] Fix potential assert in use-noexcept check 2020-05-24 14:40:58 +01:00
modernize-use-noexcept-macro.cpp
modernize-use-noexcept-opt.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
modernize-use-noexcept.cpp
modernize-use-nullptr-basic.cpp NFC: Fix trivial typos in comments 2020-01-04 10:28:41 -05:00
modernize-use-nullptr-cxx20.cpp [clang-tidy] fix modernize-use-nullptr false positive with spaceship operator comparisons 2021-02-09 14:02:45 +00:00
modernize-use-nullptr.c
modernize-use-nullptr.cpp
modernize-use-override-allow-override-and-final.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
modernize-use-override-cxx98.cpp
modernize-use-override-ms.cpp
modernize-use-override-no-destructors.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
modernize-use-override-with-macro.cpp
modernize-use-override-with-no-macro-inscope.cpp
modernize-use-override.cpp Remove 'IgnoreDestructors = true' from cppcoreguidelines-explicit-virtual-functions 2021-10-12 10:08:08 -04:00
modernize-use-trailing-return-type-cxx20.cpp Add support for C++20 concepts and decltype to modernize-use-trailing-return-type. 2020-08-15 10:40:22 -04:00
modernize-use-trailing-return-type.cpp modernize-use-trailing-return-type fix for PR44206 2020-10-03 10:08:44 -04:00
modernize-use-transparent-functors.cpp
modernize-use-uncaught-exceptions.cpp
modernize-use-using-macros.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
modernize-use-using.cpp [clang-tidy] modernize-use-using: Fix broken fixit with InjectedClassName 2020-04-27 14:23:23 +02:00
mpi-buffer-deref.cpp
mpi-type-mismatch.cpp
objc-assert-equals.m [clang-tidy][objc] Finds and fixes improper usages of XCTAssertEquals and XCTAssertNotEquals. 2021-12-02 18:32:16 -05:00
objc-avoid-nserror-init.m
objc-dealloc-in-category.m Create a clang-tidy check to warn when -dealloc is implemented inside an ObjC class category. 2020-02-10 08:56:28 -07:00
objc-forbidden-subclassing-custom.m
objc-forbidden-subclassing.m
objc-missing-hash.m
objc-nsinvocation-argument-lifetime.m [clang-tidy] Add check to find calls to NSInvocation methods under ARC that don't have proper object argument lifetimes. 2020-04-10 08:51:21 -07:00
objc-property-declaration.m
objc-super-self.m
openmp-exception-escape.cpp
openmp-use-default-none.cpp [OpenMP] Add firstprivate as a default data-sharing attribute to clang 2020-07-12 23:01:40 -05:00
performance-faster-string-find.cpp [clang-tidy] performance-faster-string-find string-view 2020-06-30 16:45:59 +01:00
performance-for-range-copy-allowed-types.cpp [clang-tidy] performance-* checks: Match AllowedTypes against qualified type names when they contain "::". 2021-04-06 15:41:35 -04:00
performance-for-range-copy-warn-on-all-auto-copies.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
performance-for-range-copy.cpp [clang-tidy] performance-for-range-copy: Don't trigger on implicit type conversions. 2021-03-02 20:02:48 -05:00
performance-implicit-conversion-in-loop.cpp
performance-inefficient-algorithm.cpp [clang-tidy] Simplify inefficient algorithm check 2021-02-17 10:19:44 +00:00
performance-inefficient-string-concatenation.cpp
performance-inefficient-vector-operation.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
performance-move-const-arg-trivially-copyable.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
performance-move-const-arg.cpp [clang-tidy] Fix wrong FixIt in performance-move-const-arg 2022-01-21 14:23:52 +08:00
performance-move-constructor-init.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
performance-no-automatic-move.cpp Replaced C++2a with C++20 in clang-tools-extra 2020-06-03 14:54:10 +02:00
performance-no-int-to-ptr.c [clang-tidy] Introduce misc No Integer To Pointer Cast check 2020-12-08 22:55:13 +03:00
performance-no-int-to-ptr.cpp [clang-tidy] Introduce misc No Integer To Pointer Cast check 2020-12-08 22:55:13 +03:00
performance-noexcept-move-constructor-fix.cpp
performance-noexcept-move-constructor.cpp
performance-trivially-destructible.cpp [clang-tidy] New checker performance-trivially-destructible-check 2019-11-01 16:16:49 +01:00
performance-type-promotion-in-math-fn.cpp
performance-unnecessary-copy-initialization-allowed-types.cpp [clang-tidy] performance-unnecessary-copy-initialization: Remove the complete statement when the copied variable is unused. 2021-06-09 15:52:48 -04:00
performance-unnecessary-copy-initialization-excluded-container-types.cpp [clang-tidy] performance-unnecessary-copy-initialization: Fix false negative. 2021-11-24 08:07:21 +01:00
performance-unnecessary-copy-initialization.cpp [clang-tidy] performance-unnecessary-copy-initialization: Fix false negative. 2021-11-24 08:07:21 +01:00
performance-unnecessary-value-param-allowed-types.cpp
performance-unnecessary-value-param-arc.m NFC: Fix trivial typos in comments 2020-01-04 10:28:41 -05:00
performance-unnecessary-value-param-arc.mm NFC: Fix trivial typos in comments 2020-01-04 10:28:41 -05:00
performance-unnecessary-value-param-delayed.cpp
performance-unnecessary-value-param-header.cpp [clang-tidy] Add extra tests 2021-01-05 15:43:56 +00:00
performance-unnecessary-value-param-incomplete-type.cpp
performance-unnecessary-value-param.cpp
portability-restrict-system-includes-allow.cpp [clang-tidy] Mock system headers for portability-restrict-system-includes tests. 2020-03-11 12:13:27 -07:00
portability-restrict-system-includes-disallow.cpp [clang-tidy] Mock system headers for portability-restrict-system-includes tests. 2020-03-11 12:13:27 -07:00
portability-restrict-system-includes-glob.cpp [clang-tidy] Mock system headers for portability-restrict-system-includes tests. 2020-03-11 12:13:27 -07:00
portability-restrict-system-includes-transitive.cpp [clang-tidy] Move fuchsia-restrict-system-includes to portability module for general use. 2020-03-10 13:33:06 -07:00
portability-simd-intrinsics-ppc.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
portability-simd-intrinsics-x86.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
readability-avoid-const-params-in-decls.cpp [clang-tidy] Fix readability-avoid-const-params-in-decls removing const in template paramaters 2021-02-24 15:54:10 +00:00
readability-avoid-underscore-in-googletest-name.cpp
readability-braces-around-statements-assert-failure.cpp
readability-braces-around-statements-attributes.cpp [clang-tidy] [PR50069] readability-braces-around-statements doesn't work well with [[likely]] [[unlikely]] 2021-08-14 12:05:21 +01:00
readability-braces-around-statements-constexpr-if-templates.cpp [clang-tidy] Disable Checks on If constexpr statements in template Instantiations for BugproneBranchClone and ReadabilityBracesAroundStatements 2020-01-17 14:21:38 +00:00
readability-braces-around-statements-few-lines.cpp
readability-braces-around-statements-format.cpp
readability-braces-around-statements-same-line.cpp
readability-braces-around-statements-single-line.cpp
readability-braces-around-statements.cpp fix readability-braces-around-statements Stmt type dependency 2021-03-25 09:44:41 -04:00
readability-const-return-type.cpp Fix readability-const-return-type identifying the wrong `const` token 2019-12-24 10:10:01 -05:00
readability-container-contains.cpp [clang-tidy] Add `readability-container-contains` check 2022-01-24 12:57:18 +01:00
readability-container-data-pointer.cpp [clang-tidy] Make `readability-container-data-pointer` more robust 2022-01-18 21:08:59 +01:00
readability-container-size-empty-cxx20.cpp [clang-tidy] Use new mapping matchers 2021-02-03 23:21:17 +00:00
readability-container-size-empty.cpp [clang-tidy] Simplify implementation of container-size-empty 2021-02-05 14:03:41 +00:00
readability-convert-member-functions-to-static.cpp
readability-delete-null-pointer.cpp [clang-tidy] Simplify delete null ptr check 2021-02-17 10:18:36 +00:00
readability-duplicate-include.cpp [clang-tidy] Add readability-duplicate-include check 2022-01-23 09:23:04 -07:00
readability-else-after-return-if-constexpr.cpp
readability-else-after-return-no-cond-var-refactor.cpp [clang-tidy] Added option to readability-else-after-return 2020-06-30 19:34:45 +01:00
readability-else-after-return-no-warn.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
readability-else-after-return-pp-no-crash.cpp [clang-tidy] ElseAfterReturn check wont suggest fixes if preprocessor branches are involved 2020-11-19 18:20:32 +00:00
readability-else-after-return.cpp [clang-tidy] ElseAfterReturn check wont suggest fixes if preprocessor branches are involved 2020-11-19 18:20:32 +00:00
readability-function-cognitive-complexity-flags.cpp [clang-tidy] Add option to ignore macros in readability-function-cognitive-complexity check. 2021-04-12 18:46:12 +02:00
readability-function-cognitive-complexity.cpp [clang-tidy] Simplify function complexity check 2021-02-20 22:06:16 +00:00
readability-function-size-variables-c++17.cpp
readability-function-size.cpp
readability-identifier-length.cpp Speculatively fix the build bots. 2021-08-12 11:56:17 -04:00
readability-identifier-naming-bugfix-name-conflicts.cpp [clang-tidy] Fix RenamerClangTidy checks trying to emit a fix that isnt a valid identifier 2020-11-23 20:04:51 +00:00
readability-identifier-naming-bugfix.cpp
readability-identifier-naming-case-violation.cpp [clang-tidy] Add support for diagnostics with no location 2020-12-08 20:29:31 +00:00
readability-identifier-naming-hungarian-notation-cfgfile.cpp [clang-tidy] Fix command line is too long issue which breaks test on Windows 2021-08-03 22:12:46 +02:00
readability-identifier-naming-hungarian-notation.cpp [clang-tidy] Fix command line is too long issue which breaks test on Windows 2021-08-03 22:12:46 +02:00
readability-identifier-naming-ignored-regexp.cpp [clang-tidy] Fix windows tests 2021-01-04 00:39:34 +00:00
readability-identifier-naming-main-like.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
readability-identifier-naming-member-decl-usage.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
readability-identifier-naming-multiple-styles.cpp [clang-tidy] Extend IdentifierNamingCheck per file config 2020-11-05 19:51:05 +00:00
readability-identifier-naming-objc.m
readability-identifier-naming.cpp [clang-tidy] Fix false positive in readability-identifier-naming check involving override attribute 2021-11-19 22:31:11 +13:00
readability-implicit-bool-conversion-allow-in-conditions.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
readability-implicit-bool-conversion-cxx98.cpp
readability-implicit-bool-conversion.cpp
readability-inconsistent-declaration-parameter-name-macros.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
readability-inconsistent-declaration-parameter-name-strict.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
readability-inconsistent-declaration-parameter-name.cpp [clang-tidy] Added command line option `fix-notes` 2021-03-01 22:07:11 +00:00
readability-isolate-declaration-cxx17.cpp
readability-isolate-declaration-fixing.cpp
readability-isolate-declaration-no-infinite-loop.cpp
readability-isolate-declaration.c
readability-isolate-declaration.cpp
readability-magic-numbers-bitfields.cpp Optionally exclude bitfield definitions from magic numbers check 2019-12-07 12:33:10 -05:00
readability-magic-numbers-todo.cpp Fix false positive in magic number checker. 2019-12-24 10:03:00 -05:00
readability-magic-numbers-userliteral.cpp [NFC][clang-tidy] Move recently newly-added tests into checkers/ subdir 2020-02-14 11:25:05 +03:00
readability-magic-numbers.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
readability-make-member-function-const.cpp [NFC][clang-tidy] Move recently newly-added tests into checkers/ subdir 2020-02-14 11:25:05 +03:00
readability-misleading-indentation.cpp [clang-tidy] For checker `readability-misleading-indentation` update tests. 2020-01-09 13:52:26 +02:00
readability-misplaced-array-index.cpp
readability-named-parameter.cpp
readability-non-const-parameter.cpp
readability-qualified-auto-cxx20.cpp Added readability-qualified-auto check 2020-01-14 14:06:46 -05:00
readability-qualified-auto.cpp Added readability-qualified-auto check 2020-01-14 14:06:46 -05:00
readability-redundant-access-specifiers-check-first-declaration.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
readability-redundant-access-specifiers.cpp [NFC][clang-tidy] Move recently newly-added tests into checkers/ subdir 2020-02-14 11:25:05 +03:00
readability-redundant-control-flow.cpp
readability-redundant-declaration-ignore-macros.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
readability-redundant-declaration.c
readability-redundant-declaration.cpp [clang-tidy] Fix `readability-redundant-declaration` false positive for template friend declaration 2022-01-17 20:50:32 +01:00
readability-redundant-function-ptr-dereference.cpp
readability-redundant-member-init.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
readability-redundant-preprocessor-ifdef.cpp
readability-redundant-preprocessor.cpp
readability-redundant-preprocessor.h
readability-redundant-smartptr-get-macros.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
readability-redundant-smartptr-get-msvc.cpp
readability-redundant-smartptr-get.cpp [clang-tidy] Handle uninstantiated templates in redundant get check 2021-02-27 12:08:41 +00:00
readability-redundant-string-cstr-msvc.cpp
readability-redundant-string-cstr.cpp [clang-tidy] Fix RedundantStringCStrCheck with r values 2020-07-29 15:35:31 +01:00
readability-redundant-string-init-msvc.cpp [clang-tidy] Fix readability-redundant-string-init for c++17/c++2a 2019-11-19 07:52:31 -05:00
readability-redundant-string-init.cpp [clang-tidy] Add extra tests 2021-01-05 15:43:56 +00:00
readability-simplify-bool-expr-chained-conditional-assignment.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
readability-simplify-bool-expr-chained-conditional-return.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
readability-simplify-bool-expr-members.cpp
readability-simplify-bool-expr.cpp [clang-tidy] readability-simplify-boolean-expr detects negated literals 2020-08-22 13:57:36 +01:00
readability-simplify-subscript-expr.cpp
readability-static-accessed-through-instance-nesting-threshold.cpp
readability-static-accessed-through-instance.cpp [clang-tidy] Suppress readability-static-access-through-instance for CUDA built-in variables 2021-10-26 05:45:25 +00:00
readability-static-definition-in-anonymous-namespace.cpp
readability-string-compare.cpp
readability-suspicious-call-argument.cpp [clang-tidy] Add 'readability-suspicious-call-argument' check 2021-07-19 10:18:09 +02:00
readability-uniqueptr-delete-release.cpp [clang-tidy] Added option to uniqueptr delete release check 2021-03-01 21:52:13 +00:00
readability-uppercase-literal-suffix-float16.cpp
readability-uppercase-literal-suffix-floating-point-opencl-half.cpp
readability-uppercase-literal-suffix-floating-point.cpp
readability-uppercase-literal-suffix-hexadecimal-floating-point.cpp
readability-uppercase-literal-suffix-integer-custom-list.cpp
readability-uppercase-literal-suffix-integer-macro.cpp [clang-tidy][NFC] Update tests and Default options to use boolean value 2021-05-04 18:17:56 +01:00
readability-uppercase-literal-suffix-integer-ms.cpp
readability-uppercase-literal-suffix-integer.cpp Fix bug in readability-uppercase-literal-suffix 2021-09-27 14:03:53 -04:00
readability-uppercase-literal-suffix.h
readability-use-anyofallof-cpp20.cpp Replaced C++2a with C++20 in clang-tools-extra 2020-06-03 14:54:10 +02:00
readability-use-anyofallof.cpp second attempt to fix build after add51e1 2020-06-03 15:16:36 +01:00
zircon-temporary-objects.cpp