llvm-project/clang/lib/Frontend
Paul Robinson 64441def58 Fix dependency file escaping.
When writing a dependency (.d) file, if space or # is immediately
preceded by one or more backslashes, escape the backslashes as well as
the space or # character. Otherwise leave backslash alone.
This straddles the fence between BSD Make (which does no escaping at
all, and does not support space or # in filespecs) and GNU Make (which
does support escaping, but will fall back to the filespec as-written
if the escaping doesn't match an existing file).

Differential Revision: http://reviews.llvm.org/D9208

llvm-svn: 237296
2015-05-13 21:18:15 +00:00
..
Rewrite Fix misleading parameter name for PPCallbacks::FileSkipped. 2015-05-12 11:48:05 +00:00
ASTConsumers.cpp Remove some unused includes of llvm/IR headers from parts of Clang that really 2015-02-26 00:01:03 +00:00
ASTMerge.cpp Implemented support for testing the ASTImporter's 2015-04-28 18:24:12 +00:00
ASTUnit.cpp Return a pointer instead of having a pointer outparam and a bool return. 2015-04-10 12:54:53 +00:00
CMakeLists.txt Revert "Wrap clang module files in a Mach-O, ELF, or COFF container." 2015-02-25 02:44:04 +00:00
CacheTokens.cpp Use raw_pwrite_stream in clang. 2015-04-14 15:15:49 +00:00
ChainedDiagnosticConsumer.cpp Remove spurious mode marker from .cpp file. 2012-10-29 06:05:01 +00:00
ChainedIncludesSource.cpp Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:00:23 +00:00
CodeGenOptions.cpp [cleanup] Re-sort *all* #include lines with llvm/utils/sort_includes.py 2015-01-14 11:29:14 +00:00
CompilerInstance.cpp [modules] Start moving the module visibility information off the Module itself. 2015-05-01 01:53:09 +00:00
CompilerInvocation.cpp Move sanitizer parser and group expander from Driver to Basic. 2015-05-11 21:39:20 +00:00
CreateInvocationFromCommandLine.cpp Driver: Use pointee_iterator rather than iterating over unique_ptrs 2014-10-03 01:04:53 +00:00
DependencyFile.cpp Fix dependency file escaping. 2015-05-13 21:18:15 +00:00
DependencyGraph.cpp Unique_ptrify PPCallbacks ownership. 2014-09-10 04:53:53 +00:00
DiagnosticRenderer.cpp Simplify creation of a bunch of ArrayRefs by using None, makeArrayRef or just letting them be implicitly created. 2014-08-27 06:28:36 +00:00
FrontendAction.cpp Reapply "Frontend: Stop leaking when not -disable-free" 2015-05-04 14:59:20 +00:00
FrontendActions.cpp Use raw_pwrite_stream in clang. 2015-04-14 15:15:49 +00:00
FrontendOptions.cpp Ensure that we still parse preprocessed CUDA files as CUDA when we use 2015-03-19 17:32:06 +00:00
HeaderIncludeGen.cpp Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:00:23 +00:00
InitHeaderSearch.cpp Add driver support for Native Client SDK 2015-03-30 20:31:33 +00:00
InitPreprocessor.cpp Add C11 *_DECIMAL_DIG. 2015-02-23 09:12:31 +00:00
LangStandards.cpp [C++11] Use 'nullptr'. Frontend edition. 2014-05-22 04:46:25 +00:00
LayoutOverrideSource.cpp Excise <cctype> from Clang (except clang-tblgen) in favor of CharInfo.h. 2013-02-08 22:30:41 +00:00
LogDiagnosticPrinter.cpp Add DiagID and Warning Flag to DiagnosticsLog 2014-11-14 21:23:56 +00:00
Makefile Make clang's rewrite engine a core feature 2014-07-16 16:48:33 +00:00
ModuleDependencyCollector.cpp Remove many superfluous SmallString::str() calls. 2015-03-18 10:17:07 +00:00
MultiplexConsumer.cpp Rename MacroDefinition -> MacroDefinitionRecord, Preprocessor::MacroDefinition -> MacroDefinition. 2015-05-04 02:25:31 +00:00
PrintPreprocessedOutput.cpp Refactor MacroInfo so range for loops can be used to iterate its tokens. 2015-05-11 08:25:54 +00:00
SerializedDiagnosticPrinter.cpp Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:00:23 +00:00
SerializedDiagnosticReader.cpp [cleanup] Re-sort *all* #include lines with llvm/utils/sort_includes.py 2015-01-14 11:29:14 +00:00
TextDiagnostic.cpp Give isCompatibleWithMSVC a better interface 2015-05-11 03:57:49 +00:00
TextDiagnosticBuffer.cpp Support 'remark' in VerifyDiagnosticConsumer 2014-05-01 14:06:01 +00:00
TextDiagnosticPrinter.cpp Remove uses of the redundant ".reset(nullptr)" of unique_ptr, in favor of ".reset()" 2014-07-19 01:06:45 +00:00
VerifyDiagnosticConsumer.cpp Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:00:23 +00:00