summaryrefslogtreecommitdiffstats
path: root/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2012-11-07 18:15:53 +0000
committerFariborz Jahanian <fjahanian@apple.com>2012-11-07 18:15:53 +0000
commit83dadc7dd7df6b002e012e6652c0e1e114ccc73c (patch)
treec961507e0308d815690e28ec51c2f71941219cc5 /clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
parent6cb378cec5ee887d8cc57d67883f148b7c55f504 (diff)
downloadbcm5719-llvm-83dadc7dd7df6b002e012e6652c0e1e114ccc73c.tar.gz
bcm5719-llvm-83dadc7dd7df6b002e012e6652c0e1e114ccc73c.zip
objective-C modern translator. Start the line
directive on a new line. llvm-svn: 167542
Diffstat (limited to 'clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp')
-rw-r--r--clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp b/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
index a86da54721e..4b56b3720a3 100644
--- a/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
+++ b/clang/lib/Rewrite/Frontend/RewriteModernObjC.cpp
@@ -3112,7 +3112,7 @@ void RewriteModernObjC::RewriteLineDirective(const Decl *D) {
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 += " \"";
OpenPOWER on IntegriCloud