mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
Swift: add missing Builtin symbols
This commit is contained in:
@@ -67,5 +67,9 @@ constexpr std::array swiftBuiltins = {
|
||||
"Vec16xFPIEEE64",
|
||||
"Vec32xFPIEEE64",
|
||||
"Vec64xFPIEEE64",
|
||||
|
||||
"buildDefaultActorExecutorRef",
|
||||
"buildMainActorExecutorRef",
|
||||
"buildOrdinarySerialExecutorRef",
|
||||
};
|
||||
}
|
||||
|
||||
@@ -62,9 +62,9 @@ methodlookup.swift:
|
||||
#-----| getResult(): [CallExpr] call to UnownedSerialExecutor.init(_:)
|
||||
#-----| getFunction(): [MethodLookupExpr] UnownedSerialExecutor.init(_:)
|
||||
#-----| getBase(): [TypeExpr] UnownedSerialExecutor.Type
|
||||
#-----| getArgument(0): [Argument] : call to ...
|
||||
#-----| getExpr(): [CallExpr] call to ...
|
||||
#-----| getFunction(): [DeclRefExpr] (unknown declaration)
|
||||
#-----| getArgument(0): [Argument] : call to buildDefaultActorExecutorRef(_:)
|
||||
#-----| getExpr(): [CallExpr] call to buildDefaultActorExecutorRef(_:)
|
||||
#-----| getFunction(): [DeclRefExpr] buildDefaultActorExecutorRef(_:)
|
||||
#-----| getArgument(0): [Argument] : self
|
||||
#-----| getExpr(): [DeclRefExpr] self
|
||||
# 15| [ClassDecl] Baz
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
noStaticTarget
|
||||
| file://:0:0:0:0 | call to ... | file://:0:0:0:0 | (unknown declaration) | DeclRefExpr |
|
||||
#select
|
||||
| file://:0:0:0:0 | call to ... | false | - |
|
||||
| file://:0:0:0:0 | call to UnownedSerialExecutor.init(_:) | true | UnownedSerialExecutor.init(_:) |
|
||||
| file://:0:0:0:0 | call to buildDefaultActorExecutorRef(_:) | true | buildDefaultActorExecutorRef(_:) |
|
||||
| file://:0:0:0:0 | call to zeroInitializer() | true | zeroInitializer() |
|
||||
| file://:0:0:0:0 | call to zeroInitializer() | true | zeroInitializer() |
|
||||
| file://:0:0:0:0 | call to zeroInitializer() | true | zeroInitializer() |
|
||||
|
||||
Reference in New Issue
Block a user