forked from qt-creator/qt-creator
Initial work on the pattern matcher for AST nodes.
This commit is contained in:
@@ -522,11 +522,13 @@ bool CheckUndefinedSymbols::visit(ObjCProtocolRefsAST *ast)
|
||||
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 *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.
|
||||
if (Name *setterName = iter->value->setterName()) {
|
||||
// FIXME: resolve the symbol for the name, and check its signature.
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user