llvm-project/clang-tools-extra/test/clang-tidy
Aaron Ballman 3d161ab6f4 Add support for NOLINT and NOLINTNEXTLINE comments mentioning specific check names.
Supports a comma-separated list of check names to be disabled on the given line. Also supports * as a wildcard to disable all lint diagnostic messages on that line.

Patch by Anton (xgsa).

llvm-svn: 320713
2017-12-14 16:13:57 +00:00
..
Inputs Fix up clang-tidy after clang r314037. 2017-09-22 23:47:20 +00:00
android-cloexec-accept.cpp [clang-tidy] Add a close-on-exec check on accept() in Android module. 2017-08-16 17:18:16 +00:00
android-cloexec-accept4.cpp [clang-tidy] Add a close-on-exec check on accept4() in Android module. 2017-08-16 17:46:18 +00:00
android-cloexec-creat.cpp [clang-tidy][Part2] Add a new module Android and three new checks 2017-06-29 17:40:57 +00:00
android-cloexec-dup.cpp [clang-tidy] Add a close-on-exec check on dup() in Android module. 2017-08-14 17:04:16 +00:00
android-cloexec-epoll-create.cpp [clang-tidy] Add a close-on-exec check on epoll_create() in Android module. 2017-08-16 18:02:49 +00:00
android-cloexec-epoll-create1.cpp [clang-tidy] Add a close-on-exec check on epoll_create1() in Android module. 2017-08-16 17:53:12 +00:00
android-cloexec-fopen.cpp [clang-tidy][Part3] Add a new module Android and three new checks. 2017-06-29 17:42:23 +00:00
android-cloexec-inotify-init.cpp [clang-tidy] Add a close-on-exec check on inotify_init() in Android module. 2017-08-14 17:25:41 +00:00
android-cloexec-inotify-init1.cpp [clang-tidy] Add a close-on-exec check on inotify_init1() in Android module. 2017-08-14 17:45:48 +00:00
android-cloexec-memfd-create.cpp [clang-tidy] Fix for buildbot. 2017-08-10 22:09:22 +00:00
android-cloexec-open.cpp [clang-tidy] Rename android-file-open-flag and fix a bug 2017-06-29 19:13:29 +00:00
android-cloexec-socket.cpp [clang-tidy] Add a new Android check "android-cloexec-socket" 2017-07-12 17:43:36 +00:00
basic.cpp [clang-tidy] Add "clang-tidy as a clang plugin" skeleton. 2016-03-03 08:58:12 +00:00
boost-use-to-string.cpp Remove trailing whitespace in docs and clang-tidy sources. 2016-12-13 16:38:45 +00:00
bugprone-argument-comment-gmock.cpp [clang-tidy] rename_check.py misc-argument-comment bugprone-argument-comment 2017-11-23 17:02:48 +00:00
bugprone-argument-comment-strict.cpp [clang-tidy] rename_check.py misc-argument-comment bugprone-argument-comment 2017-11-23 17:02:48 +00:00
bugprone-argument-comment.cpp [clang-tidy] rename_check.py misc-argument-comment bugprone-argument-comment 2017-11-23 17:02:48 +00:00
bugprone-assert-side-effect.cpp [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +00:00
bugprone-bool-pointer-implicit-conversion.cpp [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +00:00
bugprone-copy-constructor-init.cpp [clang-tidy] Fix an oversight after renaming a check 2017-11-17 12:28:58 +00:00
bugprone-dangling-handle.cpp [clang-tidy] rename_check.py misc-dangling-handle bugprone-dangling-handle 2017-11-24 09:52:05 +00:00
bugprone-fold-init-type.cpp [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +00:00
bugprone-forward-declaration-namespace.cpp [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +00:00
bugprone-inaccurate-erase.cpp [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +00:00
bugprone-integer-division.cpp [clang-tidy] Add integer division check 2017-08-10 13:30:30 +00:00
bugprone-misplaced-operator-in-strlen-in-alloc.c [clang-tidy] Detect bugs in bugprone-misplaced-operator-in-strlen-in-alloc even in the case the allocation function is called using a constant function pointer 2017-11-23 13:12:25 +00:00
bugprone-misplaced-operator-in-strlen-in-alloc.cpp [clang-tidy] Add support for operator new[] in check bugprone-misplaced-operator-in-strlen-in-alloc 2017-11-23 12:56:23 +00:00
bugprone-move-forwarding-reference.cpp [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +00:00
bugprone-multiple-statement-macro.cpp [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +00:00
bugprone-string-constructor.cpp [clang-tidy] rename_check.py misc-string-constructor bugprone-string-constructor 2017-11-23 13:49:14 +00:00
bugprone-suspicious-memset-usage.cpp [clang-tidy] Add bugprone-suspicious-memset-usage check 2017-07-14 12:15:55 +00:00
bugprone-undefined-memory-manipulation.cpp [clang-tidy] bugprone-undefined-memory-manipulation: include type into the message 2017-08-24 12:11:05 +00:00
bugprone-use-after-move.cpp [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +00:00
bugprone-virtual-near-miss.cpp [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +00:00
cert-dcl21-cpp.cpp [clang-tidy] Add new cert-dcl21-cpp check 2017-05-10 11:16:55 +00:00
cert-dcl58-cpp.cpp [clang-tidy] Add cert-dcl58-cpp (do not modify the 'std' namespace) check. 2017-02-17 08:52:51 +00:00
cert-env33-c.c Add a new check, cert-env33-c, that diagnoses uses of system(), popen(), and _popen() to execute a command processor. This check corresponds to the CERT secure coding rule: https://www.securecoding.cert.org/confluence/pages/viewpage.action?pageId=2130132 2016-02-22 16:01:06 +00:00
cert-err34-c.c Add a clang-tidy check that flags string-to-number conversion functions that have insufficient error checking, suggesting a better alternative. 2016-04-29 20:56:48 +00:00
cert-err34-c.cpp Add a clang-tidy check that flags string-to-number conversion functions that have insufficient error checking, suggesting a better alternative. 2016-04-29 20:56:48 +00:00
cert-flp30-c.c Add a new check, cert-flp30-c, that diagnoses loop induction expressions of floating-point type. This check corresponds to the CERT secure coding rule: https://www.securecoding.cert.org/confluence/display/c/FLP30-C.+Do+not+use+floating-point+variables+as+loop+counters 2016-02-19 14:03:20 +00:00
cert-limited-randomness.c Add a new clang-tidy check for cert-msc50-cpp (and cert-msc30-c) that corresponds to the CERT C++ secure coding rule: https://www.securecoding.cert.org/confluence/display/cplusplus/MSC50-CPP.+Do+not+use+std%3A%3Arand%28%29+for+generating+pseudorandom+numbers 2016-11-02 14:16:36 +00:00
cert-limited-randomness.cpp Add a new clang-tidy check for cert-msc50-cpp (and cert-msc30-c) that corresponds to the CERT C++ secure coding rule: https://www.securecoding.cert.org/confluence/display/cplusplus/MSC50-CPP.+Do+not+use+std%3A%3Arand%28%29+for+generating+pseudorandom+numbers 2016-11-02 14:16:36 +00:00
cert-oop11-cpp.cpp [clang-tidy] Move checks from misc- to performance- 2017-11-27 13:06:28 +00:00
cert-setlongjmp.cpp Switch check_clang_tidy to argparse and add a -resource-dir argument. 2015-10-22 14:54:50 +00:00
cert-static-object-exception.cpp [clang-tidy] When" -fno-exceptions is used", this warning is better to be suppressed. 2017-06-07 17:41:59 +00:00
cert-throw-exception-type.cpp Test to ensure the function does not have an unresolved or unevaluated exception specification before testing whether the function throws or not. Fixes PR25574. 2015-11-19 20:45:35 +00:00
cert-variadic-function-def.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
check_clang_tidy.py Support Objective-C/C++ source files in check_clang_tidy.py 2017-10-18 15:56:39 +00:00
clang-tidy-diff.cpp Fix windows buildbots that don't have full shell support 2017-02-17 21:31:31 +00:00
clang-tidy-run-with-database.cpp Remove most instances of REQUIRES: shell from the tools/extra tests 2016-08-16 16:07:46 +00:00
clean-up-code.cpp [clang-tidy] Format code around applied fixes 2017-03-03 11:16:34 +00:00
config-files.cpp [clang-tidy] Don't ignore default set of checks when a config file is found. 2015-02-05 14:50:17 +00:00
cppcoreguidelines-interfaces-global-init.cpp [clang-tidy] cppcoreguidelines-interfaces-global-init 2016-04-08 09:51:06 +00:00
cppcoreguidelines-no-malloc-custom.cpp [clang-tidy] Function names configurable for cppcoreguidelines-nomalloc - checker 2017-03-02 08:28:55 +00:00
cppcoreguidelines-no-malloc-no-functions.cpp [clang-tidy] Function names configurable for cppcoreguidelines-nomalloc - checker 2017-03-02 08:28:55 +00:00
cppcoreguidelines-no-malloc.cpp Fix size_t typdef in new cppcoreguidelines-no-malloc.cpp test 2016-12-13 20:25:47 +00:00
cppcoreguidelines-owning-memory-containers.cpp [clang-tidy] introduce legacy resource functions to 'cppcoreguidelines-owning-memory' 2017-10-18 16:14:15 +00:00
cppcoreguidelines-owning-memory-legacy-functions.cpp [clang-tidy] Fix 32bit platform MSVC 2017-10-18 16:40:19 +00:00
cppcoreguidelines-owning-memory.cpp [clang-tidy] Move a few more checks from misc to bugprone. 2017-11-24 14:16:29 +00:00
cppcoreguidelines-pro-bounds-array-to-pointer-decay.cpp Reverting r298421 due to using a header that's unavailable to all systems and some other post-commit review feedback. 2017-03-22 01:08:54 +00:00
cppcoreguidelines-pro-bounds-constant-array-index-c++03.cpp cppcoreguidelines-pro-bounds-constant-array-index: crash for value dependent index in c++03 mode 2016-07-14 20:00:48 +00:00
cppcoreguidelines-pro-bounds-constant-array-index-gslheader.cpp clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-bounds-constant-array-index*.cpp: Don't assume size_t were unsigned int. 2015-12-13 22:49:37 +00:00
cppcoreguidelines-pro-bounds-constant-array-index.cpp cppcoreguidelines-pro-bounds-constant-array-index: ignore implicit constructor 2016-07-19 17:02:54 +00:00
cppcoreguidelines-pro-bounds-pointer-arithmetic.cpp [clang-tidy] cppcoreguidelines-pro-bounds-pointer-arithmetic: ignore generated pointer arithmetic 2015-11-26 22:32:11 +00:00
cppcoreguidelines-pro-type-const-cast.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
cppcoreguidelines-pro-type-cstyle-cast.cpp [clang-tidy] add new check cppcoreguidelines-pro-type-cstyle-cast 2015-11-08 21:10:39 +00:00
cppcoreguidelines-pro-type-member-init-cxx98.cpp Fixed cppcoreguidelines-pro-type-member-init when checking records with indirect fields 2016-05-10 07:42:19 +00:00
cppcoreguidelines-pro-type-member-init-delayed.cpp Complete support for C++ Core Guidelines Type.6: Always initialize a member variable. 2016-04-13 11:35:47 +00:00
cppcoreguidelines-pro-type-member-init.cpp [cppcoreguidelines] Don't rely on SmallPtrSet iteration order. 2017-08-30 20:18:40 +00:00
cppcoreguidelines-pro-type-reinterpret-cast.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
cppcoreguidelines-pro-type-static-cast-downcast.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
cppcoreguidelines-pro-type-union-access.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
cppcoreguidelines-pro-type-vararg.cpp clang-tools-extra/test/clang-tidy/cppcoreguidelines-pro-type-vararg.cpp: Tweak for r270775. 2016-05-26 11:20:54 +00:00
cppcoreguidelines-slicing.cpp [clang-tidy] cppcoreguidelines-slicing: display discarded state size in bytes 2016-12-22 14:12:31 +00:00
cppcoreguidelines-special-member-functions-cxx-03.cpp Add the 'AllowSoleDefaultDtor' and 'AllowMissingMoveFunctions' options to the cppcoreguidelines-special-member-functions check. 2017-03-13 21:39:00 +00:00
cppcoreguidelines-special-member-functions-relaxed.cpp Add the 'AllowSoleDefaultDtor' and 'AllowMissingMoveFunctions' options to the cppcoreguidelines-special-member-functions check. 2017-03-13 21:39:00 +00:00
cppcoreguidelines-special-member-functions.cpp Add the 'AllowSoleDefaultDtor' and 'AllowMissingMoveFunctions' options to the cppcoreguidelines-special-member-functions check. 2017-03-13 21:39:00 +00:00
custom-diagnostics.cpp [clang-tidy] Fix the order of ExtraArgsBefore 2016-08-23 14:13:31 +00:00
deduplication.cpp [clang-tidy] google-explicit-constructor: improve the warning message 2015-11-28 02:25:02 +00:00
diagnostic.cpp Fix clang-tidy diagnostic.cpp test on Windows 2017-07-11 20:22:17 +00:00
explain-checks.cpp Fix explain-check failure test on Windows. 2016-04-27 16:39:42 +00:00
extra-args.cpp [clang-tidy] Fix the order of ExtraArgsBefore 2016-08-23 14:13:31 +00:00
file-filter.cpp [clang-tidy] Add -quiet option to suppress extra output 2017-02-09 18:32:02 +00:00
fix-errors.cpp [clang-tidy] Added -fix-errors option 2014-11-03 14:06:31 +00:00
fix.cpp [clang-tidy] Clean up code after applying replacements. 2016-10-17 17:25:02 +00:00
fuchsia-default-arguments.cpp Add a new clang-tidy module for Fuchsia as an umbrella to diagnose issues with the Fuschia and Zircon coding guidelines (https://fuchsia.googlesource.com/zircon/+/master/docs/cxx.md). Adds the first of such checkers, which detects when default arguments are declared in a function declaration or when default arguments are used at call sites. 2017-11-28 21:09:25 +00:00
google-build-explicit-make-pair.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
google-default-arguments.cpp [clang-tidy] new google-default-arguments check 2016-05-09 13:43:58 +00:00
google-explicit-constructor.cpp [clang-tidy] Fix google-explicit-constructor issue with out-of-line conversions 2017-04-18 17:26:00 +00:00
google-module.cpp [clang-tidy] Set google-readability-namespace-comments.ShortNamespaceLines to 10 2014-11-20 15:05:32 +00:00
google-namespaces.cpp Make google-build-using-namespace skip std::.*literals 2017-05-15 17:37:48 +00:00
google-objc-avoid-throwing-exception.m add check to avoid throwing objc exception according to Google Objective-C guide 2017-11-16 01:28:29 +00:00
google-objc-global-variable-declaration.m Add new check in google module for Objective-C code to ensure global variables follow the naming convention of Google Objective-C Style Guide 2017-11-07 08:53:37 +00:00
google-overloaded-unary-and.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
google-readability-casting.c [clang-tidy] google-readability-casting: don't use constructor call syntax for const types 2017-03-03 08:18:49 +00:00
google-readability-casting.cpp [clang-tidy] Ignore blank spaces between cast's ")" and its sub expr. 2017-07-12 16:38:59 +00:00
google-readability-namespace-comments.cpp [clang-tidy] Add a regression test for google-readability-namespace-comments 2017-10-13 14:11:14 +00:00
google-readability-todo.cpp Switch check_clang_tidy to argparse and add a -resource-dir argument. 2015-10-22 14:54:50 +00:00
google-runtime-int-std.cpp Switch check_clang_tidy to argparse and add a -resource-dir argument. 2015-10-22 14:54:50 +00:00
google-runtime-int.c [clang-tidy] google-runtime-int: Don't check C code. 2014-12-08 11:17:25 +00:00
google-runtime-int.cpp [clang-tidy] google-runtime-int: fix a false positive in implicit code. 2016-02-11 16:22:58 +00:00
google-runtime-member-string-references.cpp [clang-tidy] Use proper capitalization and punctuation for diagnostic messages. 2016-01-08 15:21:40 +00:00
google-runtime-references.cpp [clang-tidy] Add a whitelist option in google-runtime-references. 2016-10-10 16:38:11 +00:00
hicpp-exception-baseclass.cpp [clang-tidy] Improve hicpp-exception-baseclass to handle generic code better 2017-08-30 15:59:01 +00:00
hicpp-no-assembler-msvc.cpp [clang-tidy] Don't error on MS-style inline assembly. 2017-10-20 23:00:51 +00:00
hicpp-no-assembler.cpp [clang-tidy] Remove MSVC inline assembly test from cross-plat test. 2017-10-20 23:09:20 +00:00
hicpp-signed-bitwise-bug34747.cpp [clang-tidy] fix buildbot hicpp-signed-bitwise 2017-10-03 17:08:57 +00:00
hicpp-signed-bitwise-standard-types.cpp [clang-tidy] Fix bug 34845, offending standard bitmask types 2017-10-27 14:44:08 +00:00
hicpp-signed-bitwise-standard-types.h [clang-tidy] Fix bug 34845, offending standard bitmask types 2017-10-27 14:44:08 +00:00
hicpp-signed-bitwise.cpp Fix hicpp-signed-bitwise.cpp test on Windows, where the MSVC ABI changes enum underlying types 2017-10-03 20:37:06 +00:00
line-filter.cpp [clang-tidy] google-explicit-constructor: improve the warning message 2015-11-28 02:25:02 +00:00
list-checks.cpp Remove most instances of REQUIRES: shell from the tools/extra tests 2016-08-16 16:07:46 +00:00
llvm-include-order.cpp Analyze include order on a per-file basis. 2016-08-12 18:38:26 +00:00
llvm-twine-local.cpp [clang-tidy] TwineLocalCheck: add param # checking 2017-05-14 04:14:59 +00:00
macros.cpp [clang-tidy] google-explicit-constructor: improve the warning message 2015-11-28 02:25:02 +00:00
misc-definitions-in-headers-1z.hpp [clang-tidy] Enable inline variable definitions in headers 2017-06-28 12:47:35 +00:00
misc-definitions-in-headers.hpp [clang-tidy] follow-up on misc-definitions-in-header check. 2017-06-29 08:28:45 +00:00
misc-forwarding-reference-overload.cpp [clang-tidy] Do not dereference a null BaseType 2017-05-23 16:19:04 +00:00
misc-incorrect-roundings.cpp [clang-tidy] Move incorrect-roundings to upstream. 2016-02-08 10:16:13 +00:00
misc-lambda-function-name.cpp [clang-tidy] check for __func__/__FUNCTION__ in lambdas 2017-06-02 17:36:32 +00:00
misc-macro-parentheses-cmdline.cpp [clang-tidy] Skip reporting of not applicable fixes. 2016-03-22 17:51:27 +00:00
misc-macro-parentheses.cpp [clang-tidy] misc-macro-parentheses - avoid adding parentheses in variable declarations 2016-06-08 10:30:24 +00:00
misc-macro-repeated-side-effects.c [clang-tidy] Fix misc-macro-repeated-side-effects false positive with stringified arguments 2016-04-23 00:00:08 +00:00
misc-misplaced-const.c Add the misc-misplaced-const check to clang-tidy, which diagnoses when a const-qualifier is applied to a typedef of pointer type rather than to the pointee type. 2016-06-07 17:22:47 +00:00
misc-misplaced-const.cpp Fixing a build bot issue with duplicate explicit instantiations. 2016-06-07 17:32:07 +00:00
misc-misplaced-widening-cast-explicit-only.cpp [clang-tidy] Fix 'misc-misplaced-widening-cast' assertion error. 2017-08-29 06:25:24 +00:00
misc-misplaced-widening-cast-implicit-enabled.cpp [clang-tidy] misc-misplaced-widening-cast: Disable checking of implicit widening casts by default. 2017-04-19 14:55:58 +00:00
misc-new-delete-overloads-sized-dealloc.cpp Switch check_clang_tidy to argparse and add a -resource-dir argument. 2015-10-22 14:54:50 +00:00
misc-new-delete-overloads.cpp [clang-tidy] Fix a crash in misc-new-delete-overloads 2015-12-16 10:58:14 +00:00
misc-non-copyable-objects.c Change EOL style to LF. NFC 2017-05-09 14:56:28 +00:00
misc-non-copyable-objects.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
misc-redundant-expression.cpp [clang-tidy] Misc redundant expressions check updated for overloaded operators 2017-11-27 15:05:24 +00:00
misc-sizeof-container.cpp Switch check_clang_tidy to argparse and add a -resource-dir argument. 2015-10-22 14:54:50 +00:00
misc-sizeof-expression.cpp Remove trailing whitespace in docs and clang-tidy sources. 2016-12-13 16:38:45 +00:00
misc-static-assert.c Change EOL style to LF. NFC 2017-05-09 14:56:28 +00:00
misc-static-assert.cpp [clang-tidy] Make misc-static-assert accept assert(!"msg") 2017-06-03 10:13:55 +00:00
misc-string-compare.cpp [clang-tidy] Add check 'misc-string-compare'. 2016-12-30 10:09:46 +00:00
misc-string-integer-assignment.cpp [clang-tidy] Check for suspicious string assignments. 2015-12-15 08:47:20 +00:00
misc-string-literal-with-embedded-nul.cpp [clang-tidy] add new checker for string literal with NUL character. 2016-04-07 16:16:36 +00:00
misc-suspicious-enum-usage-strict.cpp Fix another nondeterminism in a tidy test. 2016-12-30 09:20:10 +00:00
misc-suspicious-enum-usage.cpp [clang-tidy] SuspiciousEnumUsageCheck bugfix 2017-09-12 09:40:13 +00:00
misc-suspicious-missing-comma.cpp [clang-tidy] Reduce false-positive ratio in misc-suspicious-missing-comma check. 2016-04-04 15:46:38 +00:00
misc-suspicious-semicolon-fail.cpp [clang-tidy] hasErrorOccurred() -> hasUncompilableErrorOccurred() 2017-02-08 16:11:22 +00:00
misc-suspicious-semicolon.cpp [clang-tidy] Add a check to find unintended semicolons that changes the semantics. 2016-02-11 09:23:33 +00:00
misc-suspicious-string-compare.c [clang-tidy] Enhance misc-suspicious-string-compare to move down false-positives. 2016-04-26 16:53:21 +00:00
misc-suspicious-string-compare.cpp [clang-tidy] Enhance misc-suspicious-string-compare to move down false-positives. 2016-04-26 16:53:21 +00:00
misc-swapped-arguments.cpp Remove trailing whitespace in docs and clang-tidy sources. 2016-12-13 16:38:45 +00:00
misc-throw-by-value-catch-by-reference.cpp [clang-tidy] Fix diag message for catch-by-value 2017-03-23 15:17:44 +00:00
misc-unconventional-assign-operator.cpp [clang-tidy] Don't delay parsing of templates in test for misc-unconventional-assign-operator 2017-02-15 16:32:55 +00:00
misc-undelegated-constructor-cxx98.cpp Change EOL style to LF. NFC 2017-05-09 14:56:28 +00:00
misc-undelegated-constructor.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
misc-uniqueptr-reset-release.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
misc-unused-alias-decls.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
misc-unused-parameters.c Switch check_clang_tidy to argparse and add a -resource-dir argument. 2015-10-22 14:54:50 +00:00
misc-unused-parameters.cpp [clang-tidy] Fixed misc-unused-parameters omitting parameters square brackets 2017-09-15 11:28:28 +00:00
misc-unused-raii.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
misc-unused-using-decls-errors.cpp [clang-tidy] Fix misc-unused-using-decls false positives in presence of compile errors 2017-02-09 10:41:27 +00:00
misc-unused-using-decls.cpp [clang-tidy] Fix template agrument false positives in unused-using-decls. 2016-10-11 13:50:34 +00:00
modernize-avoid-bind.cpp [Clang-tidy]: Fix modernize-avoid-bind erroneous scope resolution. 2016-10-20 11:32:47 +00:00
modernize-deprecated-headers-cxx03.cpp [clang-tidy] minor improvements in modernise-deprecated-headers check 2016-08-10 18:01:45 +00:00
modernize-deprecated-headers-cxx11.cpp [clang-tidy] minor improvements in modernise-deprecated-headers check 2016-08-10 18:01:45 +00:00
modernize-loop-convert-assert-failure.cpp [clang-tidy] Fix an assert failure in `modernize-loop-convert`. 2016-02-16 10:36:51 +00:00
modernize-loop-convert-basic.cpp [clang-tidy] Fix "Name is not a simple identifier" assertion in `modernize-loop-convert` check. 2016-03-14 12:41:24 +00:00
modernize-loop-convert-camelback.cpp Use the old index identifier by default, instead of 'elem'. 2015-11-06 15:03:14 +00:00
modernize-loop-convert-const.cpp Use the old index identifier by default, instead of 'elem'. 2015-11-06 15:03:14 +00:00
modernize-loop-convert-extra.cpp clang-tidy modernize-loop-convert: preserve type of alias declaration (bug 28341) 2016-07-20 12:32:06 +00:00
modernize-loop-convert-lowercase.cpp Use the old index identifier by default, instead of 'elem'. 2015-11-06 15:03:14 +00:00
modernize-loop-convert-negative.cpp Handle correctly containers that are data members in modernize-loop-convert. 2015-11-03 16:38:31 +00:00
modernize-loop-convert-uppercase.cpp Use the old index identifier by default, instead of 'elem'. 2015-11-06 15:03:14 +00:00
modernize-loop-convert.c Disable several more clang-tidy modernize checkers when not compiling in C++ mode. Loop conversion would make recommendations for C code, so added a test to ensure that does not happen. The pass by value, use auto and replace auto_ptr checkers would not make recommendations for C code, and are disabled for performance reasons, but do not require an extra test. 2015-08-28 17:58:10 +00:00
modernize-make-shared-header.cpp [clang-tidy] Add "MakeSmartPtrFunction" option to modernize-make-shared/unique checks. 2017-07-05 07:49:00 +00:00
modernize-make-shared.cpp [clang-tidy] Add "MakeSmartPtrFunction" option to modernize-make-shared/unique checks. 2017-07-05 07:49:00 +00:00
modernize-make-unique-header.cpp [clang-tidy] Add "MakeSmartPtrFunction" option to modernize-make-shared/unique checks. 2017-07-05 07:49:00 +00:00
modernize-make-unique-macros.cpp [clang-tidy] Ignore macros in make-unique check. 2017-08-04 11:18:00 +00:00
modernize-make-unique.cpp [clang-tidy] A follow-up fix of braced-init-list constructors in make-unique check. 2017-08-24 13:35:55 +00:00
modernize-pass-by-value-header.cpp [clang-tidy] Fix check for trivially copyable types in modernize-pass-by-value 2017-01-12 19:20:35 +00:00
modernize-pass-by-value-macro-header.cpp [clang-tidy] Fix check for trivially copyable types in modernize-pass-by-value 2017-01-12 19:20:35 +00:00
modernize-pass-by-value-multi-fixes.cpp Fix clang-tidy crash when a single fix is applied on multiple files. 2016-08-09 07:54:49 +00:00
modernize-pass-by-value.cpp [clang-tidy] Move more checks from misc- to performance- 2017-11-28 16:41:03 +00:00
modernize-raw-string-literal-delimiter.cpp [clang-tidy] Don't modernize-raw-string-literal if replacement is longer. 2017-01-24 15:18:11 +00:00
modernize-raw-string-literal-replace-shorter.cpp [clang-tidy] Don't modernize-raw-string-literal if replacement is longer. 2017-01-24 15:18:11 +00:00
modernize-raw-string-literal.cpp [clang-tidy] Don't modernize-raw-string-literal if replacement is longer. 2017-01-24 15:18:11 +00:00
modernize-redundant-void-arg-delayed.cpp Moving files that were placed in the wrong directory from r264049. 2016-03-22 13:44:36 +00:00
modernize-redundant-void-arg.c Change test to just define NULL instead of #including stddef.h. In some 2015-10-28 14:51:09 +00:00
modernize-redundant-void-arg.cpp Add support for type aliases to modernize-redundant-void-arg.cpp 2016-04-14 19:28:13 +00:00
modernize-replace-auto-ptr.cpp Switch check_clang_tidy to argparse and add a -resource-dir argument. 2015-10-22 14:54:50 +00:00
modernize-replace-random-shuffle.cpp [clang-tidy] Fix tests for ReplaceRandomShuffleCheck 2017-11-28 13:54:52 +00:00
modernize-return-braced-init-list.cpp [clang-tidy] Fix test modernize-return-braced-init-list 2017-02-15 17:37:58 +00:00
modernize-shrink-to-fit.cpp Remove trailing whitespace in docs and clang-tidy sources. 2016-12-13 16:38:45 +00:00
modernize-unary-static-assert.cpp [clang-tidy] Add new modernize use unary assert check 2017-07-12 13:43:35 +00:00
modernize-use-auto-cast-remove-stars.cpp [clang-tidy] Enhance modernize-use-auto to templated function casts 2016-12-15 10:19:56 +00:00
modernize-use-auto-cast.cpp [clang-tidy] Enhance modernize-use-auto to templated function casts 2016-12-15 10:19:56 +00:00
modernize-use-auto-iterator.cpp Switch check_clang_tidy to argparse and add a -resource-dir argument. 2015-10-22 14:54:50 +00:00
modernize-use-auto-new-remove-stars.cpp [clang-tidy] modernize-use-auto: don't remove stars by default 2016-06-03 21:22:58 +00:00
modernize-use-auto-new.cpp [clang-tidy] Enhance modernize-use-auto to casts 2016-10-31 14:43:37 +00:00
modernize-use-bool-literals-ignore-macros.cpp [clang-tidy] Add modernize-use-bool-literals.IgnoreMacros option 2017-07-17 14:43:06 +00:00
modernize-use-bool-literals.cpp [clang-tidy] Add modernize-use-bool-literals.IgnoreMacros option 2017-07-17 14:43:06 +00:00
modernize-use-default-member-init-assignment.cpp Comment out char16_t and char32_t tests 2016-12-20 22:57:21 +00:00
modernize-use-default-member-init-macros.cpp clang-tidy: add IgnoreMacros option to modernize-use-default-member-init 2017-05-08 15:13:31 +00:00
modernize-use-default-member-init.cpp [clang-tidy] Handle anonymous structs/unions in member init checks. 2017-08-01 09:54:05 +00:00
modernize-use-emplace-ignore-implicit-constructors.cpp [clang-tidy] Add modernize-use-emplace.IgnoreImplicitConstructors option 2017-08-10 12:19:05 +00:00
modernize-use-emplace.cpp [clang-tidy] modernize-use-emplace: Remove unnecessary make_tuple calls 2017-05-16 06:32:38 +00:00
modernize-use-equals-default-copy.cpp [clang-tidy] Add modernize-use-equals-default.IgnoreMacros option 2017-08-17 23:07:59 +00:00
modernize-use-equals-default-delayed.cpp [clang-tidy] Rename modernize-use-default to modernize-use-equals-default 2016-12-01 17:24:42 +00:00
modernize-use-equals-default-macros.cpp [clang-tidy] Add modernize-use-equals-default.IgnoreMacros option 2017-08-17 23:07:59 +00:00
modernize-use-equals-default.cpp [clang-tidy] Add modernize-use-equals-default.IgnoreMacros option 2017-08-17 23:07:59 +00:00
modernize-use-equals-delete.cpp [clang-tidy] Ignore private =deleted methods in macros. 2017-05-08 14:17:27 +00:00
modernize-use-noexcept-macro.cpp [clang-tidy] Use -fexceptions explicitly in the tests that need exceptions. 2017-06-08 22:25:23 +00:00
modernize-use-noexcept-opt.cpp [clang-tidy] Use -fexceptions explicitly in the tests that need exceptions. 2017-06-08 22:25:23 +00:00
modernize-use-noexcept.cpp [clang-tidy] Use -fexceptions explicitly in the tests that need exceptions. 2017-06-08 22:25:23 +00:00
modernize-use-nullptr-basic.cpp [clang-tidy] Make 'modernize-use-nullptr' check work on multiple nested implicit cast expressions. 2016-03-04 08:55:54 +00:00
modernize-use-nullptr.c Reapplying r246209, which exposed language options to the checkers. This time disable UseNullptrCheck when not compiling in C++ mode, but still allow in C++11 mode since it's likely the user wishes to modernize their code. 2015-08-28 13:20:46 +00:00
modernize-use-nullptr.cpp [clang-tidy] Fix modernize-use-nullptr only warns the first NULL argument. 2017-06-29 08:43:36 +00:00
modernize-use-override-cxx98.cpp Switch check_clang_tidy to argparse and add a -resource-dir argument. 2015-10-22 14:54:50 +00:00
modernize-use-override-ms.cpp [clang-tidy] fix a couple of modernize-use-override bugs 2016-04-04 14:31:36 +00:00
modernize-use-override.cpp [clang-tidy] Fix modernize-use-override incorrect replacement 2017-07-07 10:15:24 +00:00
modernize-use-transparent-functors.cpp Remove trailing whitespace in docs and clang-tidy sources. 2016-12-13 16:38:45 +00:00
modernize-use-using-macros.cpp [clang-tidy] A couple of minor fixes in modernize-use-using tests 2017-04-07 09:41:27 +00:00
modernize-use-using.cpp [clang-tidy] A couple of minor fixes in modernize-use-using tests 2017-04-07 09:41:27 +00:00
mpi-buffer-deref.cpp [clang-tidy] MPIBufferDerefCheck 2016-08-12 19:30:31 +00:00
mpi-type-mismatch.cpp [clang-tidy] MPITypeMismatchCheck 2016-08-02 20:29:35 +00:00
nolint.cpp Add support for NOLINT and NOLINTNEXTLINE comments mentioning specific check names. 2017-12-14 16:13:57 +00:00
nolintnextline.cpp Add support for NOLINT and NOLINTNEXTLINE comments mentioning specific check names. 2017-12-14 16:13:57 +00:00
nonstandard-file-extension.test New -assume-filename=param to check_clang_tidy.py (like clang-format) 2017-10-18 07:48:40 +00:00
objc-arc-and-properties.m [clang-tidy] Add missing test files in r316090. 2017-10-20 17:54:53 +00:00
objc-avoid-nserror-init.m add new check to find NSError init invocation 2017-11-30 19:05:08 +00:00
objc-avoid-spinlock.m add new check to find OSSpinlock usage 2017-11-27 21:30:10 +00:00
objc-forbidden-subclassing-custom.m [clang-tidy ObjC] [3/3] New check objc-forbidden-subclassing 2017-10-27 07:41:36 +00:00
objc-forbidden-subclassing.m [clang-tidy ObjC] [3/3] New check objc-forbidden-subclassing 2017-10-27 07:41:36 +00:00
objc-no-arc-or-properties.m [clang-tidy] Add missing test files in r316090. 2017-10-20 17:54:53 +00:00
objc-property-declaration-custom.m add new check for property declaration 2017-11-13 23:54:31 +00:00
objc-property-declaration.m add new check for property declaration 2017-11-13 23:54:31 +00:00
overlapping.cpp Replacements in different files do not overlap. 2015-10-16 16:15:27 +00:00
performance-faster-string-find.cpp [clang-tidy] Remove unnecessary getName() on Decls and Types feeding into a DiagnosticBuilder 2016-04-07 14:55:25 +00:00
performance-for-range-copy-warn-on-all-auto-copies.cpp [clang-tidy] ForRangeCopyCheck that warns on and fixes unnecessary copies of loop variables. 2016-01-29 15:54:26 +00:00
performance-for-range-copy.cpp [clang-tidy] Only invoke ForRangeCopyCheck on expensive-to-copy types. 2016-02-15 03:36:23 +00:00
performance-implicit-conversion-in-loop.cpp [clang-tidy] 'implicit cast' -> 'implicit conversion' 2017-08-08 14:53:52 +00:00
performance-inefficient-algorithm.cpp [clang-tidy] Move checks from misc- to performance- 2017-11-27 13:06:28 +00:00
performance-inefficient-string-concatenation.cpp [clang-tidy] Added clang-tidy test cases related to rL310095 2017-08-04 19:01:56 +00:00
performance-inefficient-vector-operation.cpp [clang-tidy] Add "emplace_back" detection in inefficient-vector-operation. 2017-05-16 10:39:55 +00:00
performance-move-const-arg-trivially-copyable.cpp [clang-tidy] Move more checks from misc- to performance- 2017-11-28 16:41:03 +00:00
performance-move-const-arg.cpp [clang-tidy] Move more checks from misc- to performance- 2017-11-28 16:41:03 +00:00
performance-move-constructor-init.cpp [clang-tidy] Move checks from misc- to performance- 2017-11-27 13:06:28 +00:00
performance-noexcept-move-constructor.cpp [clang-tidy] Move more checks from misc- to performance- 2017-11-28 16:41:03 +00:00
performance-type-promotion-in-math-fn.cpp [clang-tidy] Suggest including <cmath> if necessary in type-promotion-in-math-fn-check. 2016-12-14 06:52:23 +00:00
performance-unnecessary-copy-initialization.cpp [clang-tidy] Don't warn implicit variables in peformance-unnecessary-copy-initialization. 2016-11-08 00:45:34 +00:00
performance-unnecessary-value-param-delayed.cpp [clang-tidy] Handle constructors in performance-unnecessary-value-param 2017-01-03 12:10:44 +00:00
performance-unnecessary-value-param-header.cpp clang-tools-extra/test/clang-tidy/performance-unnecessary-value-param-header.cpp: Resolve flakiness in the test. 2017-07-13 02:06:30 +00:00
performance-unnecessary-value-param-incomplete-type.cpp [clang-tidy] Move incomplete type test into separate test file 2016-11-07 21:45:58 +00:00
performance-unnecessary-value-param.cpp [clang-tidy] Do not issue fixit for explicit template specializations 2017-07-26 00:45:41 +00:00
readability-avoid-const-params-in-decls.cpp [clang-tidy] readability-avoid-const-params-in-decls template instantiation bugfix 2016-10-11 12:02:16 +00:00
readability-braces-around-statements-assert-failure.cpp [clang-tidy] Fix an assert failure of ForStmt in `readability-braces-around-statements` check. 2016-02-16 10:31:33 +00:00
readability-braces-around-statements-few-lines.cpp Switch check_clang_tidy to argparse and add a -resource-dir argument. 2015-10-22 14:54:50 +00:00
readability-braces-around-statements-format.cpp [clang-tidy] Format code around applied fixes 2017-03-03 11:16:34 +00:00
readability-braces-around-statements-same-line.cpp Switch check_clang_tidy to argparse and add a -resource-dir argument. 2015-10-22 14:54:50 +00:00
readability-braces-around-statements-single-line.cpp Switch check_clang_tidy to argparse and add a -resource-dir argument. 2015-10-22 14:54:50 +00:00
readability-braces-around-statements.cpp [clang-tidy] Enable test for http://llvm.org/PR26228 2017-08-10 12:24:52 +00:00
readability-container-size-empty.cpp Extend readability-container-size-empty to add comparisons to empty-state objects. 2017-04-24 14:57:09 +00:00
readability-delete-null-pointer.cpp [clang-tidy] Fix for bug 31838: readability-delete-null-pointer does not work for class members 2017-02-12 20:09:59 +00:00
readability-deleted-default.cpp clang-tools-extra/test/clang-tidy/readability-deleted-default.cpp: Add -fno-ms-compatibility. 2016-04-13 23:50:45 +00:00
readability-else-after-return.cpp [clang-tidy] Ignore ExprWithCleanups when looking for else-after-throw 2017-11-28 14:57:47 +00:00
readability-function-size.cpp [clang-tidy] readability-function-size: fix nesting level calculation 2017-06-16 13:07:47 +00:00
readability-identifier-naming.cpp [clang-tidy] Correctly classify constant arrays and constant strings as constants when checking identifiers naming 2017-12-11 19:02:26 +00:00
readability-implicit-bool-conversion-allow-in-conditions.cpp [clang-tidy] 'implicit cast' -> 'implicit conversion' 2017-08-08 14:53:52 +00:00
readability-implicit-bool-conversion-cxx98.cpp [clang-tidy] 'implicit cast' -> 'implicit conversion' 2017-08-08 14:53:52 +00:00
readability-implicit-bool-conversion.cpp [clang-tidy] 'implicit cast' -> 'implicit conversion' 2017-08-08 14:53:52 +00:00
readability-inconsistent-declaration-parameter-name.cpp Switch check_clang_tidy to argparse and add a -resource-dir argument. 2015-10-22 14:54:50 +00:00
readability-misleading-indentation.cpp [clang-tidy] Added a test with a different format. 2017-03-17 10:05:49 +00:00
readability-misplaced-array-index.cpp [clang-tidy] readability-misplaced-array-index: add new check that warns when array index is misplaced. 2016-09-12 12:04:13 +00:00
readability-named-parameter.cpp [clang-tidy] readability-named-parameter: don't complain about implicit parameters 2015-11-06 00:19:21 +00:00
readability-non-const-parameter.cpp [clang-tidy] readability-non-const-parameter fixes should update all declarations 2017-11-27 12:42:04 +00:00
readability-redundant-control-flow.cpp [clang-tidy] Bugfix for readability-redundant-control-flow check 2016-09-16 10:12:08 +00:00
readability-redundant-declaration-ignore-macros.cpp [clang-tidy] readability-redundant-declaration: ignore friends and macros 2017-07-28 12:46:02 +00:00
readability-redundant-declaration.cpp [clang-tidy] readability-redundant-declaration: ignore friends and macros 2017-07-28 12:46:02 +00:00
readability-redundant-function-ptr-dereference.cpp [clang-tidy] Expand readability-redundant-function-ptr-dereference test 2017-07-28 12:46:08 +00:00
readability-redundant-member-init.cpp [clang-tidy] Handle anonymous structs/unions in member init checks. 2017-08-01 09:54:05 +00:00
readability-redundant-smartptr-get.cpp [clang-tidy] Added clang-tidy test cases related to rL310095 2017-08-04 19:01:56 +00:00
readability-redundant-string-cstr-msvc.cpp [clang-tidy] Handle data() in readability-redundant-string-cstr 2016-11-03 12:56:48 +00:00
readability-redundant-string-cstr.cpp [clang-tidy] Handle data() in readability-redundant-string-cstr 2016-11-03 12:56:48 +00:00
readability-redundant-string-init-msvc.cpp [clang-tidy] Fix broken test with redundant string init (msvc). 2016-03-22 18:21:17 +00:00
readability-redundant-string-init.cpp [clang-tidy] Fix FP with readability-redundant-string-init for default arguments 2016-04-07 14:18:53 +00:00
readability-simplify-bool-expr-chained-conditional-assignment.cpp Switch check_clang_tidy to argparse and add a -resource-dir argument. 2015-10-22 14:54:50 +00:00
readability-simplify-bool-expr-chained-conditional-return.cpp Switch check_clang_tidy to argparse and add a -resource-dir argument. 2015-10-22 14:54:50 +00:00
readability-simplify-bool-expr.cpp [clang-tidy] make readability-simplify-bool-expr completely ignore macros 2017-11-29 17:16:09 +00:00
readability-static-accessed-through-instance-nesting-threshold.cpp [clang-tidy] Add new readability non-idiomatic static access check 2017-08-08 15:33:48 +00:00
readability-static-accessed-through-instance.cpp [clang-tidy] Fix a check-fixes line 2017-08-10 09:29:39 +00:00
readability-static-definition-in-anonymous-namespace.cpp [clang-tidy] Add a check to detect static definitions in anonymous namespace. 2016-04-05 11:42:08 +00:00
readability-uniqueptr-delete-release.cpp [clang-tidy] Added clang-tidy test cases related to rL310095 2017-08-04 19:01:56 +00:00
select-checks.cpp [clang-tidy] Move the missing namespace comment warnings to the closing brace 2014-11-17 17:32:32 +00:00
serialize-diagnostics.cpp [clang-tidy] Make a test independent of the default check set. 2014-12-03 13:48:46 +00:00
static-analyzer-config.cpp Remove trailing whitespace in docs and clang-tidy sources. 2016-12-13 16:38:45 +00:00
static-analyzer.cpp Remove mentions of clang-analyzer-alpha 2016-11-08 18:12:56 +00:00
temporaries.cpp Change the behavior of clang-tidy -checks=, remove -disable-checks. 2014-05-15 14:27:36 +00:00
validate-check-names.cpp [clang-tidy] Allow use of -list-checks option without need to pass source files. 2015-08-17 10:03:27 +00:00
werrors-diagnostics.cpp [clang-tidy] Add -quiet option to suppress extra output 2017-02-09 18:32:02 +00:00
werrors-plural.cpp [clang-tidy] Add -quiet option to suppress extra output 2017-02-09 18:32:02 +00:00
werrors.cpp [clang-tidy] Add -quiet option to suppress extra output 2017-02-09 18:32:02 +00:00