================ @@ -77,15 +77,15 @@ CoroutineHostileRAIICheck::CoroutineHostileRAIICheck(StringRef Name, void CoroutineHostileRAIICheck::registerMatchers(MatchFinder *Finder) { // A suspension happens with co_await or co_yield. - auto ScopedLockable = varDecl(hasType(hasCanonicalType(hasDeclaration( - hasAttr(attr::Kind::ScopedLockable))))) - .bind("scoped-lockable"); + auto ScopedCapability = varDecl(hasType(hasCanonicalType(hasDeclaration( + hasAttr(attr::Kind::ScopedCapability))))) + .bind("scoped-lockable"); ---------------- AaronBallman wrote:
Should we rename the binding name as well (and update its uses)? https://github.com/llvm/llvm-project/pull/99919 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits