Lines Matching defs:Cap
7686 getMapModifiersForPrivateClauses(const CapturedStmt::Capture &Cap) const {
7687 assert(Cap.capturesVariable() && "Expected capture by reference only!");
7692 if (FirstPrivateDecls.count(Cap.getCapturedVar())) {
7693 if (Cap.getCapturedVar()->getType()->isAnyPointerType())
7699 auto I = LambdasMap.find(Cap.getCapturedVar()->getCanonicalDecl());
8468 void generateInfoForCapture(const CapturedStmt::Capture *Cap,
8471 assert(!Cap->capturesVariableArrayType() &&
8475 const ValueDecl *VD = Cap->capturesThis()
8477 : Cap->getCapturedVar()->getCanonicalDecl();
11253 for (const CapturedStmt::Capture &Cap : CS->captures()) {
11254 if (Cap.capturesVariable() || Cap.capturesVariableByCopy())
11255 NeedToCheckForLPCs.insert(Cap.getCapturedVar());