Commit 81048ff9 authored by lukasza's avatar lukasza Committed by Commit bot

Stop special handling of backslashes in compilation command lines.

1. The special handling was incorrectly mangling URIs (https://crbug.com/688199#c1)
2. The special handling apparently is not needed anymore - clang tool
   runs fine without it (https://crbug.com/688199#c10)

BUG=688199

Review-Url: https://codereview.chromium.org/2673683006
Cr-Commit-Position: refs/heads/master@{#448097}
parent d5383b70
......@@ -48,15 +48,6 @@ def _ProcessEntry(e):
except IOError:
pass
# TODO(dcheng): This should be implemented in Clang tooling.
# http://llvm.org/bugs/show_bug.cgi?id=19687
# Finally, use slashes instead of backslashes to avoid bad escaping by the
# tooling. This should really only matter for command, but we do it for all
# keys for consistency.
e['directory'] = e['directory'].replace('\\', '/')
e['command'] = e['command'].replace('\\', '/')
e['file'] = e['file'].replace('\\', '/')
return e
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment