Lines Matching defs:Cap
7694 getMapModifiersForPrivateClauses(const CapturedStmt::Capture &Cap) const {
7695 assert(Cap.capturesVariable() && "Expected capture by reference only!");
7700 if (FirstPrivateDecls.count(Cap.getCapturedVar())) {
7701 if (Cap.getCapturedVar()->getType()->isAnyPointerType())
7707 auto I = LambdasMap.find(Cap.getCapturedVar()->getCanonicalDecl());
8479 void generateInfoForCapture(const CapturedStmt::Capture *Cap,
8482 assert(!Cap->capturesVariableArrayType() &&
8486 const ValueDecl *VD = Cap->capturesThis()
8488 : Cap->getCapturedVar()->getCanonicalDecl();
11498 for (const CapturedStmt::Capture &Cap : CS->captures()) {
11499 if (Cap.capturesVariable() || Cap.capturesVariableByCopy())
11500 NeedToCheckForLPCs.insert(Cap.getCapturedVar());