diff options
author | Seo Sanghyeon <sanxiyn@gmail.com> | 2008-07-05 02:01:25 +0000 |
---|---|---|
committer | Seo Sanghyeon <sanxiyn@gmail.com> | 2008-07-05 02:01:25 +0000 |
commit | fe5042e287352d00db89508bf3c1373cc44b85db (patch) | |
tree | bc072164df99fc236195f4083877d234a568076f /lib/Sema/SemaDeclObjC.cpp | |
parent | 8b8e9a8e6fb5e74924ccef147fa795ef7c874936 (diff) |
Fix warnings
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@53141 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDeclObjC.cpp')
-rw-r--r-- | lib/Sema/SemaDeclObjC.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Sema/SemaDeclObjC.cpp b/lib/Sema/SemaDeclObjC.cpp index 09f1179112..5b6bd104a9 100644 --- a/lib/Sema/SemaDeclObjC.cpp +++ b/lib/Sema/SemaDeclObjC.cpp @@ -830,7 +830,7 @@ void Sema::ActOnAtEnd(SourceLocation AtEndLoc, DeclTy *classDecl, || isa<ObjCProtocolDecl>(ClassDecl); bool checkIdenticalMethods = isa<ObjCImplementationDecl>(ClassDecl); - if (pNum != 0) + if (pNum != 0) { if (ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(ClassDecl)) IDecl->addProperties((ObjCPropertyDecl**)allProperties, pNum); else if (ObjCCategoryDecl *CDecl = dyn_cast<ObjCCategoryDecl>(ClassDecl)) @@ -839,6 +839,7 @@ void Sema::ActOnAtEnd(SourceLocation AtEndLoc, DeclTy *classDecl, PDecl->addProperties((ObjCPropertyDecl**)allProperties, pNum); else assert(false && "ActOnAtEnd - property declaration misplaced"); + } for (unsigned i = 0; i < allNum; i++ ) { ObjCMethodDecl *Method = |