hanchenye-llvm-project/clang-tools-extra/test/clang-tidy
Gabor Horvath c6ff9c349d Fix a false positive case in ContainerSizeEmpty check (PR25893).
llvm-svn: 256142
2015-12-21 09:43:52 +00:00
..
Inputs Only copy small types in modernize-loop-convert. 2015-10-30 09:37:57 +00:00
basic.cpp [clang-tidy] Move the missing namespace comment warnings to the closing brace 2014-11-17 17:32:32 +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 Force test to a target that supports thread_local 2015-12-02 01:12:06 +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 Switch check_clang_tidy to argparse and add a -resource-dir argument. 2015-10-22 14:54:50 +00:00
clang-tidy-diff.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +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-pro-bounds-array-to-pointer-decay.cpp Fix bug 25362 "cppcoreguidelines-pro-bounds-array-to-pointer-decay does not consider const" 2015-11-17 23:35:39 +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 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-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-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 Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
custom-diagnostics.cpp Add ExtraArgs and ExtraArgsBefore options to enable clang warnings via configuration files. 2015-11-09 16:28:11 +00:00
deduplication.cpp [clang-tidy] google-explicit-constructor: improve the warning message 2015-11-28 02:25:02 +00:00
diagnostic.cpp [clang-tidy] google-explicit-constructor: improve the warning message 2015-11-28 02:25:02 +00:00
file-filter.cpp [clang-tidy] google-explicit-constructor: improve the warning message 2015-11-28 02:25:02 +00:00
fix-errors.cpp [clang-tidy] Added -fix-errors option 2014-11-03 14:06:31 +00:00
fix.cpp [clang-tidy] Add an option to export suggested fixes into a file. 2014-09-04 10:31:23 +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-explicit-constructor.cpp [clang-tidy] google-explicit-constructor: improve the warning message 2015-11-28 02:25:02 +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 [clang-tidy] Add namespaces checkers. 2014-07-16 14:16:56 +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 Switch check_clang_tidy to argparse and add a -resource-dir argument. 2015-10-22 14:54:50 +00:00
google-readability-casting.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
google-readability-namespace-comments.cpp [clang-tidy] google-readability-namespace-comments: ignore stray semicolons 2015-12-16 15:44:42 +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 Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
google-runtime-member-string-references.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
google-runtime-memset-zero-length.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
line-filter.cpp [clang-tidy] google-explicit-constructor: improve the warning message 2015-11-28 02:25:02 +00:00
llvm-include-order.cpp Switch check_clang_tidy to argparse and add a -resource-dir argument. 2015-10-22 14:54:50 +00:00
llvm-twine-local.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
macros.cpp [clang-tidy] google-explicit-constructor: improve the warning message 2015-11-28 02:25:02 +00:00
misc-argument-comment.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
misc-assert-side-effect.cpp Switch check_clang_tidy to argparse and add a -resource-dir argument. 2015-10-22 14:54:50 +00:00
misc-assign-operator-signature.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +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-inaccurate-erase.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
misc-inefficient-algorithm.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
misc-macro-parentheses.cpp [clang-tidy] misc-macro-parentheses: fix fp when using object member pointers 2015-11-10 14:32:25 +00:00
misc-move-constructor-init.cpp Make isExpensiveToCopy() tri-state. 2015-10-23 10:00:50 +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 Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
misc-non-copyable-objects.c Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
misc-non-copyable-objects.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
misc-repeated-side-effects-in-macro.c Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +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-static-assert.c Switch check_clang_tidy to argparse and add a -resource-dir argument. 2015-10-22 14:54:50 +00:00
misc-static-assert.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
misc-string-integer-assignment.cpp [clang-tidy] Check for suspicious string assignments. 2015-12-15 08:47:20 +00:00
misc-swapped-arguments.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
misc-throw-by-value-catch-by-reference.cpp Switch check_clang_tidy to argparse and add a -resource-dir argument. 2015-10-22 14:54:50 +00:00
misc-undelegated-constructor-cxx98.cpp Disable clang-tidy misc checkers when not compiling in C++ mode. Many of the checkers do not require additional testing as the tests will not compile for other languages or modes, or the checkers would never match a valid construct. 2015-08-28 19:27:19 +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 Fix bug in suggested fix that truncated variable names to 1 character. 2015-11-11 18:40:36 +00:00
misc-unused-raii.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
modernize-loop-convert-basic.cpp Use the old index identifier by default, instead of 'elem'. 2015-11-06 15:03:14 +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 Allow the alias to be of a different type. 2015-11-06 15:47:04 +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-unique.cpp Improve modernize-make-unique matcher. 2015-11-04 10:27:51 +00:00
modernize-pass-by-value.cpp Switch check_clang_tidy to argparse and add a -resource-dir argument. 2015-10-22 14:54:50 +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 Fix another crash in the redundant-void-arg check. 2015-11-02 16:18:23 +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-shrink-to-fit.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +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.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
modernize-use-default-copy.cpp Try to fix buildbots failure. 2015-11-02 10:54:50 +00:00
modernize-use-default.cpp Try to fix buildbots failure. 2015-11-02 10:54:50 +00:00
modernize-use-nullptr-basic.cpp Switch check_clang_tidy to argparse and add a -resource-dir argument. 2015-10-22 14:54:50 +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 Remove unreachable that was reached in modernize-use-nullptr. 2015-11-02 15:28:06 +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.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
move-const-arg.cpp [clang-tidy] Const std::move() argument ClangTidy check 2015-11-25 15:56:11 +00:00
nolint.cpp [clang-tidy] google-explicit-constructor: improve the warning message 2015-11-28 02:25:02 +00:00
overlapping.cpp Replacements in different files do not overlap. 2015-10-16 16:15:27 +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-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 Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
readability-container-size-empty.cpp Fix a false positive case in ContainerSizeEmpty check (PR25893). 2015-12-21 09:43:52 +00:00
readability-else-after-return.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
readability-function-size.cpp Switch check_clang_tidy to argparse and add a -resource-dir argument. 2015-10-22 14:54:50 +00:00
readability-identifier-naming.cpp clang-tidy readability identifiers: better diagnostic location 2015-12-04 20:57:03 +00:00
readability-implicit-bool-cast-allow-conditional-casts.cpp [clang-tidy] Add check readability-implicit-bool-cast 2015-10-25 15:31:25 +00:00
readability-implicit-bool-cast-cxx98.cpp [clang-tidy] Another fix for failing buildbots regarding signedness of char 2015-10-25 17:11:13 +00:00
readability-implicit-bool-cast.cpp [clang-tidy] Another fix for failing buildbots regarding signedness of char 2015-10-25 17:11:13 +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-named-parameter.cpp [clang-tidy] readability-named-parameter: don't complain about implicit parameters 2015-11-06 00:19:21 +00:00
readability-redundant-smartptr-get.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
readability-redundant-string-cstr.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +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 Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
readability-uniqueptr-delete-release.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +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 [clang-tidy] Static Analyzer checker configuration options pass-through. 2015-03-11 17:25:22 +00:00
static-analyzer.cpp Change the behavior of clang-tidy -checks=, remove -disable-checks. 2014-05-15 14:27:36 +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