Skip to content

Commit 595cafe

Browse files
grynspanando-huang
authored andcommitted
Add swift:: in a couple of places that don't have using namespace swift (affects sourcekit-lsp) (swiftlang#62583)
1 parent 57abe05 commit 595cafe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/runtime/ImageInspectionCommon.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ const swift::MetadataSections *swift_getMetadataSection(size_t index) {
190190
SWIFT_RUNTIME_EXPORT
191191
const char *
192192
swift_getMetadataSectionName(const swift::MetadataSections *section) {
193-
if (auto info = SymbolInfo::lookup(section)) {
193+
if (auto info = swift::SymbolInfo::lookup(section)) {
194194
if (info->getFilename()) {
195195
return info->getFilename();
196196
}
@@ -202,7 +202,7 @@ SWIFT_RUNTIME_EXPORT
202202
void swift_getMetadataSectionBaseAddress(const swift::MetadataSections *section,
203203
void const **out_actual,
204204
void const **out_expected) {
205-
if (auto info = SymbolInfo::lookup(section)) {
205+
if (auto info = swift::SymbolInfo::lookup(section)) {
206206
*out_actual = info->getBaseAddress();
207207
} else {
208208
*out_actual = nullptr;

0 commit comments

Comments
 (0)