Bug 1627484 - clang cannot understanding the mixing of double and single quotes. r=botond

Differential Revision: https://phabricator.services.mozilla.com/D70300
This commit is contained in:
Andi-Bogdan Postelnicu 2020-08-06 07:54:09 +00:00
parent a0e8493a66
commit 992408f681

View File

@ -2139,6 +2139,9 @@ class StaticAnalysis(MachCommandBase):
# We want syntax-only
command.append("-fsyntax-only")
command = [
re.sub(r'\'-D(.*)="(.*)"\'', r'-D\1="\2"', arg) for arg in command
]
commands.append(command)
max_workers = multiprocessing.cpu_count()