We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b615d52 commit 9295338Copy full SHA for 9295338
compiledb/parser.py
@@ -26,8 +26,8 @@
26
from compiledb.utils import run_cmd
27
28
# Internal variables used to parse build log entries
29
-cc_compile_regex = re.compile(r"^.*-?g?cc-?[0-9.]*$|^.*-?clang-?[0-9.]*$")
30
-cpp_compile_regex = re.compile(r"^.*-?[gc]\+\+-?[0-9.]*$|^.*-?clang\+\+-?[0-9.]*$")
+cc_compile_regex = re.compile(r"^.*-?g?cc-?[0-9.]*$|^.*-?clang-?[0-9.]*$^.*-?cl?exe$|^.*-?(clang-)?cl?(\.exe)?$")
+cpp_compile_regex = re.compile(r"^.*-?[gc]\+\+-?[0-9.]*$|^.*-?clang\+\+-?[0-9.]*$|^.*-?(clang-)?cl?(\.exe)?$")
31
file_regex = re.compile(r"^.+\.c$|^.+\.cc$|^.+\.cpp$|^.+\.cxx$|^.+\.s$", re.IGNORECASE)
32
compiler_wrappers = {"ccache", "icecc", "sccache"}
33
0 commit comments