summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/CheckDeclarator.cpp
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2010-02-10 22:45:28 +0100
committerErik Verbruggen <erik.verbruggen@nokia.com>2010-02-11 10:02:00 +0100
commit4df9b3754297fcd1c211646614817d75b9aa4efb (patch)
tree4531faab1aae12043599ca8aa6876c6be934476b /src/shared/cplusplus/CheckDeclarator.cpp
parentd7994a886f49dea2b422793cb0361499d0702130 (diff)
downloadqt-creator-4df9b3754297fcd1c211646614817d75b9aa4efb.tar.gz
Fixed local usage highlighting for ObjC message parameters.
Diffstat (limited to 'src/shared/cplusplus/CheckDeclarator.cpp')
-rw-r--r--src/shared/cplusplus/CheckDeclarator.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/shared/cplusplus/CheckDeclarator.cpp b/src/shared/cplusplus/CheckDeclarator.cpp
index b168061393..860e7d3078 100644
--- a/src/shared/cplusplus/CheckDeclarator.cpp
+++ b/src/shared/cplusplus/CheckDeclarator.cpp
@@ -265,7 +265,6 @@ bool CheckDeclarator::visit(ObjCMethodPrototypeAST *ast)
ObjCMethod *method = control()->newObjCMethod(location, ast->selector->selector_name);
ast->symbol = method;
- method->setSourceLocation(location);
method->setScope(_scope);
method->setVisibility(semantic()->currentVisibility());
method->setReturnType(returnType);