From 126feb82eb23a46b7a20ff29ef945c3cb00bef33 Mon Sep 17 00:00:00 2001 From: Nikolas Klauser Date: Wed, 3 Dec 2025 10:37:43 +0100 Subject: [PATCH] [libc++] Fix module_std_compat.sh.cpp with new versions of clang-tidy --- libcxx/utils/libcxx/test/modules.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libcxx/utils/libcxx/test/modules.py b/libcxx/utils/libcxx/test/modules.py index bd4fbe78c1cdc..b93846bf1788e 100644 --- a/libcxx/utils/libcxx/test/modules.py +++ b/libcxx/utils/libcxx/test/modules.py @@ -166,7 +166,7 @@ def process_module_partition(self, header, is_c_header): f'" > {self.tmp_prefix}.{header}.cppm' ) - # Extract the information of the module partition using lang-tidy + # Extract the information of the module partition using clang-tidy print( f"// RUN: {self.clang_tidy} {self.tmp_prefix}.{header}.cppm " " --checks='-*,libcpp-header-exportable-declarations' " @@ -222,6 +222,7 @@ def process_header(self, header, include, is_c_header): print(f'// RUN: echo -e "' f"{include}" f'" > {self.tmp_prefix}.{header}.cpp') print( f"// RUN: {self.clang_tidy} {self.tmp_prefix}.{header}.cpp " + " --system-headers " " --checks='-*,libcpp-header-exportable-declarations' " " -config='{CheckOptions: [ " " {"