summaryrefslogtreecommitdiffstats
path: root/build/clang-plugin/external
diff options
context:
space:
mode:
Diffstat (limited to '')
-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',
+]