Skip to content

Commit ab0f94e

Browse files
committed
[Dyld] Remove another startswith
This one was added in 4f2100b - use `starts_with` instead.
1 parent 3d2ef04 commit ab0f94e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ bool RuntimeDyldCOFF::relocationNeedsDLLImportStub(
126126
if (!TargetNameOrErr)
127127
return false;
128128

129-
return TargetNameOrErr->startswith(getImportSymbolPrefix());
129+
return TargetNameOrErr->starts_with(getImportSymbolPrefix());
130130
}
131131

132132
} // namespace llvm

0 commit comments

Comments
 (0)