Update swift/ql/lib/codeql/swift/elements/type/NumericOrCharType.qll

Co-authored-by: Tony Torralba <atorralba@users.noreply.github.com>
This commit is contained in:
Mathias Vorreiter Pedersen
2023-01-09 17:08:27 +00:00
committed by GitHub
parent 381301e552
commit 7f5344e025

View File

@@ -11,7 +11,7 @@ class CharacterType extends StructType {
class IntegerType extends Type {
IntegerType() {
this.getName() =
["Int", "Int8", "Int16", "Int32", "Int64", "UInt", "UInt8", "Uint16", "Uint32", "UInt64"]
["Int", "Int8", "Int16", "Int32", "Int64", "UInt", "UInt8", "UInt16", "UInt32", "UInt64"]
or
this instanceof BuiltinIntegerType
}