commit | 56f6e09562568437e852eba192c17869beba1d49 | [log] [tgz] |
---|---|---|
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Mon Apr 29 17:26:22 2013 +0000 |
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | Mon Apr 29 17:26:22 2013 +0000 |
tree | 63a5518155afd952426e1effc7c93a359d443968 | |
parent | 1d75a3b8efb1b4233b3f431604efcd60da8623e4 [diff] |
When emitting a preprocessed file with implicit module imports, make sure line directives are emitted in the next line. rdar://13722737 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@180718 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Frontend/PrintPreprocessedOutput.cpp b/lib/Frontend/PrintPreprocessedOutput.cpp index 3cef68d..9fd3649 100644 --- a/lib/Frontend/PrintPreprocessedOutput.cpp +++ b/lib/Frontend/PrintPreprocessedOutput.cpp
@@ -335,6 +335,7 @@ MoveToLine(HashLoc); OS << "@import " << Imported->getFullModuleName() << ";" << " /* clang -E: implicit import for \"" << File->getName() << "\" */"; + EmittedTokensOnThisLine = true; } }