Skip to content

Commit f4ec76e

Browse files
committed
[CSStep] NFC: Address a warning about use of deprecated .startswith_insensitive
1 parent 04ca86b commit f4ec76e

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)