codeql icon indicating copy to clipboard operation
codeql copied to clipboard

Swift: Add `ClassOrStructDecl` class

Open MathiasVP opened this issue 3 years ago • 0 comments

This PR adds a class that's defined as the union of ClassDecl and StructDecl`. This is motivated by us having used the wrong one of these on several occasions.

Hopefully, by instead relying on this union class, we'll be less likely to run into these issues.

MathiasVP avatar Sep 27 '22 16:09 MathiasVP