llvm-project/clang-tools-extra/clang-tidy/readability
Nathan James 36fcbb838c Added readability-qualified-auto check
Adds a check that detects any auto variables that are deduced to a pointer or
a const pointer then adds in the const and asterisk according. Will also
check auto L value references that could be written as const. This relates
to the coding standard
https://llvm.org/docs/CodingStandards.html#beware-unnecessary-copies-with-auto
2020-01-14 14:06:46 -05:00
..
AvoidConstParamsInDecls.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AvoidConstParamsInDecls.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
BracesAroundStatementsCheck.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
BracesAroundStatementsCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
CMakeLists.txt Added readability-qualified-auto check 2020-01-14 14:06:46 -05:00
ConstReturnTypeCheck.cpp Fix readability-const-return-type identifying the wrong `const` token 2019-12-24 10:10:01 -05:00
ConstReturnTypeCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
ContainerSizeEmptyCheck.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ContainerSizeEmptyCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
ConvertMemberFunctionsToStatic.cpp Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
ConvertMemberFunctionsToStatic.h [clang-tidy] initial version of readability-convert-member-functions-to-static 2019-07-16 21:19:00 +00:00
DeleteNullPointerCheck.cpp DeleteNullPointerCheck now deletes until the end brace of the condition. 2019-05-26 17:00:38 +00:00
DeleteNullPointerCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
DeletedDefaultCheck.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
DeletedDefaultCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
ElseAfterReturnCheck.cpp Handle init statements in readability-else-after-return 2020-01-02 13:39:27 -05:00
ElseAfterReturnCheck.h Handle init statements in readability-else-after-return 2020-01-02 13:39:27 -05:00
FunctionSizeCheck.cpp Fix file headers. NFC 2019-03-01 09:52:53 +00:00
FunctionSizeCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
IdentifierNamingCheck.cpp Fix readability-identifier-naming missing member variables 2020-01-13 13:28:55 -05:00
IdentifierNamingCheck.h NFC: Fix trivial typos in comments 2020-01-04 10:28:41 -05:00
ImplicitBoolConversionCheck.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ImplicitBoolConversionCheck.h Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
InconsistentDeclarationParameterNameCheck.cpp NFC: Fix trivial typos in comments 2020-01-04 10:28:41 -05:00
InconsistentDeclarationParameterNameCheck.h Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
IsolateDeclarationCheck.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
IsolateDeclarationCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
MagicNumbersCheck.cpp [APFloat] Fix checked error assert failures 2020-01-09 09:42:32 +02:00
MagicNumbersCheck.h Optionally exclude bitfield definitions from magic numbers check 2019-12-07 12:33:10 -05:00
MakeMemberFunctionConstCheck.cpp [clang-tidy] Add readability-make-member-function-const 2019-11-06 09:27:02 +01:00
MakeMemberFunctionConstCheck.h [clang-tidy] Add readability-make-member-function-const 2019-11-06 09:27:02 +01:00
MisleadingIndentationCheck.cpp [clang-tidy] Disable match on `if constexpr` statements in template instantiation for `readability-misleading-indentation` check. 2020-01-08 16:36:13 +02:00
MisleadingIndentationCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
MisplacedArrayIndexCheck.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
MisplacedArrayIndexCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
NamedParameterCheck.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
NamedParameterCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
NamespaceCommentCheck.cpp [clang-tidy] Fix PR26274 2019-12-06 10:10:15 +01:00
NamespaceCommentCheck.h Revert "Fix llvm-namespace-comment for macro expansions" 2019-12-03 20:30:41 +01:00
NonConstParameterCheck.cpp [NFC] Refactor representation of materialized temporaries 2019-11-19 18:20:45 +01:00
NonConstParameterCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
QualifiedAutoCheck.cpp Added readability-qualified-auto check 2020-01-14 14:06:46 -05:00
QualifiedAutoCheck.h Added readability-qualified-auto check 2020-01-14 14:06:46 -05:00
ReadabilityTidyModule.cpp Added readability-qualified-auto check 2020-01-14 14:06:46 -05:00
RedundantAccessSpecifiersCheck.cpp Add the readability-redundant-access-specifiers check. 2019-10-30 13:30:57 -04:00
RedundantAccessSpecifiersCheck.h Add the readability-redundant-access-specifiers check. 2019-10-30 13:30:57 -04:00
RedundantControlFlowCheck.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RedundantControlFlowCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
RedundantDeclarationCheck.cpp [clang-tidy] readability-redundant-declaration: fix false positive with C "extern inline" 2019-05-13 19:21:57 +00:00
RedundantDeclarationCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
RedundantFunctionPtrDereferenceCheck.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RedundantFunctionPtrDereferenceCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
RedundantMemberInitCheck.cpp [clang-tidy] Give readability-redundant-member-init an option IgnoreBaseInCopyConstructors to avoid breaking code with gcc -Werror=extra 2019-11-19 10:59:21 -05:00
RedundantMemberInitCheck.h [clang-tidy] Give readability-redundant-member-init an option IgnoreBaseInCopyConstructors to avoid breaking code with gcc -Werror=extra 2019-11-19 10:59:21 -05:00
RedundantPreprocessorCheck.cpp [clang-tools-extra] Migrate llvm::make_unique to std::make_unique 2019-08-14 23:52:23 +00:00
RedundantPreprocessorCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
RedundantSmartptrGetCheck.cpp Fixed: Duck-typing in readability-redundant-smartptr-get didn't catch MSVC STL smart pointers. 2019-05-02 16:41:28 +00:00
RedundantSmartptrGetCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
RedundantStringCStrCheck.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RedundantStringCStrCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
RedundantStringInitCheck.cpp [clang-tidy] Fix readability-redundant-string-init for c++17/c++2a 2019-11-19 07:52:31 -05:00
RedundantStringInitCheck.h [clang-tidy] Give readability-redundant-string-init a customizable list of string types to fix 2019-11-15 18:09:42 -05:00
SimplifyBooleanExprCheck.cpp [clang-tidy] Handle member variables in readability-simplify-boolean-expr 2019-05-16 12:35:00 +00:00
SimplifyBooleanExprCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
SimplifySubscriptExprCheck.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
SimplifySubscriptExprCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
StaticAccessedThroughInstanceCheck.cpp [clang-tidy] Fix invalid fixit for readability-static-accessed-through-instance (bug 40544) 2019-05-14 18:23:10 +00:00
StaticAccessedThroughInstanceCheck.h Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
StaticDefinitionInAnonymousNamespaceCheck.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
StaticDefinitionInAnonymousNamespaceCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
StringCompareCheck.cpp Fix file headers. NFC 2019-03-01 09:52:53 +00:00
StringCompareCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
UniqueptrDeleteReleaseCheck.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
UniqueptrDeleteReleaseCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
UppercaseLiteralSuffixCheck.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
UppercaseLiteralSuffixCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00