summaryrefslogtreecommitdiffstats
path: root/build/clang-plugin/Checks.inc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:44:51 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-21 11:44:51 +0000
commit9e3c08db40b8916968b9f30096c7be3f00ce9647 (patch)
treea68f146d7fa01f0134297619fbe7e33db084e0aa /build/clang-plugin/Checks.inc
parentInitial commit. (diff)
downloadthunderbird-9e3c08db40b8916968b9f30096c7be3f00ce9647.tar.xz
thunderbird-9e3c08db40b8916968b9f30096c7be3f00ce9647.zip
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'build/clang-plugin/Checks.inc')
-rw-r--r--build/clang-plugin/Checks.inc44
1 files changed, 44 insertions, 0 deletions
diff --git a/build/clang-plugin/Checks.inc b/build/clang-plugin/Checks.inc
new file mode 100644
index 0000000000..3ea0cd7848
--- /dev/null
+++ b/build/clang-plugin/Checks.inc
@@ -0,0 +1,44 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+// The list of checker classes that are compatible with clang-tidy.
+
+CHECK(ArithmeticArgChecker, "arithmetic-argument")
+CHECK(AssertAssignmentChecker, "assignment-in-assert")
+CHECK(CanRunScriptChecker, "can-run-script")
+CHECK(DanglingOnTemporaryChecker, "dangling-on-temporary")
+CHECK(ExplicitImplicitChecker, "implicit-constructor")
+CHECK(ExplicitOperatorBoolChecker, "explicit-operator-bool")
+CHECK(JSHandleRootedTypedefChecker, "js-handle-rooted-typedef")
+CHECK(KungFuDeathGripChecker, "kungfu-death-grip")
+CHECK(KnownLiveChecker, "known-live")
+#ifdef TARGET_IS_WINDOWS
+CHECK(LoadLibraryUsageChecker, "load-library-usage")
+CHECK(FopenUsageChecker, "fopen-usage")
+#endif
+CHECK(MustOverrideChecker, "must-override")
+CHECK(MustReturnFromCallerChecker, "must-return-from-caller")
+CHECK(NaNExprChecker, "nan-expr")
+CHECK(NoPrincipalGetURI, "no-principal-geturi")
+CHECK(NeedsNoVTableTypeChecker, "needs-no-vtable-type")
+CHECK(NoAddRefReleaseOnReturnChecker, "no-addref-release-on-return")
+CHECK(NoAutoTypeChecker, "no-auto-type")
+CHECK(NoDuplicateRefCntMemberChecker, "no-duplicate-refcnt-member")
+CHECK(NoExplicitMoveConstructorChecker, "no-explicit-move-constructor")
+CHECK(NoNewThreadsChecker, "no-new-threads")
+CHECK(NonMemMovableMemberChecker, "non-memmovable-member")
+CHECK(NonMemMovableTemplateArgChecker, "non-memmovable-template-arg")
+CHECK(NoUsingNamespaceMozillaJavaChecker, "no-using-namespace-mozilla-java")
+CHECK(NonParamInsideFunctionDeclChecker, "non-memmovable-template-arg")
+CHECK(NonTrivialTypeInFfiChecker, "non-trivial-type-in-ffi-boundary")
+CHECK(OverrideBaseCallChecker, "override-base-call")
+CHECK(OverrideBaseCallUsageChecker, "override-base-call-usage")
+CHECK(ParamTraitsEnumChecker, "paramtraits-enum")
+CHECK(RefCountedCopyConstructorChecker, "refcounted-copy-constructor")
+CHECK(RefCountedInsideLambdaChecker, "refcounted-inside-lambda")
+CHECK(ScopeChecker, "scope")
+CHECK(SprintfLiteralChecker, "sprintf-literal")
+CHECK(TemporaryLifetimeBoundChecker, "temporary-lifetime-bound")
+CHECK(TrivialCtorDtorChecker, "trivial-constructor-destructor")
+CHECK(TrivialDtorChecker, "trivial-destructor")