Commit 85e1b366 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Check for 0x0 access

parent a61d3f90
......@@ -263,7 +263,7 @@ bool CheckDeclarator::visit(ObjCMethodPrototypeAST *ast)
fun->setPureVirtual(false);
fun->setReturnType(returnType);
if (ast->selector->asObjCSelectorWithArguments()) {
if (ast->selector && ast->selector->asObjCSelectorWithArguments()) {
// TODO: check the parameters (EV)
// fun->setVariadic(...);
// TODO: add arguments (EV)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment