commit | 3b45ca9e6292b45ab39d8c44d15a617017f26198 | [log] [tgz] |
---|---|---|
author | Fariborz Jahanian <fjahanian@apple.com> | Wed Nov 07 18:15:53 2012 +0000 |
committer | Fariborz Jahanian <fjahanian@apple.com> | Wed Nov 07 18:15:53 2012 +0000 |
tree | a39de9b2da5387fc963bef86f7787d43e3121b66 | |
parent | 7cdd28162dc7ade4b14bf237e87b4bbc17b2f023 [diff] |
objective-C modern translator. Start the line directive on a new line. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167542 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Rewrite/Frontend/RewriteModernObjC.cpp b/lib/Rewrite/Frontend/RewriteModernObjC.cpp index a86da54..4b56b37 100644 --- a/lib/Rewrite/Frontend/RewriteModernObjC.cpp +++ b/lib/Rewrite/Frontend/RewriteModernObjC.cpp
@@ -3112,7 +3112,7 @@ SourceLocation Location = D->getLocation(); if (Location.isFileID()) { - std::string LineString("#line "); + std::string LineString("\n#line "); PresumedLoc PLoc = SM->getPresumedLoc(Location); LineString += utostr(PLoc.getLine()); LineString += " \"";