llvm-project/clang-tools-extra/test/clang-tidy
Alexander Kornienko 2150390a2a [clang-tidy] readability-identifier-naming - Support for Macros
Summary:
Added support for macro definitions.
--

1. Added a pre-processor callback to catch macro definitions
2. Changed the type of the failure map so that macros and declarations can share the same map
3. Added extra tests to ensure fix-ups work using the new map
4. Added fix-ups for type aliases in variable and function declarations as part of adding the new tests

Reviewers: alexfh

Subscribers: Eugene.Zelenko, cfe-commits

Patch by James Reynolds!

Differential Revision: http://reviews.llvm.org/D21020

llvm-svn: 272993
2016-06-17 09:25:24 +00:00
..
Inputs [ClangTidy] Add an 'explain-checks' option to diagnose where each checks comes from. 2016-04-27 09:15:01 +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 Add boost-use-to-string 2016-04-29 17:58:29 +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-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 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 [clang-tidy] Update an example. NFC. 2016-04-02 03:44:23 +00:00
clang-tidy-diff.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +00:00
clang-tidy-run-with-database.cpp [clang-tidy] Fix a crash issue when clang-tidy runs with compilation database. 2016-02-26 09:19:33 +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-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-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 Fixed cppcoreguidelines-pro-type-member-init when checking records with indirect fields 2016-05-10 07:42:19 +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
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
explain-checks.cpp Fix explain-check failure test on Windows. 2016-04-27 16:39:42 +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-default-arguments.cpp [clang-tidy] new google-default-arguments check 2016-05-09 13:43:58 +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] Use proper capitalization and punctuation for diagnostic messages. 2016-01-08 15:21:40 +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 [clang-tidy] Use proper capitalization and punctuation for diagnostic messages. 2016-01-08 15:21:40 +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 [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-memset-zero-length.cpp [clang-tidy] Fix a false positive in google-runtime-memset 2016-01-11 10:26:29 +00:00
google-runtime-references.cpp [clang-tidy] More friendly warning in "google-runtime-references" when meeting an unnamed function parameter. 2016-02-04 14:06:49 +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 [clang-tidy] misc-argument-comment: don't bail out when an argument is a macro expansion (e.g. NULL). 2016-06-08 15:27:46 +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.hpp [clang-tidy] Ignore the deleted function in misc-definitions-in-headers. 2016-06-07 08:55:38 +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 [clang-tidy] Added a check for forward declaration in the potentially wrong namespace 2016-02-24 13:35:32 +00:00
misc-inaccurate-erase.cpp Add %check_clang_tidy and %clang_tidy_diff. 2015-10-22 11:31:44 +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 check broken in rL263822. 2016-03-21 18:00:43 +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] Extension of checker misc-misplaced-widening-cast 2016-04-06 12:04:51 +00:00
misc-misplaced-widening-cast.cpp [clang-tidy] Extension of checker misc-misplaced-widening-cast 2016-04-06 12:04:51 +00:00
misc-move-const-arg.cpp [clang-tidy] misc-move-const-arg: Detect if result of std::move() is being passed as a const ref argument 2016-06-16 14:32:41 +00:00
misc-move-constructor-init.cpp [clang-tidy] MoveConstructorInitCheck - Add parameter name to check message. 2016-05-03 23:07:44 +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 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-pointer-and-integral-operation-cxx98.cpp [clang-tidy] Add checker for operations between integrals and pointers 2016-04-15 16:31:15 +00:00
misc-pointer-and-integral-operation.cpp [clang-tidy] Add checker for operations between integrals and pointers 2016-04-15 16:31:15 +00:00
misc-redundant-expression.cpp [clang-tidy] Improve misc-redundant-expression and decrease false-positive 2016-05-12 04:32:47 +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 [clang-tidy] Add new checker for suspicious sizeof expressions 2016-04-15 16:36:00 +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-constructor.cpp [clang-tidy] Add FixIt for swapping arguments in string-constructor-checker. 2016-05-11 17:32:12 +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-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] Improve the robustness of a test. 2016-03-03 13:43:23 +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 [clang-tidy] Refactoring of FixHintUtils 2016-05-11 17:38:22 +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-unconventional-assign-operator.cpp [clang-tidy] Remove STL dependency from a test. 2016-05-04 12:17:55 +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 [clang-tidy] Don't delete unused parameter in class override method in anonymous namespace. 2016-04-01 07:57:30 +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.cpp [clang-tidy] Ignore function context in misc-unused-using-decls. 2016-06-03 08:05:11 +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] Adds modernize-avoid-bind check 2016-05-12 20:06:04 +00:00
modernize-deprecated-headers-cxx03.cpp Revert r261814, "check-clang-tools: Introduce the feature target-headers", corresponding to r261893. 2016-02-25 16:59:59 +00:00
modernize-deprecated-headers-cxx11.cpp Revert r261814, "check-clang-tools: Introduce the feature target-headers", corresponding to r261893. 2016-02-25 16:59:59 +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] Fix assertion failure on `at` function in modernize-loop-convert. 2016-02-08 15:59:42 +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.cpp [clang-tidy] Add modernize-make-shared check 2016-05-02 16:56:39 +00:00
modernize-make-unique.cpp Improve modernize-make-unique matcher. 2015-11-04 10:27:51 +00:00
modernize-pass-by-value-header.cpp [clang-tidy] Make 'modernize-pass-by-value' fix work on header files. 2016-03-02 09:01:25 +00:00
modernize-pass-by-value-macro-header.cpp [clang-tidy] Fix typo in test file name. 2016-05-25 09:44:35 +00:00
modernize-pass-by-value.cpp [clang-tidy] Don't rely on <array> being available. 2016-05-24 16:54:26 +00:00
modernize-raw-string-literal-delimiter.cpp clang-tidy: Add check modernize-raw-string-literal 2016-03-27 16:43:44 +00:00
modernize-raw-string-literal.cpp [Clang-tidy] Fix for crash in modernize-raw-string-literal check 2016-04-21 14:39:12 +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-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-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] modernize-use-auto: don't remove stars by default 2016-06-03 21:22:58 +00:00
modernize-use-bool-literals.cpp [Clang-tidy] modernize-use-bool-literals: documentation style. 2016-05-11 20:31:50 +00:00
modernize-use-default-copy.cpp Try to fix buildbots failure. 2015-11-02 10:54:50 +00:00
modernize-use-default-delayed.cpp Make modernize-use-default tolerant of delayed template parsing; this code was previously causing failed assertions because dyn_cast was being passed a null pointer due to the delay-parsed body. 2016-01-20 22:14:10 +00:00
modernize-use-default.cpp Try to fix buildbots failure. 2015-11-02 10:54:50 +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] Make 'modernize-use-nullptr' check ignores NULL marcos used in other macros. 2016-03-11 11:40:08 +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 a couple of modernize-use-override bugs 2016-04-04 14:31:36 +00:00
nolint.cpp [clang-tidy] Apply NOLINT filtering to Clang warnings. 2016-05-04 21:18: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-cast-in-loop.cpp [clang-tidy] Fix style issues. NFC 2016-01-29 15:21:43 +00:00
performance-unnecessary-copy-initialization.cpp [clang-tidy] UnnecessaryCopyInitialization - Extend to trigger on non-const "this" object argument if it is not modified. 2016-05-31 00:25:57 +00:00
performance-unnecessary-value-param-delayed.cpp [clang-tidy] fix a crash with -fdelayed-template-parsing in UnnecessaryValueParamCheck. 2016-04-07 14:58:13 +00:00
performance-unnecessary-value-param.cpp [clang-tidy] TypeTraits - Type is not expensive to copy when it has a deleted copy constructor. 2016-05-14 22:43:50 +00:00
readability-avoid-const-params-in-decls.cpp Fix uninitialized memory access when the token 'const' is not present in 2016-06-01 20:37:23 +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-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 [clang-tidy] readability-container-size-empty fixes 2016-04-19 13:29:05 +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 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-identifier-naming - Support for Macros 2016-06-17 09:25:24 +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-control-flow.cpp Add a new check, readability-redundant-control-flow, that check for some forms of redundant control flow statements. Currently checks for return statements at the end of a function with a void return type and continue statements at the end of looping statements. 2016-02-01 15:31:15 +00:00
readability-redundant-smartptr-get.cpp [clang-tidy] Match the type against the get() method we are calling, 2016-02-17 16:13:14 +00:00
readability-redundant-string-cstr-msvc.cpp [clang-tidy] Fix redundant-string-cstr check with msvc 14 headers. 2016-03-22 18:00:13 +00:00
readability-redundant-string-cstr.cpp [clang-tidy] Add more detection rules for redundant c_str calls. 2016-04-15 18:12:06 +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-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 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
werrors-diagnostics.cpp [clang-tidy] Improve -warnings-as-errors tests. 2016-05-05 00:09:29 +00:00
werrors-plural.cpp [clang-tidy] Improve -warnings-as-errors tests. 2016-05-05 00:09:29 +00:00
werrors.cpp [clang-tidy] Improve -warnings-as-errors tests. 2016-05-05 00:09:29 +00:00