Source code

Revision control

Other Tools

1
/* This Source Code Form is subject to the terms of the Mozilla Public
2
* License, v. 2.0. If a copy of the MPL was not distributed with this
3
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5
// The list of checker classes that are compatible with clang-tidy.
6
7
CHECK(ArithmeticArgChecker, "arithmetic-argument")
8
CHECK(AssertAssignmentChecker, "assignment-in-assert")
9
CHECK(CanRunScriptChecker, "can-run-script")
10
CHECK(DanglingOnTemporaryChecker, "dangling-on-temporary")
11
CHECK(ExplicitImplicitChecker, "implicit-constructor")
12
CHECK(ExplicitOperatorBoolChecker, "explicit-operator-bool")
13
CHECK(KungFuDeathGripChecker, "kungfu-death-grip")
14
#ifdef _WIN32
15
CHECK(LoadLibraryUsageChecker, "load-library-usage")
16
#endif
17
CHECK(MustOverrideChecker, "must-override")
18
CHECK(MustReturnFromCallerChecker, "must-return-from-caller")
19
CHECK(MustUseChecker, "must-use")
20
CHECK(NaNExprChecker, "nan-expr")
21
CHECK(NeedsNoVTableTypeChecker, "needs-no-vtable-type")
22
CHECK(NoAddRefReleaseOnReturnChecker, "no-addref-release-on-return")
23
CHECK(NoAutoTypeChecker, "no-auto-type")
24
CHECK(NoDuplicateRefCntMemberChecker, "no-duplicate-refcnt-member")
25
CHECK(NoExplicitMoveConstructorChecker, "no-explicit-move-constructor")
26
CHECK(NonMemMovableMemberChecker, "non-memmovable-member")
27
CHECK(NonMemMovableTemplateArgChecker, "non-memmovable-template-arg")
28
CHECK(NoUsingNamespaceMozillaJavaChecker, "no-using-namespace-mozilla-java")
29
CHECK(NonParamInsideFunctionDeclChecker, "non-memmovable-template-arg")
30
CHECK(OverrideBaseCallChecker, "override-base-call")
31
CHECK(OverrideBaseCallUsageChecker, "override-base-call-usage")
32
CHECK(ParamTraitsEnumChecker, "paramtraits-enum")
33
CHECK(RefCountedCopyConstructorChecker, "refcounted-copy-constructor")
34
CHECK(RefCountedInsideLambdaChecker, "refcounted-inside-lambda")
35
CHECK(ScopeChecker, "scope")
36
CHECK(SprintfLiteralChecker, "sprintf-literal")
37
CHECK(TempRefPtrChecker, "performance-temp-refptr")
38
CHECK(TrivialCtorDtorChecker, "trivial-constructor-destructor")
39
CHECK(TrivialDtorChecker, "trivial-destructor")