From: Fariborz Jahanian Date: Wed, 4 Apr 2012 17:16:15 +0000 (+0000) Subject: objective-c modern translation. Remove commenting out X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e86b2d03e6e58ef9a58d1d3ad70726ae7a3b4fd;p=clang objective-c modern translation. Remove commenting out of extern "C". // rdar://11169733 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154025 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Rewrite/RewriteModernObjC.cpp b/lib/Rewrite/RewriteModernObjC.cpp index 45369a95de..e160f0f434 100644 --- a/lib/Rewrite/RewriteModernObjC.cpp +++ b/lib/Rewrite/RewriteModernObjC.cpp @@ -673,7 +673,10 @@ void RewriteModernObjC::HandleTopLevelSingleDecl(Decl *D) { if (PD->isThisDeclarationADefinition()) RewriteProtocolDecl(PD); } else if (LinkageSpecDecl *LSD = dyn_cast(D)) { - RewriteLinkageSpec(LSD); + // FIXME. This will not work in all situations and leaving it out + // is harmless. + // RewriteLinkageSpec(LSD); + // Recurse into linkage specifications for (DeclContext::decl_iterator DI = LSD->decls_begin(), DIEnd = LSD->decls_end();