llvm-project/clang-tools-extra/clang-tidy/bugprone
Kazu Hirata 12b29900a1 Use any_of (NFC) 2022-07-30 10:35:56 -07:00
..
ArgumentCommentCheck.cpp [clang-tidy] bugprone-argument-comment: Ignore calls to user-defined literals 2022-06-20 13:30:30 +01:00
ArgumentCommentCheck.h
AssertSideEffectCheck.cpp [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. 2022-05-09 12:01:46 +01:00
AssertSideEffectCheck.h [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. 2022-05-09 12:01:46 +01:00
AssignmentInIfConditionCheck.cpp new clang-tidy checker for assignments within condition clause of if statement 2022-07-05 23:04:12 +02:00
AssignmentInIfConditionCheck.h new clang-tidy checker for assignments within condition clause of if statement 2022-07-05 23:04:12 +02:00
BadSignalToKillThreadCheck.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
BadSignalToKillThreadCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
BoolPointerImplicitConversionCheck.cpp Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
BoolPointerImplicitConversionCheck.h
BranchCloneCheck.cpp [clang-tidy] Don't treat invalid branches as identical 2022-07-03 15:50:33 -06:00
BranchCloneCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
BugproneTidyModule.cpp new clang-tidy checker for assignments within condition clause of if statement 2022-07-05 23:04:12 +02:00
CMakeLists.txt new clang-tidy checker for assignments within condition clause of if statement 2022-07-05 23:04:12 +02:00
CopyConstructorInitCheck.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
CopyConstructorInitCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
DanglingHandleCheck.cpp [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. 2022-05-09 12:01:46 +01:00
DanglingHandleCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
DynamicStaticInitializersCheck.cpp [clang-tidy] Add support for diagnostics with no location 2020-12-08 20:29:31 +00:00
DynamicStaticInitializersCheck.h [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. 2022-05-09 12:01:46 +01:00
EasilySwappableParametersCheck.cpp Don't use Optional::getValue (NFC) 2022-06-20 23:35:53 -07:00
EasilySwappableParametersCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
ExceptionEscapeCheck.cpp [clang-tidy][NFC] Tweak some generation of diag messages 2021-02-26 19:10:25 +00:00
ExceptionEscapeCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
FoldInitTypeCheck.cpp
FoldInitTypeCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
ForwardDeclarationNamespaceCheck.cpp Use {DenseSet,SetVector,SmallPtrSet}::contains (NFC) 2021-10-30 19:00:19 -07:00
ForwardDeclarationNamespaceCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
ForwardingReferenceOverloadCheck.cpp [clang-tidy] Fix lint warnings in clang-tidy source code (NFC) 2021-11-02 20:14:25 +13:00
ForwardingReferenceOverloadCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
ImplicitWideningOfMultiplicationResultCheck.cpp [clang-tidy] Add a Standalone diagnostics mode to clang-tidy 2022-04-16 09:53:35 +01:00
ImplicitWideningOfMultiplicationResultCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
InaccurateEraseCheck.cpp [clang-tidy] Simplify inaccurate erase check 2021-02-13 13:51:27 +00:00
InaccurateEraseCheck.h [clang-tidy] Simplify inaccurate erase check 2021-02-13 13:51:27 +00:00
IncorrectRoundingsCheck.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
IncorrectRoundingsCheck.h
InfiniteLoopCheck.cpp bugfix in InfiniteLoopCheck to not print warnings for unevaluated loops 2022-05-23 20:18:49 -07:00
InfiniteLoopCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
IntegerDivisionCheck.cpp Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
IntegerDivisionCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
LambdaFunctionNameCheck.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
LambdaFunctionNameCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
MacroParenthesesCheck.cpp [clang-tidy] Avoid bugprone-macro-parentheses warnings after goto argument 2021-04-22 10:14:10 +03:00
MacroParenthesesCheck.h
MacroRepeatedSideEffectsCheck.cpp Use any_of (NFC) 2022-07-22 01:05:17 -07:00
MacroRepeatedSideEffectsCheck.h
MisplacedOperatorInStrlenInAllocCheck.cpp Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
MisplacedOperatorInStrlenInAllocCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
MisplacedPointerArithmeticInAllocCheck.cpp
MisplacedPointerArithmeticInAllocCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
MisplacedWideningCastCheck.cpp Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
MisplacedWideningCastCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
MoveForwardingReferenceCheck.cpp
MoveForwardingReferenceCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
MultipleStatementMacroCheck.cpp [clang-tidy] Fix lint warnings in clang-tidy source code (NFC) 2021-11-02 20:14:25 +13:00
MultipleStatementMacroCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
NoEscapeCheck.cpp
NoEscapeCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
NotNullTerminatedResultCheck.cpp Use value instead of getValue (NFC) 2022-07-15 20:03:13 -07:00
NotNullTerminatedResultCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
ParentVirtualCallCheck.cpp Use any_of (NFC) 2022-07-30 10:35:56 -07:00
ParentVirtualCallCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
PosixReturnCheck.cpp
PosixReturnCheck.h
RedundantBranchConditionCheck.cpp [clang-tidy] Simplify redundant branch condition check 2021-02-27 12:13:23 +00:00
RedundantBranchConditionCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
ReservedIdentifierCheck.cpp [clang-tools-extra] Use value_or instead of getValueOr (NFC) 2022-06-19 00:13:38 -07:00
ReservedIdentifierCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
SharedPtrArrayMismatchCheck.cpp [clang-tidy] Add new check 'shared-ptr-array-mismatch'. 2022-02-07 12:57:58 +01:00
SharedPtrArrayMismatchCheck.h Remove redundaunt virtual specifiers (NFC) 2022-07-25 23:00:59 -07:00
SignalHandlerCheck.cpp [clang-tidy] Silence unused variable warning in release builds. NFCI. 2022-04-07 11:00:28 +02:00
SignalHandlerCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
SignedCharMisuseCheck.cpp [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. 2022-05-09 12:01:46 +01:00
SignedCharMisuseCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
SizeofContainerCheck.cpp
SizeofContainerCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
SizeofExpressionCheck.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
SizeofExpressionCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
SmartPtrArrayMismatchCheck.cpp [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
SmartPtrArrayMismatchCheck.h [clang-tidy] Add new check 'shared-ptr-array-mismatch'. 2022-02-07 12:57:58 +01:00
SpuriouslyWakeUpFunctionsCheck.cpp [clang-tidy] Use new mapping matchers 2021-02-03 23:21:17 +00:00
SpuriouslyWakeUpFunctionsCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
StringConstructorCheck.cpp [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. 2022-05-09 12:01:46 +01:00
StringConstructorCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
StringIntegerAssignmentCheck.cpp
StringIntegerAssignmentCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
StringLiteralWithEmbeddedNulCheck.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
StringLiteralWithEmbeddedNulCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
StringviewNullptrCheck.cpp [libTooling] Generalize string explanation as templated metadata 2022-03-21 20:39:35 +00:00
StringviewNullptrCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
SuspiciousEnumUsageCheck.cpp [clang-tidy] Simplify suspicious enum usage check 2021-02-27 12:11:45 +00:00
SuspiciousEnumUsageCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
SuspiciousIncludeCheck.cpp [clang][lex] NFCI: Use FileEntryRef in PPCallbacks::InclusionDirective() 2022-04-14 10:46:12 +02:00
SuspiciousIncludeCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
SuspiciousMemoryComparisonCheck.cpp Don't use Optional::hasValue (NFC) 2022-06-20 11:33:56 -07:00
SuspiciousMemoryComparisonCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
SuspiciousMemsetUsageCheck.cpp [clang-tidy] Fix a crash on invalid code for memset-usage check. 2021-05-19 09:53:18 +02:00
SuspiciousMemsetUsageCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
SuspiciousMissingCommaCheck.cpp [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. 2022-05-09 12:01:46 +01:00
SuspiciousMissingCommaCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
SuspiciousSemicolonCheck.cpp
SuspiciousSemicolonCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
SuspiciousStringCompareCheck.cpp [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. 2022-05-09 12:01:46 +01:00
SuspiciousStringCompareCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
SwappedArgumentsCheck.cpp
SwappedArgumentsCheck.h
TerminatingContinueCheck.cpp [clang-tidy] Fix bugprone-terminating-continue when continue appears inside a switch 2021-03-20 10:59:37 +00:00
TerminatingContinueCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
ThrowKeywordMissingCheck.cpp [clang-tidy][#51939] Exempt placement-new expressions from 'bugprone-throw-keyword-missing' 2021-12-15 16:59:14 +01:00
ThrowKeywordMissingCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
TooSmallLoopVariableCheck.cpp Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
TooSmallLoopVariableCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
UncheckedOptionalAccessCheck.cpp [clang][dataflow] Use NoopLattice in optional model 2022-06-29 20:10:42 +00:00
UncheckedOptionalAccessCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
UndefinedMemoryManipulationCheck.cpp
UndefinedMemoryManipulationCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
UndelegatedConstructorCheck.cpp Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
UndelegatedConstructorCheck.h
UnhandledExceptionAtNewCheck.cpp [clang-tidy] Add new check 'bugprone-unhandled-exception-at-new'. 2021-04-14 09:33:11 +02:00
UnhandledExceptionAtNewCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
UnhandledSelfAssignmentCheck.cpp [clang-tidy] Use new mapping matchers 2021-02-03 23:21:17 +00:00
UnhandledSelfAssignmentCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
UnusedRaiiCheck.cpp [clang-tidy] Use `hasCanonicalType()` matcher in `bugprone-unused-raii` check 2021-12-02 01:53:12 +01:00
UnusedRaiiCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
UnusedReturnValueCheck.cpp [clang-tidy][NFC] Replace many instances of std::string where a StringRef would suffice. 2022-05-09 12:01:46 +01:00
UnusedReturnValueCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
UseAfterMoveCheck.cpp Use llvm::sort instead of std::sort where possible 2022-07-23 15:19:05 +02:00
UseAfterMoveCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00
VirtualNearMissCheck.cpp [clang-tidy] checkOverridingFunctionReturnType - use castAs<> instead of getAs<> to avoid dereference of nullptr 2022-02-12 10:41:43 +00:00
VirtualNearMissCheck.h [clang-tidy] Organize check doc files into subdirectories (NFC) 2022-06-16 16:06:20 -06:00