From 4df9b3754297fcd1c211646614817d75b9aa4efb Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Wed, 10 Feb 2010 22:45:28 +0100 Subject: Fixed local usage highlighting for ObjC message parameters. --- src/shared/cplusplus/CheckDeclarator.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/shared/cplusplus/CheckDeclarator.cpp') 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); -- cgit v1.2.1