llvm-project/clang-tools-extra/clang-tidy/bugprone
Stephen Kelly 77056fe58e [clang-tidy] Simplify throw keyword missing check
Extend test to verify that it does not match in template instantiations.

Differential Revision: https://reviews.llvm.org/D96132
2021-02-20 22:07:20 +00:00
..
ArgumentCommentCheck.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
ArgumentCommentCheck.h Add a bugprone-argument-comment option: IgnoreSingleArgument. 2019-09-05 14:48:23 +00:00
AssertSideEffectCheck.cpp [clang-tidy] bugprone-assert-side-effect: Warn on NSAssert by default. 2021-01-28 22:31:49 -08:00
AssertSideEffectCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
BadSignalToKillThreadCheck.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
BadSignalToKillThreadCheck.h [clang-tidy] Add bugprone-bad-signal-to-kill-thread check and its alias cert-pos44-c 2019-11-11 17:47:14 +01:00
BoolPointerImplicitConversionCheck.cpp Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
BoolPointerImplicitConversionCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
BranchCloneCheck.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
BranchCloneCheck.h [clang-tidy][NFC] Remove unnecessary includes throughout clang-tidy header files 2020-06-29 16:05:52 +01:00
BugproneTidyModule.cpp [clang-tidy] Add signal-handler-check for SEI CERT rule SIG30-C 2020-11-04 16:42:30 +01:00
CMakeLists.txt [clang-tidy] Add signal-handler-check for SEI CERT rule SIG30-C 2020-11-04 16:42:30 +01:00
CopyConstructorInitCheck.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
CopyConstructorInitCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
DanglingHandleCheck.cpp Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
DanglingHandleCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
DynamicStaticInitializersCheck.cpp [clang-tidy] Add support for diagnostics with no location 2020-12-08 20:29:31 +00:00
DynamicStaticInitializersCheck.h [clang-tidy] Use ; as separator for HeaderFileExtensions 2020-03-09 11:32:44 -06:00
ExceptionEscapeCheck.cpp [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
ExceptionEscapeCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
FoldInitTypeCheck.cpp [clang-tools-extra] NFC: Fix trivial typo in documents and comments 2020-04-05 15:28:40 +09:00
FoldInitTypeCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
ForwardDeclarationNamespaceCheck.cpp NFC: Fix trivial typos in comments 2020-01-04 10:28:41 -05:00
ForwardDeclarationNamespaceCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
ForwardingReferenceOverloadCheck.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
ForwardingReferenceOverloadCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00: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 Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
InfiniteLoopCheck.cpp [clang-tidy] Use new mapping matchers 2021-02-03 23:21:17 +00:00
InfiniteLoopCheck.h [clang-tidy] Add missing InfiniteLoopCheck.h, InfiniteLoopCheck.cpp and test from D64736 2019-09-24 09:06:31 +00:00
IntegerDivisionCheck.cpp Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
IntegerDivisionCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
LambdaFunctionNameCheck.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
LambdaFunctionNameCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
MacroParenthesesCheck.cpp [Clang-Tidy] Quick fix for bug in bugprone-macro-parentheses 43804 2019-12-02 08:50:51 +01:00
MacroParenthesesCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
MacroRepeatedSideEffectsCheck.cpp Avoid including Builtins.h in Preprocessor.h 2019-11-15 16:45:16 -08:00
MacroRepeatedSideEffectsCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
MisplacedOperatorInStrlenInAllocCheck.cpp Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
MisplacedOperatorInStrlenInAllocCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
MisplacedPointerArithmeticInAllocCheck.cpp [clang-tidy] Crash fix for bugprone-misplaced-pointer-arithmetic-in-alloc 2020-09-16 13:16:44 +02:00
MisplacedPointerArithmeticInAllocCheck.h [clang-tidy] New check: bugprone-misplaced-pointer-arithmetic-in-alloc 2020-01-21 14:38:15 +01:00
MisplacedWideningCastCheck.cpp Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
MisplacedWideningCastCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
MoveForwardingReferenceCheck.cpp [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
MoveForwardingReferenceCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
MultipleStatementMacroCheck.cpp Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
MultipleStatementMacroCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
NoEscapeCheck.cpp Warn pointer captured in async block 2020-07-07 13:31:14 -04:00
NoEscapeCheck.h Warn pointer captured in async block 2020-07-07 13:31:14 -04:00
NotNullTerminatedResultCheck.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
NotNullTerminatedResultCheck.h [clang-tidy][NFC] Remove unnecessary includes throughout clang-tidy header files 2020-06-29 16:05:52 +01:00
ParentVirtualCallCheck.cpp Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
ParentVirtualCallCheck.h Remove +x permission on some files 2019-11-16 14:47:20 +01:00
PosixReturnCheck.cpp [clang-tidy][NFC] Remove unnecessary includes throughout clang-tidy header files 2020-06-29 16:05:52 +01:00
PosixReturnCheck.h [clang-tidy] add checks to bugprone-posix-return 2019-09-16 21:43:56 +00:00
RedundantBranchConditionCheck.cpp [clang-tidy] false-positive for bugprone-redundant-branch-condition in case of passed-by-ref params 2020-12-11 21:09:51 +03:00
RedundantBranchConditionCheck.h [Clang-Tidy] New check `bugprone-redundant-branch-condition` 2020-08-31 16:00:59 +02:00
ReservedIdentifierCheck.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
ReservedIdentifierCheck.h Add `bugprone-reserved-identifier` 2020-01-17 08:44:21 -05:00
SignalHandlerCheck.cpp [clang-tidy] Add signal-handler-check for SEI CERT rule SIG30-C 2020-11-04 16:42:30 +01:00
SignalHandlerCheck.h [clang-tidy] Add signal-handler-check for SEI CERT rule SIG30-C 2020-11-04 16:42:30 +01:00
SignedCharMisuseCheck.cpp Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
SignedCharMisuseCheck.h [clang-tidy]: Add cert-str34-c alias for bugprone-signed-char-misuse. 2020-05-06 12:36:01 +02:00
SizeofContainerCheck.cpp [NFC] use hasAnyOperatorName and hasAnyOverloadedOperatorName functions in clang-tidy matchers 2020-03-10 00:42:21 +00:00
SizeofContainerCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
SizeofExpressionCheck.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
SizeofExpressionCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
SpuriouslyWakeUpFunctionsCheck.cpp [clang-tidy] Use new mapping matchers 2021-02-03 23:21:17 +00:00
SpuriouslyWakeUpFunctionsCheck.h [clang-tidy] Add spuriously-wake-up-functions check 2020-03-21 12:04:03 +01:00
StringConstructorCheck.cpp [clang-tidy] Extend bugprone-string-constructor-check to std::string_view. 2020-11-18 21:16:03 -05:00
StringConstructorCheck.h [clang-tidy] Extend bugprone-string-constructor-check to std::string_view. 2020-11-18 21:16:03 -05:00
StringIntegerAssignmentCheck.cpp [NFC] use hasAnyOperatorName and hasAnyOverloadedOperatorName functions in clang-tidy matchers 2020-03-10 00:42:21 +00:00
StringIntegerAssignmentCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
StringLiteralWithEmbeddedNulCheck.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
StringLiteralWithEmbeddedNulCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
SuspiciousEnumUsageCheck.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
SuspiciousEnumUsageCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
SuspiciousIncludeCheck.cpp [clang-tidy] Add support for diagnostics with no location 2020-12-08 20:29:31 +00:00
SuspiciousIncludeCheck.h [clang-tidy] New check: bugprone-suspicious-include 2020-03-12 09:59:28 -06:00
SuspiciousMemsetUsageCheck.cpp [clang-tidy] More strict on matching the standard memset function in memset-usage check. 2020-07-10 11:42:35 +02:00
SuspiciousMemsetUsageCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
SuspiciousMissingCommaCheck.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
SuspiciousMissingCommaCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
SuspiciousSemicolonCheck.cpp clang-{tools,unittests}: Stop using SourceManager::getBuffer, NFC 2020-10-15 00:35:16 -04:00
SuspiciousSemicolonCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
SuspiciousStringCompareCheck.cpp [clang-tidy] Use new mapping matchers 2021-02-03 23:21:17 +00:00
SuspiciousStringCompareCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
SwappedArgumentsCheck.cpp Remove \brief commands from doxygen comments. 2019-08-22 11:32:57 +00:00
SwappedArgumentsCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
TerminatingContinueCheck.cpp [clang-tidy] Applied clang-tidy fixes. NFC 2021-01-29 01:01:19 +01:00
TerminatingContinueCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
ThrowKeywordMissingCheck.cpp [clang-tidy] Simplify throw keyword missing check 2021-02-20 22:07:20 +00:00
ThrowKeywordMissingCheck.h [clang-tidy] Simplify throw keyword missing check 2021-02-20 22:07:20 +00:00
TooSmallLoopVariableCheck.cpp Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
TooSmallLoopVariableCheck.h [clang-tidy] Add MagnitudeBitsUpperLimit option to bugprone-too-small-loop-variable 2019-04-14 12:47:48 +00:00
UndefinedMemoryManipulationCheck.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
UndefinedMemoryManipulationCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
UndelegatedConstructorCheck.cpp Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
UndelegatedConstructorCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
UnhandledSelfAssignmentCheck.cpp [clang-tidy] Use new mapping matchers 2021-02-03 23:21:17 +00:00
UnhandledSelfAssignmentCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
UnusedRaiiCheck.cpp Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
UnusedRaiiCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
UnusedReturnValueCheck.cpp [clang-tidy] Expand the list of functions in bugprone-unused-return-value 2020-05-22 12:57:58 -04:00
UnusedReturnValueCheck.h [clang-tidy] Switch checks to #include "ClangTidyCheck.h" 2019-03-25 12:38:26 +00:00
UseAfterMoveCheck.cpp [clang-tidy] Use new mapping matchers 2021-02-03 23:21:17 +00:00
UseAfterMoveCheck.h [clang-tidy] Change checks to use new isLanguageVersionSupported restriction 2020-03-03 16:43:45 +00:00
VirtualNearMissCheck.cpp [clang-itdy] Simplify virtual near-miss check 2021-02-20 22:02:00 +00:00
VirtualNearMissCheck.h [clang-itdy] Simplify virtual near-miss check 2021-02-20 22:02:00 +00:00