Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions swift/extractor/infra/SwiftTagTraits.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ MAP(swift::TypeBase, TypeTag)
MAP(swift::BuiltinNonDefaultDistributedActorStorageType, void) // Does not appear in AST/SIL, only used during IRGen
MAP(swift::BuiltinFixedArrayType, BuiltinFixedArrayTypeTag)
MAP(swift::BuiltinUnboundGenericType, void) // Only used during type resolution
MAP(swift::BuiltinImplicitActorType, void) // SIL type
MAP(swift::TupleType, TupleTypeTag)
MAP(swift::ReferenceStorageType, ReferenceStorageTypeTag)
MAP(swift::WeakStorageType, WeakStorageTypeTag)
Expand Down
2 changes: 1 addition & 1 deletion swift/extractor/translators/ExprTranslator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ void ExprTranslator::fillSelfApplyExpr(const swift::SelfApplyExpr& expr,

void ExprTranslator::fillLookupExpr(const swift::LookupExpr& expr, codeql::LookupExpr& entry) {
entry.base = dispatcher.fetchLabel(expr.getBase());
if (expr.hasDecl()) {
if (expr.hasDecl() && !expr.getDecl().getDecl()->isUnavailable()) {
entry.member = dispatcher.fetchLabel(expr.getDecl().getDecl());
}
}
Expand Down
4 changes: 4 additions & 0 deletions swift/third_party/load.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ load("//misc/bazel:lfs.bzl", "lfs_archive", "lfs_files")

_override = {
# these are used to test new artifacts. Must be empty before merging to main
"swift-prebuilt-macOS-swift-6.2.3-RELEASE-137.tar.zst": "a96536acde3a054a2528feedbb6ffa71fb7ffa6b68f0838f2f007e7474fc0b84",
"swift-prebuilt-Linux-swift-6.2.3-RELEASE-137.tar.zst": "ad8d6611bfd3c749435e44fa25a300082efb308c21c5da1305c65bd2c5d8fec4",
"resource-dir-macOS-swift-6.2.3-RELEASE-137.zip": "e358d99dab2bf07d70a06d8d4119c05ee40e33cdc659ad787595dc56cb405755",
"resource-dir-Linux-swift-6.2.3-RELEASE-137.zip": "ab0279edb35706dbd5c238f6ea29b2a275bb837e1d6485e150801551c7f0740e",
}

_staging_url = "https://github.com/dsp-testing/codeql-swift-artifacts/releases/download/staging-{}/{}"
Expand Down
Loading