forked from qt-creator/qt-creator
Added protocol & class definedness checks, and added property attribute checks.
This commit is contained in:
@@ -2359,6 +2359,8 @@ unsigned ObjCMethodPrototypeAST::lastToken() const
|
||||
{
|
||||
if (attributes)
|
||||
return attributes->lastToken();
|
||||
else if (dot_dot_dot_token)
|
||||
return dot_dot_dot_token + 1;
|
||||
else if (arguments)
|
||||
return arguments->lastToken();
|
||||
else if (type_name)
|
||||
|
||||
Reference in New Issue
Block a user