clang-tidy: disable analysis for swig-generated code
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 17 Jan 2023 17:18:25 +0000 (12:18 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 17 Jan 2023 17:35:27 +0000 (12:35 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Idd951400c20ee942b6c9a8fba197d106a3f3d02b

extras/bindings/swig/python/.clang-tidy [new file with mode: 0644]
src/common/filter/.clang-tidy
src/vendor/.clang-tidy

diff --git a/extras/bindings/swig/python/.clang-tidy b/extras/bindings/swig/python/.clang-tidy
new file mode 100644 (file)
index 0000000..8866f3d
--- /dev/null
@@ -0,0 +1,7 @@
+# clang-tidy uses the closest .clang-tidy in a parent directory
+# to override settings.
+#
+# Add a dummy check since we can't disable them all without
+# clang-tidy complaining. This ensures that generated code
+# is not flagged.
+Checks: '-*,llvm-twine-local'
index 91aebac05c76af2ca048db07959882ca7351ecac..b298fbc7768882b4e1244e0b0f703d13bd08823f 100644 (file)
@@ -1 +1,8 @@
+# clang-tidy uses the closest .clang-tidy in a parent directory
+# to override settings.
+#
+# Add a dummy check since we can't disable them all without
+# clang-tidy complaining. This ensures that generated code
+# is not flagged.
+
 Checks: '-*,llvm-twine-local'
index 91aebac05c76af2ca048db07959882ca7351ecac..b298fbc7768882b4e1244e0b0f703d13bd08823f 100644 (file)
@@ -1 +1,8 @@
+# clang-tidy uses the closest .clang-tidy in a parent directory
+# to override settings.
+#
+# Add a dummy check since we can't disable them all without
+# clang-tidy complaining. This ensures that generated code
+# is not flagged.
+
 Checks: '-*,llvm-twine-local'
This page took 0.024996 seconds and 4 git commands to generate.