Skip to content

Commit ab63c12

Browse files
committed
[SourceKit] Fix asan failure in ConformingMethodList request
rdar://problem/72605086
1 parent 6220644 commit ab63c12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/IDE/IDERequests.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ class CollectOverriddenDeclsRequest:
234234
//----------------------------------------------------------------------------//
235235
struct ProtocolNameOwner {
236236
DeclContext *DC;
237-
StringRef Name;
237+
std::string Name;
238238
ProtocolNameOwner(DeclContext *DC, StringRef Name): DC(DC), Name(Name) {}
239239

240240
friend llvm::hash_code hash_value(const ProtocolNameOwner &CI) {

0 commit comments

Comments
 (0)