]> granicus.if.org Git - clang/commit
Break \# in a depfile the same way as gcc.
authorPaul Robinson <paul_robinson@playstation.sony.com>
Wed, 13 May 2015 22:33:50 +0000 (22:33 +0000)
committerPaul Robinson <paul_robinson@playstation.sony.com>
Wed, 13 May 2015 22:33:50 +0000 (22:33 +0000)
commit81d0e20410f31c10e9936698548fda6ccf6d0cdc
treea9822d413b4950e9fcb28f8f42fb5fb39de09452
parent4afd81447ff830f25fbd2b328e1bec69e225fb9f
Break \# in a depfile the same way as gcc.

Backslash followed by # in a filename should have both characters
escaped, if you do it the way GNU Make wants.  GCC doesn't, so we do
it the way GCC does rather than the way GNU Make wants.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@237304 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/DependencyFile.cpp
test/Frontend/dependency-gen-escaping.c