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: [ " " {"