Get rid of the #warning directives.

This commit is contained in:
Roberto Raggi
2010-08-11 15:48:21 +02:00
parent f34fd810d5
commit 2ebaf3fe5b
8 changed files with 15 additions and 12 deletions

View File

@@ -312,8 +312,10 @@ bool CheckExpression::visit(UnaryExpressionAST *ast)
bool CheckExpression::visit(QtMethodAST *ast)
{
(void) ast;
// ### port this code
#if 0
const Name *name = 0;
#warning robe set a valid scope
Scope *dummy = 0;
FullySpecifiedType methTy = semantic()->check(ast->declarator, FullySpecifiedType(),
dummy, &name);
@@ -328,6 +330,7 @@ bool CheckExpression::visit(QtMethodAST *ast)
"argument should be anonymous");
}
}
#endif
return false;
}

View File

@@ -963,7 +963,7 @@ bool ObjCMethod::hasReturnType() const
unsigned ObjCMethod::argumentCount() const
{
#warning robe implement me
// ### port me
return memberCount();
}