Skip to content

Commit fbf21bd

Browse files
Undo accidental deletion of LeafType
1 parent bb7c913 commit fbf21bd

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

cpp/common/src/codingstandards/cpp/types/Compatible.qll

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,3 +522,11 @@ module FunctionDeclarationTypeEquivalence<
522522
.getType(), f2.getParameterDeclarationEntry(pragma[only_bind_into](i)).getType())
523523
}
524524
}
525+
526+
private class LeafType extends Type {
527+
LeafType() {
528+
not this instanceof DerivedType and
529+
not this instanceof FunctionType and
530+
not this instanceof FunctionType
531+
}
532+
}

0 commit comments

Comments
 (0)