diff options
author | Steve Naroff <snaroff@apple.com> | 2008-09-28 14:55:53 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2008-09-28 14:55:53 +0000 |
commit | e84a864a7871243d7c60441f399a309dea076f5c (patch) | |
tree | bc983110d429175344ccb11d7a16c77766843656 /lib/Sema/Sema.h | |
parent | ae530cfaf65e36fdcecb16d072422eb3d2a4518e (diff) |
Fix <rdar://problem/6252129> implementation of method in category doesn't effectively declare it for methods below.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@56771 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Sema.h')
-rw-r--r-- | lib/Sema/Sema.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h index f553629a6c..dcd197dad6 100644 --- a/lib/Sema/Sema.h +++ b/lib/Sema/Sema.h @@ -92,10 +92,14 @@ public: /// This is only necessary for issuing pretty diagnostics. llvm::SmallVector<TypedefDecl*, 24> ExtVectorDecls; - /// ObjCImplementations - Keep track of all of the classes with - /// @implementation's, so that we can emit errors on duplicates. + /// ObjCImplementations - Keep track of all class @implementations + /// so we can emit errors on duplicates. llvm::DenseMap<IdentifierInfo*, ObjCImplementationDecl*> ObjCImplementations; + /// ObjCCategoryImpls - Maintain a list of category implementations so + /// we can check for duplicates and find local method declarations. + llvm::SmallVector<ObjCCategoryImplDecl*, 8> ObjCCategoryImpls; + /// ObjCProtocols - Keep track of all protocol declarations declared /// with @protocol keyword, so that we can emit errors on duplicates and /// find the declarations when needed. |