Merge pull request #93 from ian-semmle/underlyingElement

C++: Add a missing underlyingElement call
This commit is contained in:
Jonas Jensen
2018-08-28 15:24:16 +02:00
committed by GitHub

View File

@@ -297,7 +297,7 @@ class BoolConversion extends Cast {
*/
class VoidConversion extends Cast {
VoidConversion() {
conversionkinds(this, 0) and
conversionkinds(underlyingElement(this), 0) and
getType().getUnspecifiedType() instanceof VoidType
}