This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Invalid recognition of function with reversed return type and virtual keyword order | ||
---|---|---|---|
Product: | cnd | Reporter: | mariusz_m |
Component: | Code Model | Assignee: | petrk |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.0.2 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Hint |
Integrated into 'main-silver', will be available in build *201505150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/43dc75bc28d0 User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixed #251621 - Invalid recognition of function with reversed return type and virtual keyword order |
Created attachment 153017 [details] Hint NB 8.0.2 can't recognize member function definition like this: class SomeClass { size_t virtual get_extra_memory(image_header_t const *src); }; In my current work I often see that peoples used to write code like above, instead of class SomeClass { virtual size_t get_extra_memory(image_header_t const *src); }; Of course booth forms are correct.