Skip to content

Commit 8f9b972

Browse files
authored
Merge pull request #9094 from bnbarham/even-more-startswith
[Dyld] Remove another `startswith`
2 parents 3d2ef04 + ab0f94e commit 8f9b972

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)