diff options
author | Wolfgang Beck <wolfgang.beck@nokia.com> | 2010-02-03 13:21:08 +1000 |
---|---|---|
committer | Wolfgang Beck <wolfgang.beck@nokia.com> | 2010-02-03 13:21:08 +1000 |
commit | e134e249196fdc86eb7a87a109e9772c9fed82a8 (patch) | |
tree | 614777bd1e0c2ee2193a721fb73d4e273bad5ff9 /src/shared/cplusplus/CheckDeclarator.cpp | |
parent | cc278a593b829417ae210a8e21c49d1dade88b32 (diff) | |
download | qt-creator-e134e249196fdc86eb7a87a109e9772c9fed82a8.tar.gz |
Source update.
Diffstat (limited to 'src/shared/cplusplus/CheckDeclarator.cpp')
-rw-r--r-- | src/shared/cplusplus/CheckDeclarator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/cplusplus/CheckDeclarator.cpp b/src/shared/cplusplus/CheckDeclarator.cpp index afee09023b..d87b099790 100644 --- a/src/shared/cplusplus/CheckDeclarator.cpp +++ b/src/shared/cplusplus/CheckDeclarator.cpp @@ -272,7 +272,7 @@ bool CheckDeclarator::visit(ObjCMethodPrototypeAST *ast) if (semantic()->isObjCClassMethod(tokenKind(ast->method_type_token))) method->setStorage(Symbol::Static); - if (ast->selector->asObjCSelectorWithArguments()) { + if (ast->selector && ast->selector->asObjCSelectorWithArguments()) { for (ObjCMessageArgumentDeclarationListAST *it = ast->argument_list; it; it = it->next) { ObjCMessageArgumentDeclarationAST *argDecl = it->value; |