File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ def extract_warnings_from_compiler_output_clang(compiler_output: str) -> list[di
13
13
"""
14
14
Extracts warnings from the compiler output when using clang
15
15
"""
16
-
17
16
# Regex to find warnings in the compiler output
18
17
clang_warning_regex = re .compile (r'(?P<file>.*):(?P<line>\d+):(?P<column>\d+): warning: (?P<message>.*)' )
19
18
compiler_warnings = []
@@ -36,10 +35,6 @@ def extract_warnings_from_compiler_output_json(compiler_output: str) -> list[dic
36
35
Compiler output as a whole is not a valid json document, but includes many json
37
36
objects and may include other output that is not json.
38
37
"""
39
- print ("######" )
40
- print (compiler_output )
41
- print ("&&&&&" )
42
-
43
38
# Regex to find json arrays at the top level of the file in the compiler output
44
39
json_arrays = re .findall (r'\[(?:[^\[\]]|\[(?:[^\[\]]|\[[^\[\]]*\])*\])*\]' , compiler_output )
45
40
compiler_warnings = []
You can’t perform that action at this time.
0 commit comments