We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
startswith
starts_with
1 parent 8b45e33 commit 010e753Copy full SHA for 010e753
lib/Sema/TypeCheckAttr.cpp
@@ -7312,7 +7312,7 @@ void AttributeChecker::visitUnsafeInheritExecutorAttr(
7312
} else if (fn->getBaseName().isSpecial() ||
7313
!fn->getParentModule()->getName().str().equals("_Concurrency") ||
7314
!fn->getBaseIdentifier().str()
7315
- .startswith("_unsafeInheritExecutor_")) {
+ .starts_with("_unsafeInheritExecutor_")) {
7316
bool inConcurrencyModule = D->getDeclContext()->getParentModule()->getName()
7317
.str().equals("_Concurrency");
7318
auto diag = fn->diagnose(diag::unsafe_inherits_executor_deprecated);
0 commit comments