llvm-project/clang-tools-extra/clang-tidy/readability
Fangrui Song a996cc217c Remove unused #include "llvm/ADT/Optional.h" 2022-12-05 06:31:11 +00:00
..
AvoidConstParamsInDecls.cpp Remove unused #include "llvm/ADT/Optional.h" 2022-12-05 06:31:11 +00:00
AvoidConstParamsInDecls.h [clang-tidy] Add an IgnoreMacros option to readability-avoid-const-params-in-decls 2022-09-30 14:27:02 +00:00
BracesAroundStatementsCheck.cpp [clang-tidy] Fix crashes on `if consteval` in readability checks 2022-10-05 09:38:05 +03:00
BracesAroundStatementsCheck.h [clang-tidy] Simplify readability checks to not need ignoring* matchers 2021-03-28 11:25:41 +01:00
CMakeLists.txt [clang-tidy] Add `readability-container-contains` check 2022-01-24 12:57:18 +01:00
ConstReturnTypeCheck.cpp [clang-tidy] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:48 -08:00
ConstReturnTypeCheck.h [clang-tidy] Optionally ignore findings in macros in `readability-const-return-type`. 2022-11-15 14:28:03 +00:00
ContainerContainsCheck.cpp [clang-tidy] Fix logic of assertion 2022-05-19 08:13:23 +02:00
ContainerContainsCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
ContainerDataPointerCheck.cpp [clang-tidy] Avoid extra parentheses around MemberExpr 2022-07-26 22:36:00 +02:00
ContainerDataPointerCheck.h [clang-tidy] Fix lint warnings in clang-tidy source code (NFC) 2021-11-02 20:14:25 +13:00
ContainerSizeEmptyCheck.cpp [clang-tidy] Fix a regression of readability-container-size-empty after the AST ElaboratedType change. 2022-08-08 14:40:36 +02:00
ContainerSizeEmptyCheck.h [clang-tidy] Simplify implementation of container-size-empty 2021-02-05 14:03:41 +00:00
ConvertMemberFunctionsToStatic.cpp [llvm][clang][NFC] updates inline licence info 2021-08-11 02:48:53 +00:00
ConvertMemberFunctionsToStatic.h [llvm][clang][NFC] updates inline licence info 2021-08-11 02:48:53 +00:00
DeleteNullPointerCheck.cpp [clang-tidy] Simplify delete null ptr check 2021-02-17 10:18:36 +00:00
DeleteNullPointerCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
DuplicateIncludeCheck.cpp Use llvm::is_contained (NFC) 2022-08-07 00:16:17 -07:00
DuplicateIncludeCheck.h [clang-tidy] Add readability-duplicate-include check 2022-01-23 09:23:04 -07:00
ElseAfterReturnCheck.cpp [clang-tidy][NFC] Add preposition "of" to code annotation of ElseAfterReturnCheck 2022-07-22 12:40:08 +01:00
ElseAfterReturnCheck.h [clang-tidy] Simplify readability checks to not need ignoring* matchers 2021-03-28 11:25:41 +01:00
FunctionCognitiveComplexityCheck.cpp [clang-tidy] Use std::underlying_type_t (NFC) 2022-10-14 09:10:09 -07:00
FunctionCognitiveComplexityCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
FunctionSizeCheck.cpp LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-09 04:06:52 +00:00
FunctionSizeCheck.h
IdentifierLengthCheck.cpp Add a check for enforcing minimum length for variable names 2021-08-12 11:31:26 -04:00
IdentifierLengthCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
IdentifierNamingCheck.cpp [clang-tidy] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:48 -08:00
IdentifierNamingCheck.h [clang-tidy][NFC] Tweak identifier-naming options reading/writiing 2022-06-10 07:07:21 +01:00
ImplicitBoolConversionCheck.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
ImplicitBoolConversionCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
InconsistentDeclarationParameterNameCheck.cpp Use llvm::sort instead of std::sort where possible 2022-07-23 15:19:05 +02:00
InconsistentDeclarationParameterNameCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
IsolateDeclarationCheck.cpp [clang-tidy] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:48 -08:00
IsolateDeclarationCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
MagicNumbersCheck.cpp Use the range-based overload of llvm::sort where possible 2022-07-23 15:13:25 +02:00
MagicNumbersCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
MakeMemberFunctionConstCheck.cpp [clang-tidy] Skip parentheses in `readability-make-member-function-const` 2022-03-21 14:18:17 +03:00
MakeMemberFunctionConstCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
MisleadingIndentationCheck.cpp [clang-tidy] Simplify readability checks to not need ignoring* matchers 2021-03-28 11:25:41 +01:00
MisleadingIndentationCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
MisplacedArrayIndexCheck.cpp Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
MisplacedArrayIndexCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
NamedParameterCheck.cpp Use StringRef::contains (NFC) 2021-12-24 22:05:34 -08:00
NamedParameterCheck.h [clang-tidy] Simplify readability checks to not need ignoring* matchers 2021-03-28 11:25:41 +01:00
NamespaceCommentCheck.cpp [clang-tidy] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:48 -08:00
NamespaceCommentCheck.h
NonConstParameterCheck.cpp [clang-tidy] Fix `readability-non-const-parameter` for parameter referenced by an lvalue 2022-02-25 14:53:11 +08:00
NonConstParameterCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
QualifiedAutoCheck.cpp [clang-tidy] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:48 -08:00
QualifiedAutoCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
ReadabilityTidyModule.cpp [clang-tidy] Add `readability-container-contains` check 2022-01-24 12:57:18 +01:00
RedundantAccessSpecifiersCheck.cpp
RedundantAccessSpecifiersCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
RedundantControlFlowCheck.cpp [clang-tidy] RedundantControlFlowCheck::issueDiagnostic - use cast<> instead of dyn_cast<> to avoid dereference of nullptr 2022-02-12 11:05:59 +00:00
RedundantControlFlowCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
RedundantDeclarationCheck.cpp [clang-tidy] Fix `readability-redundant-declaration` false positive for template friend declaration 2022-01-17 20:50:32 +01:00
RedundantDeclarationCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
RedundantFunctionPtrDereferenceCheck.cpp Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
RedundantFunctionPtrDereferenceCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
RedundantMemberInitCheck.cpp [clang-tidy] Simplify redundant member init check 2021-02-27 12:11:44 +00:00
RedundantMemberInitCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
RedundantPreprocessorCheck.cpp [clang-tidy][NFC] replace some redundant std::string creations 2022-01-19 18:36:35 +00:00
RedundantPreprocessorCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
RedundantSmartptrGetCheck.cpp [clang-tidy] Handle uninstantiated templates in redundant get check 2021-02-27 12:08:41 +00:00
RedundantSmartptrGetCheck.h [clang-tidy] Handle uninstantiated templates in redundant get check 2021-02-27 12:08:41 +00:00
RedundantStringCStrCheck.cpp Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
RedundantStringCStrCheck.h
RedundantStringInitCheck.cpp [clang-tidy] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:48 -08:00
RedundantStringInitCheck.h [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. 2022-05-09 12:01:46 +01:00
SimplifyBooleanExprCheck.cpp [clang-tidy] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:48 -08:00
SimplifyBooleanExprCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
SimplifySubscriptExprCheck.cpp [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. 2022-05-09 12:01:46 +01:00
SimplifySubscriptExprCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
StaticAccessedThroughInstanceCheck.cpp [Clang-tidy] Check the existence of ElaboratedType's qualifiers 2022-03-01 23:52:44 +08:00
StaticAccessedThroughInstanceCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
StaticDefinitionInAnonymousNamespaceCheck.cpp [clang-tidy] Fix nested namespaces in `readability-static-definition-in-anonymous-namespace` check 2022-01-26 21:54:17 -07:00
StaticDefinitionInAnonymousNamespaceCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
StringCompareCheck.cpp Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
StringCompareCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
SuspiciousCallArgumentCheck.cpp [clang-tidy] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:48 -08:00
SuspiciousCallArgumentCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
UniqueptrDeleteReleaseCheck.cpp [clang-tidy] Simplify readability checks to not need ignoring* matchers 2021-03-28 11:25:41 +01:00
UniqueptrDeleteReleaseCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
UppercaseLiteralSuffixCheck.cpp [clang-tidy] Use std::nullopt instead of None (NFC) 2022-12-03 11:54:48 -08:00
UppercaseLiteralSuffixCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
UseAnyOfAllOfCheck.cpp [llvm][clang][NFC] updates inline licence info 2021-08-11 02:48:53 +00:00
UseAnyOfAllOfCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00