summaryrefslogtreecommitdiffstats
path: root/build/clang-plugin/external
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /build/clang-plugin/external
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'build/clang-plugin/external')
-rw-r--r--build/clang-plugin/external/CustomAttributes.inc0
-rw-r--r--build/clang-plugin/external/ExternalChecks.inc8
-rw-r--r--build/clang-plugin/external/ExternalIncludes.inc9
-rw-r--r--build/clang-plugin/external/sources.mozbuild10
-rw-r--r--build/clang-plugin/external/tests/sources.mozbuild10
5 files changed, 37 insertions, 0 deletions
diff --git a/build/clang-plugin/external/CustomAttributes.inc b/build/clang-plugin/external/CustomAttributes.inc
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/build/clang-plugin/external/CustomAttributes.inc
diff --git a/build/clang-plugin/external/ExternalChecks.inc b/build/clang-plugin/external/ExternalChecks.inc
new file mode 100644
index 0000000000..d5f0b0334c
--- /dev/null
+++ b/build/clang-plugin/external/ExternalChecks.inc
@@ -0,0 +1,8 @@
+/* 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/. */
+
+// Placeholder file to be overwritten with external checks during build
+// The list of checker classes that are compatible with clang-tidy-external.
+
+// CHECK(ExternalChecker, "external-checker")
diff --git a/build/clang-plugin/external/ExternalIncludes.inc b/build/clang-plugin/external/ExternalIncludes.inc
new file mode 100644
index 0000000000..9fda16de8a
--- /dev/null
+++ b/build/clang-plugin/external/ExternalIncludes.inc
@@ -0,0 +1,9 @@
+/* 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/. */
+
+// Placeholder file to be overwritten with external checks during build
+// The list of #include directives necessary for the checker classes that
+// are compatible with clang-tidy-external.
+
+// #include "ExternalChecker.h"
diff --git a/build/clang-plugin/external/sources.mozbuild b/build/clang-plugin/external/sources.mozbuild
new file mode 100644
index 0000000000..01daf87080
--- /dev/null
+++ b/build/clang-plugin/external/sources.mozbuild
@@ -0,0 +1,10 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# vim: set filetype=python:
+# 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/.
+
+# Placeholder file to be overwritten with external checks during build
+HOST_SOURCES += [
+ # 'ExternalChecker.cpp',
+]
diff --git a/build/clang-plugin/external/tests/sources.mozbuild b/build/clang-plugin/external/tests/sources.mozbuild
new file mode 100644
index 0000000000..1f3b4a61c9
--- /dev/null
+++ b/build/clang-plugin/external/tests/sources.mozbuild
@@ -0,0 +1,10 @@
+# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
+# vim: set filetype=python:
+# 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/.
+
+# Placeholder file to be overwritten with external checks during build
+SOURCES += [
+ # 'ExternalTest.cpp',
+]