forked from OSchip/llvm-project
Fix a broken rewritin of @implementation keyword.
(fixes radar 7649577). llvm-svn: 96270
This commit is contained in:
parent
754946c113
commit
02d964babe
|
@ -1054,7 +1054,7 @@ void RewriteObjC::RewriteImplementationDecl(Decl *OID) {
|
|||
ObjCImplementationDecl *IMD = dyn_cast<ObjCImplementationDecl>(OID);
|
||||
ObjCCategoryImplDecl *CID = dyn_cast<ObjCCategoryImplDecl>(OID);
|
||||
|
||||
InsertText(IMD ? IMD->getLocEnd() : CID->getLocEnd(), "// ");
|
||||
InsertText(IMD ? IMD->getLocStart() : CID->getLocStart(), "// ");
|
||||
|
||||
for (ObjCCategoryImplDecl::instmeth_iterator
|
||||
I = IMD ? IMD->instmeth_begin() : CID->instmeth_begin(),
|
||||
|
|
Loading…
Reference in New Issue