llvm-project/clang/lib/Frontend
Eli Friedman 80e45b8cd4 Properly escape filenames in line directives.
Fixes PR17018.  Only partial test coverage because I don't want
to try to write a test which generates a file whose name contains a newline.

llvm-svn: 189557
2013-08-29 01:42:42 +00:00
..
ASTConsumers.cpp Add -ast-dump-lookups switch to -cc1 to dump DeclContext lookup maps. Test to 2013-06-24 01:45:33 +00:00
ASTMerge.cpp When building a module, forward diagnostics to the outer diagnostic consumer. 2013-05-03 22:58:43 +00:00
ASTUnit.cpp This wasn't headers, just missing namespaces. 2013-08-24 13:22:59 +00:00
CMakeLists.txt clang/lib: [CMake] Update tblgen'd dependencies. 2012-07-27 06:18:33 +00:00
CacheTokens.cpp Use llvm::sys::fs::UniqueID for windows and unix. 2013-08-01 21:42:11 +00:00
ChainedDiagnosticConsumer.cpp Remove spurious mode marker from .cpp file. 2012-10-29 06:05:01 +00:00
ChainedIncludesSource.cpp Use SmallVectorImpl& for function arguments instead of SmallVector. 2013-07-05 19:34:19 +00:00
CompilerInstance.cpp SourceManager intialization tweaks. 2013-08-12 13:46:52 +00:00
CompilerInvocation.cpp ObjectiveC migrator. This patch infers readonly properties for no-parameter 2013-08-28 23:22:46 +00:00
CreateInvocationFromCommandLine.cpp [Driver] Refactor clang driver to use LLVM's Option library 2013-06-14 17:17:23 +00:00
DependencyFile.cpp Modernize some low-hanging PathV1 uses. 2013-06-13 14:26:04 +00:00
DependencyGraph.cpp Remove useless 'llvm::' qualifier from names like StringRef and others that are 2013-01-12 19:30:44 +00:00
DiagnosticRenderer.cpp Replace ArrayRef<T>() with None, now that we have an implicit ArrayRef constructor from None 2013-05-05 00:41:58 +00:00
FrontendAction.cpp Avoid crashing if a directory has no pch files. 2013-07-28 13:23:37 +00:00
FrontendActions.cpp Add -ast-dump-lookups switch to -cc1 to dump DeclContext lookup maps. Test to 2013-06-24 01:45:33 +00:00
FrontendOptions.cpp Remove duplicated case. 2013-06-22 16:44:45 +00:00
HeaderIncludeGen.cpp clang-cl: Support /showIncludes 2013-08-09 00:32:23 +00:00
InitHeaderSearch.cpp InitHeaderSearch.cpp: [Cygwin] Add 4.7.3. 2013-08-18 15:03:03 +00:00
InitPreprocessor.cpp Handle -D arguments ending in a backslash. 2013-08-28 20:35:38 +00:00
LangStandards.cpp Remove unnecessary default cases in switches over enums. 2012-01-17 02:30:50 +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 Remove DiagnosticConsumer::clone(), a bad idea that is now unused. 2013-05-03 23:07:45 +00:00
Makefile
MultiplexConsumer.cpp Started implementing variable templates. Top level declarations should be fully supported, up to some limitations documented as FIXMEs or TODO. Static data member templates work very partially. Static data member templates of class templates need particular attention... 2013-08-06 01:03:05 +00:00
PrintPreprocessedOutput.cpp Properly escape filenames in line directives. 2013-08-29 01:42:42 +00:00
SerializedDiagnosticPrinter.cpp Remove DiagnosticConsumer::clone(), a bad idea that is now unused. 2013-05-03 23:07:45 +00:00
TextDiagnostic.cpp Use llvm::sys::fs::UniqueID for windows and unix. 2013-08-01 21:42:11 +00:00
TextDiagnosticBuffer.cpp Remove DiagnosticConsumer::clone(), a bad idea that is now unused. 2013-05-03 23:07:45 +00:00
TextDiagnosticPrinter.cpp Remove DiagnosticConsumer::clone(), a bad idea that is now unused. 2013-05-03 23:07:45 +00:00
VerifyDiagnosticConsumer.cpp Split isFromMainFile into two functions. 2013-08-22 00:27:10 +00:00
Warnings.cpp Revert r177218. 2013-05-03 23:20:27 +00:00