diff options
Diffstat (limited to 'clang/Driver/PrintPreprocessedOutput.cpp')
| -rw-r--r-- | clang/Driver/PrintPreprocessedOutput.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/Driver/PrintPreprocessedOutput.cpp b/clang/Driver/PrintPreprocessedOutput.cpp index fcdbd20c965..526447b94f4 100644 --- a/clang/Driver/PrintPreprocessedOutput.cpp +++ b/clang/Driver/PrintPreprocessedOutput.cpp @@ -171,7 +171,7 @@ static void HandleFileChange(SourceLocation Loc, } EModeCurLine = SourceMgr.getLineNumber(Loc); - EModeCurFilename = Lexer::Stringify(SourceMgr.getSourceName(Loc)); + EModeCurFilename = '"' + Lexer::Stringify(SourceMgr.getSourceName(Loc)) + '"'; EmodeFileType = FileType; if (EmodeEmittedTokensOnThisLine) { |

