[Github-comments] [geany] C, C++, C#, D: Improve return type and var type recognition (#889)
Colomban Wendling
notifications at xxxxx
Wed Jan 27 12:43:52 UTC 2016
>
> - if (! st->gotArgs)
> - return vStringValue(st->firstToken->name); /* ignore non-functions */
> + switch (st->declaration) {
> + case DECL_BASE:
> + case DECL_FUNCTION:
> + case DECL_FUNCTION_TEMPLATE:
> + break;
> + default:
> + return vStringValue(st->firstToken->name);
> + }
>
> if (vt == NULL)
no, it's `static` (which is meh, but well)
---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/889/files#r50978248
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160127/dda666f6/attachment.html>
More information about the Github-comments
mailing list