Tweak clang-tidy-diff.py to recognize "filename" in the diff ourput.

llvm-svn: 245683
This commit is contained in:
Yaron Keren 2015-08-21 09:27:24 +00:00
parent f90777826a
commit 92660a2cdd
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ def main():
filename = None
lines_by_file = {}
for line in sys.stdin:
match = re.search('^\+\+\+\ (.*?/){%s}(\S*)' % args.p, line)
match = re.search('^\+\+\+\ \"?(.*?/){%s}([^ \t\"]*)' % args.p, line)
if match:
filename = match.group(2)
if filename == None: