From fde05e1d482c5a96800fcca5dbcedd2375d8c6fc Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Wed, 21 Mar 2012 00:01:15 +0000 Subject: [PATCH] Close the paren. // rdar://11076938 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153151 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Rewrite/RewriteModernObjC.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Rewrite/RewriteModernObjC.cpp b/lib/Rewrite/RewriteModernObjC.cpp index a164f74646..101d35ee88 100644 --- a/lib/Rewrite/RewriteModernObjC.cpp +++ b/lib/Rewrite/RewriteModernObjC.cpp @@ -5718,7 +5718,7 @@ static void Write_class_t(ASTContext *Context, std::string &Result, Result += ".cache = "; Result += "&_objc_empty_cache"; Result += ";\n"; Result += "}\n"; - Result += "#pragma section(\".objc_inithooks$B\", long, read, write\n"; + Result += "#pragma section(\".objc_inithooks$B\", long, read, write)\n"; Result += "__declspec(allocate(\".objc_inithooks$B\")) "; Result += "static void *OBJC_CLASS_SETUP2_$_"; Result += CDecl->getNameAsString(); @@ -5805,7 +5805,7 @@ static void Write_category_t(RewriteModernObjC &RewriteObj, ASTContext *Context, Result += ".cls = "; Result += "&OBJC_CLASS_$_"; Result += ClassName; Result += ";\n}\n"; - Result += "#pragma section(\".objc_inithooks$B\", long, read, write\n"; + Result += "#pragma section(\".objc_inithooks$B\", long, read, write)\n"; Result += "__declspec(allocate(\".objc_inithooks$B\")) "; Result += "static void *OBJC_CATEGORY_SETUP2_$_"; Result += ClassDecl->getNameAsString(); -- 2.50.1