summaryrefslogtreecommitdiffstats
path: root/clang/Sema/Sema.h
diff options
context:
space:
mode:
Diffstat (limited to 'clang/Sema/Sema.h')
-rw-r--r--clang/Sema/Sema.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/clang/Sema/Sema.h b/clang/Sema/Sema.h
index b1906d3a249..e9dc4d0cb2c 100644
--- a/clang/Sema/Sema.h
+++ b/clang/Sema/Sema.h
@@ -51,6 +51,7 @@ namespace clang {
class ObjcImplementationDecl;
class ObjcCategoryImplDecl;
class ObjcCategoryDecl;
+ class ObjcIvarDecl;
/// Sema - This implements semantic analysis and AST building for C.
class Sema : public Action {
@@ -216,6 +217,11 @@ private:
const llvm::DenseMap<void *, char>& InsMap,
const llvm::DenseMap<void *, char>& ClsMap);
+ /// CheckImplementationIvars - This routine checks if the instance variables
+ /// listed in the implelementation match those listed in the interface.
+ void CheckImplementationIvars(ObjcImplementationDecl *ImpDecl,
+ ObjcIvarDecl **Fields, unsigned nIvars);
+
/// ImplMethodsVsClassMethods - This is main routine to warn if any method
/// remains unimplemented in the @implementation class.
void ImplMethodsVsClassMethods(ObjcImplementationDecl* IMPDecl,
@@ -421,9 +427,6 @@ public:
virtual void ObjcAddMethodsToClass(Scope* S, DeclTy *ClassDecl,
DeclTy **allMethods, unsigned allNum);
- virtual void ActOnImpleIvarVsClassIvars(DeclTy *ClassDecl,
- DeclTy **Fields, unsigned NumFields);
-
virtual DeclTy *ObjcBuildMethodDeclaration(SourceLocation MethodLoc,
tok::TokenKind MethodType, TypeTy *ReturnType, Selector Sel,
// optional arguments. The number of types/arguments is obtained
OpenPOWER on IntegriCloud