aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-01-20 17:53:36 +0000
committerZachary Turner <zturner@google.com>2015-01-20 17:53:36 +0000
commit2d53c31eb799b544fe28e82c8cd3f683d8e37e9a (patch)
tree448f7cf77878c76f349443badee93b2859d4576f /clang/lib/Frontend/CompilerInvocation.cpp
parent95292bbfcd70cd52648b930827c76c8b6c86272f (diff)
downloadllvm-2d53c31eb799b544fe28e82c8cd3f683d8e37e9a.zip
llvm-2d53c31eb799b544fe28e82c8cd3f683d8e37e9a.tar.gz
llvm-2d53c31eb799b544fe28e82c8cd3f683d8e37e9a.tar.bz2
Don't remove backslashes from arguments unless the following char is recognized.
This fixes file paths on Windows, as you can now write, for example, file d:\foo\bar.txt, but does not break the case that this tokenization logic was originally designed for, which is to allow escaping of things like quotes and double quotes, so that all of the escapable characters can appear in the same string together. Reviewed by: Jim Ingham, Greg Clayton Differential Revision: http://reviews.llvm.org/D7018 llvm-svn: 226587
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions