diff options
Diffstat (limited to 'include/clang/AST/Decl.h')
-rw-r--r-- | include/clang/AST/Decl.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/clang/AST/Decl.h b/include/clang/AST/Decl.h index 7cb370b41c..b420c1da81 100644 --- a/include/clang/AST/Decl.h +++ b/include/clang/AST/Decl.h @@ -587,6 +587,9 @@ public: NumIntfRefProtocols = numRefProtos; } } + ObjcIvarDecl **getIntfDeclIvars() const { return Ivars; } + int getIntfDeclNumIvars() const { return NumIvars; } + void ObjcAddInstanceVariablesToClass(ObjcIvarDecl **ivars, unsigned numIvars); @@ -883,8 +886,8 @@ class ObjcImplementationDecl : public TypeDecl { Ivars(0), NumIvars(-1), InsMethods(0), NumInsMethods(-1), ClsMethods(0), NumClsMethods(-1) {} - void ObjcAddInstanceVariablesToClass(ObjcIvarDecl **ivars, - unsigned numIvars); + void ObjcAddInstanceVariablesToClassImpl(ObjcIvarDecl **ivars, + unsigned numIvars); void ObjcAddMethods(ObjcMethodDecl **insMethods, unsigned numInsMembers, ObjcMethodDecl **clsMethods, unsigned numClsMembers); |