Home
last modified time | relevance | path

Searched refs:capturer (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang/test/Analysis/
H A Dautoreleasewritechecker_test.m311 ErrorCapture *capturer) {
313 … [capturer captureErrorOut:error]; // expected-warning{{Capture of autoreleasing out parameter}}
319 ErrorCapture *capturer) {
321 [capturer captureError:*error]; // no-warning
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaChecking.cpp16369 static void diagnoseRetainCycle(Sema &S, Expr *capturer, in diagnoseRetainCycle() argument
16371 assert(capturer); in diagnoseRetainCycle()
16374 S.Diag(capturer->getExprLoc(), diag::warn_arc_retain_cycle) in diagnoseRetainCycle()
16375 << owner.Variable << capturer->getSourceRange(); in diagnoseRetainCycle()
16589 if (Expr *capturer = findCapturingExpr(*this, msg->getArg(i), owner)) { in checkRetainCycles() local
16593 return diagnoseRetainCycle(*this, capturer, owner); in checkRetainCycles()
16604 if (Expr *capturer = findCapturingExpr(*this, argument, owner)) in checkRetainCycles() local
16605 diagnoseRetainCycle(*this, capturer, owner); in checkRetainCycles()