forked from OSchip/llvm-project
Tweak clang-tidy-diff.py to recognize "filename" in the diff ourput.
llvm-svn: 245683
This commit is contained in:
parent
f90777826a
commit
92660a2cdd
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue