llvm-project/clang-tools-extra/test/clang-tidy
Richard Smith 2ccecb9d88 Fix up clang-tidy after clang r314037.
llvm-svn: 314047
2017-09-22 23:47:20 +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-integer-division.cpp [clang-tidy] Add integer division check 2017-08-10 13:30:30 +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
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 Disable part of the misc-move-constructor-init checker when the check is enabled through cert-oop11-cpp. The CERT guideline does not cover moveable parameters as part of the OOP11-CPP recommendation, just copy construction from move constructors. 2016-01-08 15:50:51 +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 [clang-tidy] follow-up on misc-definitions-in-header check. 2017-06-29 08:28:45 +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.cpp [clang-tidy] Implement type-based check for `gsl::owner` 2017-09-12 20:00:42 +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
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-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] Clean up code after applying replacements. 2016-10-17 17:25:02 +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.cpp Rename the clang-tidy safety module to be hicpp, for the High-Integrity C++ coding standard from PRQA. 2017-03-19 17:23:23 +00:00
hicpp-signed-bitwise.cpp [clang-tidy] fix buildbot 2017-08-30 17:21:41 +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-argument-comment-gmock.cpp [clang-tidy] misc-argument-comment - extended gmock support 2017-02-07 11:39:56 +00:00
misc-argument-comment-strict.cpp [clang-tidy] misc-argument-comment non-strict mode 2016-08-04 14:54:54 +00:00
misc-argument-comment.cpp [clang-tidy] misc-argument-comment support for gmock 2017-02-06 15:47:17 +00:00
misc-assert-side-effect.cpp Add support to the misc-assert-side-effect check for MSVC-style assert macros, which use !! instead of an if statement or a conditional operator. 2016-01-25 20:00:53 +00:00
misc-bool-pointer-implicit-conversion.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
misc-dangling-handle.cpp [clang-tidy] Add check to detect dangling references in value handlers. 2016-03-29 18:02:26 +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-fold-init-type.cpp A clang-tidy check for std:accumulate. 2016-04-26 10:05:45 +00:00
misc-forward-declaration-namespace.cpp Remove trailing whitespace in docs and clang-tidy sources. 2016-12-13 16:38: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-inaccurate-erase.cpp [clang-tidy] Make misc-inaccurate-erase work with real C++11 containers. 2017-06-07 08:25:51 +00:00
misc-incorrect-roundings.cpp [clang-tidy] Move incorrect-roundings to upstream. 2016-02-08 10:16:13 +00:00
misc-inefficient-algorithm.cpp [clang-tidy] Fix linkage-related compiler errors in clang-tidy tests 2017-09-20 12:16:35 +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-move-const-arg.cpp [clang-tidy] Fix linkage-related compiler errors in clang-tidy tests 2017-09-20 12:16:35 +00:00
misc-move-constructor-init.cpp [clang-tidy] Supresses misc-move-constructor-init warning for const fields. 2017-02-08 14:56:16 +00:00
misc-move-forwarding-reference.cpp clang-tools-extra/test/clang-tidy/misc-move-forwarding-reference.cpp: Appease ms targets with -fno-delayed-template-parsing. 2016-08-30 12:34:03 +00:00
misc-multiple-statement-macro.cpp [clang-tidy] Add check misc-multiple-statement-macro 2016-04-14 21:15:57 +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-noexcept-move-constructor.cpp Revert "[clang-tidy] When" -fno-exceptions is used", this warning is better to be suppressed." 2017-06-09 07:34:58 +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] Catch trivially true statements like a != 1 || a != 3 2017-03-23 15:13:54 +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-constructor.cpp Remove trailing whitespace in docs and clang-tidy sources. 2016-12-13 16:38:45 +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
misc-use-after-move.cpp [clang-tidy] Added clang-tidy test cases related to rL310095 2017-08-04 19:01:56 +00:00
misc-virtual-near-miss.cpp Merge branch 'arcpatch-D16922' 2016-02-11 16:03:27 +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] Fix check for trivially copyable types in modernize-pass-by-value 2017-01-12 19:20:35 +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] New check: modernize-replace-random-shuffle. 2017-04-24 09:27:20 +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 [clang-tidy] Fix NOLINT test 2017-01-24 12:42:26 +00:00
nolintnextline.cpp [clang-tidy] Add support for NOLINTNEXTLINE. 2017-02-14 12:47:56 +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-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-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] Fixed readability-else-after-return for cascade statements 2016-11-04 16:32:14 +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] Update IdentifierNamingCheck to remove extra leading/trailing underscores 2017-04-26 16:39:11 +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: add new check that warns when function parameters should be const 2016-08-23 10:09:08 +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 Reapply r260096. 2016-02-12 15:09:05 +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