diff options
author | Erik Verbruggen <erik.verbruggen@nokia.com> | 2010-02-08 09:34:51 +0100 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@nokia.com> | 2010-02-08 09:34:51 +0100 |
commit | b58cb740e5e08f7a11a7b176a97351bf49b0d52a (patch) | |
tree | f6a7ffbed6dc2296b96bf229ffd054f5fce07771 /src/shared/cplusplus/CheckDeclarator.cpp | |
parent | 4a652f6eca84fc641afb922f99581a6a15802a69 (diff) | |
download | qt-creator-b58cb740e5e08f7a11a7b176a97351bf49b0d52a.tar.gz |
Changed ObjC message arguments to have SimpleName for the name part.
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..b168061393 100644 --- a/src/shared/cplusplus/CheckDeclarator.cpp +++ b/src/shared/cplusplus/CheckDeclarator.cpp @@ -259,7 +259,7 @@ bool CheckDeclarator::visit(ObjCMethodPrototypeAST *ast) FullySpecifiedType returnType = semantic()->check(ast->type_name, _scope); - unsigned location = ast->firstToken(); + unsigned location = ast->selector->firstToken(); semantic()->check(ast->selector, _scope); |