Skip to content

Commit 126feb8

Browse files
committed
[libc++] Fix module_std_compat.sh.cpp with new versions of clang-tidy
1 parent 6638d59 commit 126feb8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libcxx/utils/libcxx/test/modules.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def process_module_partition(self, header, is_c_header):
166166
f'" > {self.tmp_prefix}.{header}.cppm'
167167
)
168168

169-
# Extract the information of the module partition using lang-tidy
169+
# Extract the information of the module partition using clang-tidy
170170
print(
171171
f"// RUN: {self.clang_tidy} {self.tmp_prefix}.{header}.cppm "
172172
" --checks='-*,libcpp-header-exportable-declarations' "
@@ -222,6 +222,7 @@ def process_header(self, header, include, is_c_header):
222222
print(f'// RUN: echo -e "' f"{include}" f'" > {self.tmp_prefix}.{header}.cpp')
223223
print(
224224
f"// RUN: {self.clang_tidy} {self.tmp_prefix}.{header}.cpp "
225+
" --system-headers "
225226
" --checks='-*,libcpp-header-exportable-declarations' "
226227
" -config='{CheckOptions: [ "
227228
" {"

0 commit comments

Comments
 (0)