MaibornWolff / metric-gardener

BSD 3-Clause "New" or "Revised" License
5 stars 0 forks source link

Add test case for SEH except clause to C #241

Closed ResistantBear closed 3 months ago

ResistantBear commented 4 months ago

As Structured Exception Handling is also supported in C, we should add a test case to check that we correctly count SEH except clauses for complexity, similar to the C++ test that tests that we count catch-blocks and SEH except clauses.

It should "just work" as the C grammar is very similar to the C++ grammar and we already have mapped seh_except_clause to the catch_block category, but it is not tested yet.

ResistantBear commented 3 months ago

Closed by #266