Skip to content

Commit cb9ab74

Browse files
committed
Add includes to analyzer
Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags:
1 parent f378513 commit cb9ab74

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Tools/c-analyzer/cpython/_files.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
# Technically, this is covered by "Include/*.h":
1010
#'Include/cpython/*.h',
1111
'Include/internal/*.h',
12+
'Include/mimalloc/**/*.h',
1213
'Modules/**/*.h',
1314
'Modules/**/*.c',
1415
'Objects/**/*.h',

Tools/c-analyzer/cpython/_parser.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ def clean_lines(text):
8989
# not actually source
9090
Python/bytecodes.c
9191
92+
# mimalloc
93+
Objects/mimalloc/*.c
94+
Include/mimalloc/*.h
95+
Include/mimalloc/mimalloc/*.h
96+
9297
# @end=conf@
9398
''')
9499

@@ -109,6 +114,7 @@ def clean_lines(text):
109114
* .
110115
* ./Include
111116
* ./Include/internal
117+
* ./Include/mimalloc
112118
113119
Modules/_decimal/**/*.c Modules/_decimal/libmpdec
114120
Modules/_elementtree.c Modules/expat

0 commit comments

Comments
 (0)