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.
2 parents e53cd7d + 010e753 commit 9a886c6Copy full SHA for 9a886c6
lib/Sema/TypeCheckAttr.cpp
@@ -7314,7 +7314,7 @@ void AttributeChecker::visitUnsafeInheritExecutorAttr(
7314
} else if (fn->getBaseName().isSpecial() ||
7315
!fn->getParentModule()->getName().str().equals("_Concurrency") ||
7316
!fn->getBaseIdentifier().str()
7317
- .startswith("_unsafeInheritExecutor_")) {
+ .starts_with("_unsafeInheritExecutor_")) {
7318
bool inConcurrencyModule = D->getDeclContext()->getParentModule()->getName()
7319
.str().equals("_Concurrency");
7320
auto diag = fn->diagnose(diag::unsafe_inherits_executor_deprecated);
0 commit comments