aboutsummaryrefslogtreecommitdiff
path: root/scripts/check_clang-tidy.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/check_clang-tidy.py')
-rwxr-xr-xscripts/check_clang-tidy.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/check_clang-tidy.py b/scripts/check_clang-tidy.py
index 3a308e59a6..a376d0b898 100755
--- a/scripts/check_clang-tidy.py
+++ b/scripts/check_clang-tidy.py
@@ -58,6 +58,10 @@ if __name__ == "__main__":
"syscall" in lines[i + 1])):
continue
+ if "use '= default' to define a trivial default constructor" in line:
+ if i + 1 < len(lines) and "BENCHMARK" in lines[i + 1]:
+ continue
+
failed = True
print(line)