Skip to content

Commit 740906d

Browse files
authored
Merge pull request #70889 from xedin/replace-deprecated-api-in-csstep
[CSStep] NFC: Address a warning about use of deprecated `.startswith_insensitive`
2 parents e6a0641 + f4ec76e commit 740906d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Sema/CSStep.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ bool swift::isSIMDOperator(ValueDecl *value) {
785785
if (nominal->getName().empty())
786786
return false;
787787

788-
return nominal->getName().str().startswith_insensitive("simd");
788+
return nominal->getName().str().starts_with_insensitive("simd");
789789
}
790790

791791
bool DisjunctionStep::shortCircuitDisjunctionAt(

0 commit comments

Comments
 (0)