llvm-project/clang/lib/StaticAnalyzer/Checkers
Kristof Umann 72649423c0 [analyzer][NFC] Fix inconsistent references to checkers as "checks"
Traditionally, clang-tidy uses the term check, and the analyzer uses checker,
but in the very early years, this wasn't the case, and code originating from the
early 2010's still incorrectly refer to checkers as checks.

This patch attempts to hunt down most of these, aiming to refer to checkers as
checkers, but preserve references to callback functions (like checkPreCall) as
checks.

Differential Revision: https://reviews.llvm.org/D67140

llvm-svn: 371760
2019-09-12 19:09:24 +00:00
..
MPI-Checker [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
RetainCountChecker [analyzer] NFC: Move PathDiagnostic classes to libAnalysis. 2019-09-11 20:54:27 +00:00
UninitializedObject [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
AllocationState.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AnalysisOrderChecker.cpp [analyzer] Remove the default value arg from getChecker*Option 2019-05-17 15:52:13 +00:00
AnalyzerStatsChecker.cpp [analyzer] Supply all checkers with a shouldRegister function 2019-01-26 14:23:08 +00:00
ArrayBoundChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
ArrayBoundCheckerV2.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
BasicObjCFoundationChecks.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
BlockInCriticalSectionChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
BoolAssignmentChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
BuiltinFunctionChecker.cpp [analyzer] NFC: Change evalCall() to provide a CallEvent. 2019-06-19 23:33:42 +00:00
CMakeLists.txt [analyzer] CastValueChecker: Model casts 2019-07-10 00:20:03 +00:00
CStringChecker.cpp [analyzer][NFC] Fix inconsistent references to checkers as "checks" 2019-09-12 19:09:24 +00:00
CStringSyntaxChecker.cpp [analyzer] Fix analyzer warnings on analyzer. 2019-08-28 18:44:38 +00:00
CXXSelfAssignmentChecker.cpp [Analyzer] Replace `CXXSelfAssignmentBRVisitor` with `NoteTags` 2019-05-28 13:07:09 +00:00
CallAndMessageChecker.cpp [analyzer][NFC] Fix inconsistent references to checkers as "checks" 2019-09-12 19:09:24 +00:00
CastSizeChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
CastToStructChecker.cpp [analyzer] Supply all checkers with a shouldRegister function 2019-01-26 14:23:08 +00:00
CastValueChecker.cpp [analyzer] CastValueChecker: Correctly model results of based-to-derived casts. 2019-08-23 03:24:04 +00:00
CheckObjCDealloc.cpp [analyzer] NFC: Move PathDiagnostic classes to libAnalysis. 2019-09-11 20:54:27 +00:00
CheckObjCInstMethSignature.cpp [analyzer] NFC: Move PathDiagnostic classes to libAnalysis. 2019-09-11 20:54:27 +00:00
CheckSecuritySyntaxOnly.cpp [analyzer][NFC] Fix inconsistent references to checkers as "checks" 2019-09-12 19:09:24 +00:00
CheckSizeofPointer.cpp [analyzer] Supply all checkers with a shouldRegister function 2019-01-26 14:23:08 +00:00
CheckerDocumentation.cpp [analyzer] Fix a typo in docs 2019-01-29 10:15:52 +00:00
ChrootChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
CloneChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
ConversionChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
DeadStoresChecker.cpp [analyzer] Add minimal support for fix-it hints. 2019-09-06 20:55:29 +00:00
DebugCheckers.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
DeleteWithNonVirtualDtorChecker.cpp [analyzer][NFC] Fix inconsistent references to checkers as "checks" 2019-09-12 19:09:24 +00:00
DereferenceChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
DirectIvarAssignment.cpp [analyzer] Add CheckerManager::getChecker, make sure that a registry function registers no more than 1 checker 2019-01-26 21:41:50 +00:00
DivZeroChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
DynamicTypeChecker.cpp [analyzer] NFC: Move getStmt() and createEndOfPath() out of PathDiagnostic. 2019-09-11 20:54:21 +00:00
DynamicTypePropagation.cpp [analyzer] NFC: Move getStmt() and createEndOfPath() out of PathDiagnostic. 2019-09-11 20:54:21 +00:00
EnumCastOutOfRangeChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
ExprInspectionChecker.cpp [analyzer][NFC] Fix inconsistent references to checkers as "checks" 2019-09-12 19:09:24 +00:00
FixedAddressChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
GCDAntipatternChecker.cpp Fix parameter name comments using clang-tidy. NFC. 2019-07-16 04:46:31 +00:00
GTestChecker.cpp [analyzer] Supply all checkers with a shouldRegister function 2019-01-26 14:23:08 +00:00
GenericTaintChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
IdenticalExprChecker.cpp Fix parameter name comments using clang-tidy. NFC. 2019-07-16 04:46:31 +00:00
InnerPointerChecker.cpp [analyzer] NFC: Move getStmt() and createEndOfPath() out of PathDiagnostic. 2019-09-11 20:54:21 +00:00
InterCheckerAPI.h [analyzer] Reimplement dependencies between checkers 2019-01-26 20:06:54 +00:00
IteratorChecker.cpp [analyzer][NFC] Fix inconsistent references to checkers as "checks" 2019-09-12 19:09:24 +00:00
IvarInvalidationChecker.cpp [analyzer][NFC] Fix inconsistent references to checkers as "checks" 2019-09-12 19:09:24 +00:00
LLVMConventionsChecker.cpp [analyzer] Supply all checkers with a shouldRegister function 2019-01-26 14:23:08 +00:00
LocalizationChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
MIGChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
MacOSKeychainAPIChecker.cpp [analyzer] NFC: Move getStmt() and createEndOfPath() out of PathDiagnostic. 2019-09-11 20:54:21 +00:00
MacOSXAPIChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
MallocChecker.cpp [analyzer][NFC] Fix inconsistent references to checkers as "checks" 2019-09-12 19:09:24 +00:00
MallocOverflowSecurityChecker.cpp [analyzer] Supply all checkers with a shouldRegister function 2019-01-26 14:23:08 +00:00
MallocSizeofChecker.cpp [analyzer] Fix analyzer warnings on analyzer. 2019-08-28 18:44:38 +00:00
MmapWriteExecChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
Move.h [analyzer] PR41269: Add a bit of C++ smart pointer modeling. 2019-04-23 02:45:42 +00:00
MoveChecker.cpp [analyzer] NFC: Move getStmt() and createEndOfPath() out of PathDiagnostic. 2019-09-11 20:54:21 +00:00
NSAutoreleasePoolChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
NSErrorChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
NoReturnFunctionChecker.cpp [analyzer] Supply all checkers with a shouldRegister function 2019-01-26 14:23:08 +00:00
NonNullParamChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
NonnullGlobalConstantsChecker.cpp [analyzer] NonnullGlobalConstants: Don't be confused by a _Nonnull attribute. 2019-07-01 23:02:14 +00:00
NullabilityChecker.cpp [analyzer][NFC] Fix inconsistent references to checkers as "checks" 2019-09-12 19:09:24 +00:00
NumberObjectConversionChecker.cpp [analyzer] Remove the default value arg from getChecker*Option 2019-05-17 15:52:13 +00:00
OSObjectCStyleCast.cpp Fix parameter name comments using clang-tidy. NFC. 2019-07-16 04:46:31 +00:00
ObjCAtSyncChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
ObjCAutoreleaseWriteChecker.cpp Fix parameter name comments using clang-tidy. NFC. 2019-07-16 04:46:31 +00:00
ObjCContainersASTChecker.cpp [analyzer] Supply all checkers with a shouldRegister function 2019-01-26 14:23:08 +00:00
ObjCContainersChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
ObjCMissingSuperCallChecker.cpp [analyzer] NFC: Move PathDiagnostic classes to libAnalysis. 2019-09-11 20:54:27 +00:00
ObjCPropertyChecker.cpp [analyzer] Supply all checkers with a shouldRegister function 2019-01-26 14:23:08 +00:00
ObjCSelfInitChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
ObjCSuperDeallocChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
ObjCUnusedIVarsChecker.cpp [analyzer] NFC: Move PathDiagnostic classes to libAnalysis. 2019-09-11 20:54:27 +00:00
PaddingChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
PointerArithChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
PointerIterationChecker.cpp [Analyzer] Checker for non-determinism caused by iteration of unordered container of pointers 2019-05-24 19:24:08 +00:00
PointerSortingChecker.cpp [Analyzer] Update the LLVM license in PointerSortingChecker.cpp 2019-03-13 19:09:48 +00:00
PointerSubChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
PthreadLockChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
ReturnPointerRangeChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
ReturnUndefChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
ReturnValueChecker.cpp [analyzer] ReturnValueChecker: Model the guaranteed boolean return value of function calls 2019-07-04 00:50:50 +00:00
RunLoopAutoreleaseLeakChecker.cpp Fix parameter name comments using clang-tidy. NFC. 2019-07-16 04:46:31 +00:00
SimpleStreamChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
SmartPtrModeling.cpp [analyzer] NFC: Change evalCall() to provide a CallEvent. 2019-06-19 23:33:42 +00:00
StackAddrEscapeChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
StdLibraryFunctionsChecker.cpp [analyzer] NFC: Change evalCall() to provide a CallEvent. 2019-06-19 23:33:42 +00:00
StreamChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
Taint.cpp [analyzer] NFC: Move getStmt() and createEndOfPath() out of PathDiagnostic. 2019-09-11 20:54:21 +00:00
Taint.h [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
TaintTesterChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
TestAfterDivZeroChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
TraversalChecker.cpp [analyzer] Supply all checkers with a shouldRegister function 2019-01-26 14:23:08 +00:00
TrustNonnullChecker.cpp Fix parameter name comments using clang-tidy. NFC. 2019-07-16 04:46:31 +00:00
UndefBranchChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
UndefCapturedBlockVarChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
UndefResultChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
UndefinedArraySubscriptChecker.cpp [analyzer][NFC] Fix inconsistent references to checkers as "checks" 2019-09-12 19:09:24 +00:00
UndefinedAssignmentChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
UnixAPIChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
UnreachableCodeChecker.cpp [analyzer][NFC] Refactoring BugReporter.cpp P4.: If it can be const, make it const 2019-08-13 18:48:08 +00:00
VLASizeChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
ValistChecker.cpp [analyzer][NFC] Fix inconsistent references to checkers as "checks" 2019-09-12 19:09:24 +00:00
VforkChecker.cpp [analyzer] NFC: Introduce sub-classes for path-sensitive and basic reports. 2019-09-09 20:34:40 +00:00
VirtualCallChecker.cpp [analyzer][NFC] Fix inconsistent references to checkers as "checks" 2019-09-12 19:09:24 +00:00
Yaml.h [analyzer] Add yaml parser to GenericTaintChecker 2019-07-28 13:38:04 +00:00