Skip to content

Commit 46963e0

Browse files
committed
tweak: Also affect files with .inl extension
1 parent 036e454 commit 46963e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/cpp/remove_duplicate_include_directives.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def remove_duplicate_includes_from_file(filepath):
3333
def process_directory(root_dir):
3434
for subdir, _, files in os.walk(root_dir):
3535
for file in files:
36-
if file.endswith(('.cpp', '.h', '.hpp', '.c')):
36+
if file.endswith(('.cpp', '.h', '.hpp', '.c', '.inl')):
3737
filepath = os.path.join(subdir, file)
3838
remove_duplicate_includes_from_file(filepath)
3939

0 commit comments

Comments
 (0)