Added symbols for property declarations.

This commit is contained in:
Erik Verbruggen
2009-11-11 09:32:05 +01:00
parent 72d4493fc2
commit a6bbec2b56
12 changed files with 171 additions and 36 deletions

View File

@@ -518,3 +518,16 @@ bool CheckUndefinedSymbols::visit(ObjCProtocolRefsAST *ast)
return false;
}
bool CheckUndefinedSymbols::visit(ObjCPropertyDeclarationAST *ast)
{
for (List<ObjCPropertyDeclaration *> *iter = ast->symbols; iter; iter = iter->next) {
if (Name *getterName = iter->value->getterName())
; // FIXME: resolve the symbol for the name, and check its signature.
if (Name *setterName = iter->value->setterName())
; // FIXME: resolve the symbol for the name, and check its signature.
}
return false;
}