We should actually do two separate files for C and C++, but as C++ is mostly a superset of C, most, if not all content of the C-file will be a subset of the C++ file, so it can be handled as one issue.
Important peculiarities:
Should account for the special handling for not counting forward declared classes, structs and unions (without block after their declaration), but also that we do count the declaration of opaque enums, as they are ready-to-use as-is.
Should also mention that we support Structured Exception Handling (SEH) by treating "except" clauses identical to "catch" blocks.
Should mention that we do count function declarations as function, also if they are implemented later, reflecting the choice made with #98 and implemented with #146
We should actually do two separate files for C and C++, but as C++ is mostly a superset of C, most, if not all content of the C-file will be a subset of the C++ file, so it can be handled as one issue.
Important peculiarities:
Should account for the special handling for not counting forward declared classes, structs and unions (without block after their declaration), but also that we do count the declaration of opaque enums, as they are ready-to-use as-is.
Should also mention that we support Structured Exception Handling (SEH) by treating "except" clauses identical to "catch" blocks.
Should mention that we do count function declarations as function, also if they are implemented later, reflecting the choice made with #98 and implemented with #146