mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Merge pull request #93 from ian-semmle/underlyingElement
C++: Add a missing underlyingElement call
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user