Searched refs:Captures (Results 1 - 19 of 19) sorted by relevance

/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DScopeInfo.h436 /// CaptureMap - A map of captured variables to (index+1) into Captures.
443 /// Captures - The captures.
444 SmallVector<Capture, 4> Captures; member in class:clang::sema::CapturingScopeInfo
457 Captures.push_back(Capture(Var, isBlock, isByref, isNested, Loc,
459 CaptureMap[Var] = Captures.size();
471 return Captures[CXXThisCaptureIndex - 1];
483 return Captures[CaptureMap[Var] - 1];
490 return Captures[Known->second - 1];
583 /// \brief The number of captures in the \c Captures list that are
659 NumExplicitCaptures = Captures
[all...]
H A DDeclSpec.h211 /// \brief Captures information about "declaration specifiers".
761 /// \brief Captures information about "declaration specifiers" specific to
2184 SmallVector<LambdaCapture, 4> Captures; member in struct:LambdaIntroducer
2196 Captures.push_back(LambdaCapture(Kind, Loc, Id, EllipsisLoc, Init,
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGBlocks.h206 llvm::DenseMap<const VarDecl*, Capture> Captures; member in class:clang::CodeGen::CGBlockInfo
238 it = Captures.find(var);
239 assert(it != Captures.end() && "no entry for variable!");
H A DCGBlocks.cpp204 info.Captures[Capture->getVariable()]
398 info.Captures[variable] = CGBlockInfo::Capture::makeConstant(constant);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/
H A DExprCXX.cpp925 ArrayRef<Capture> Captures,
938 NumCaptures(Captures.size()),
944 assert(CaptureInits.size() == Captures.size() && "Wrong number of arguments");
954 Data.Captures = (Capture *)Context.Allocate(sizeof(Capture) * NumCaptures);
955 Capture *ToCapture = Data.Captures;
956 for (unsigned I = 0, N = Captures.size(); I != N; ++I) {
957 if (Captures[I].isExplicit())
960 *ToCapture++ = Captures[I];
978 sizeof(unsigned) * Captures.size());
979 getArrayIndexStarts()[Captures
921 LambdaExpr(QualType T, SourceRange IntroducerRange, LambdaCaptureDefault CaptureDefault, SourceLocation CaptureDefaultLoc, ArrayRef<Capture> Captures, bool ExplicitParams, bool ExplicitResultType, ArrayRef<Expr *> CaptureInits, ArrayRef<VarDecl *> ArrayIndexVars, ArrayRef<unsigned> ArrayIndexStarts, SourceLocation ClosingBrace, bool ContainsUnexpandedParameterPack) argument
983 Create(const ASTContext &Context, CXXRecordDecl *Class, SourceRange IntroducerRange, LambdaCaptureDefault CaptureDefault, SourceLocation CaptureDefaultLoc, ArrayRef<Capture> Captures, bool ExplicitParams, bool ExplicitResultType, ArrayRef<Expr *> CaptureInits, ArrayRef<VarDecl *> ArrayIndexVars, ArrayRef<unsigned> ArrayIndexStarts, SourceLocation ClosingBrace, bool ContainsUnexpandedParameterPack) argument
[all...]
H A DStmt.cpp1027 ArrayRef<Capture> Captures,
1031 : Stmt(CapturedStmtClass), NumCaptures(Captures.size()),
1047 std::copy(Captures.begin(), Captures.end(), Buffer);
1058 ArrayRef<Capture> Captures,
1071 assert(CaptureInits.size() == Captures.size() && "wrong number of arguments");
1073 unsigned Size = sizeof(CapturedStmt) + sizeof(Stmt *) * (Captures.size() + 1);
1074 if (!Captures.empty()) {
1077 Size += sizeof(Capture) * Captures.size();
1081 return new (Mem) CapturedStmt(S, Kind, Captures, CaptureInit
1026 CapturedStmt(Stmt *S, CapturedRegionKind Kind, ArrayRef<Capture> Captures, ArrayRef<Expr *> CaptureInits, CapturedDecl *CD, RecordDecl *RD) argument
1056 Create(const ASTContext &Context, Stmt *S, CapturedRegionKind Kind, ArrayRef<Capture> Captures, ArrayRef<Expr *> CaptureInits, CapturedDecl *CD, RecordDecl *RD) argument
[all...]
H A DDeclCXX.cpp994 llvm::DenseMap<const VarDecl *, FieldDecl *> &Captures,
996 Captures.clear();
1001 for (LambdaExpr::Capture *C = Lambda.Captures, *CEnd = C + Lambda.NumCaptures;
1006 Captures[C->getCapturedVar()] = *Field;
993 getCaptureFields( llvm::DenseMap<const VarDecl *, FieldDecl *> &Captures, FieldDecl *&ThisCapture) const argument
H A DDecl.cpp3457 Captures = 0;
3468 Captures = static_cast<Capture*>(buffer);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaLambda.cpp858 C = Intro.Captures.begin(),
859 E = Intro.Captures.end();
1279 SmallVector<LambdaExpr::Capture, 4> Captures; local
1305 for (unsigned I = 0, N = LSI->Captures.size(); I != N; ++I) {
1306 LambdaScopeInfo::Capture From = LSI->Captures[I];
1312 Captures.push_back(LambdaExpr::Capture(From.getLocation(),
1323 Captures.push_back(LambdaExpr::Capture(From.getLocation(), IsImplicit,
1395 if (Captures.empty() && CaptureDefault == LCD_None)
1424 Captures,
H A DSemaStmt.cpp3223 SmallVectorImpl<CapturedStmt::Capture> &Captures,
3231 Captures.push_back(CapturedStmt::Capture(Cap->getLocation(),
3240 Captures.push_back(CapturedStmt::Capture(Cap->getLocation(),
3286 SmallVector<CapturedStmt::Capture, 4> Captures; local
3288 buildCapturedStmtCaptureList(Captures, CaptureInits, RSI->Captures);
3294 RSI->CapRegionKind, Captures,
3222 buildCapturedStmtCaptureList( SmallVectorImpl<CapturedStmt::Capture> &Captures, SmallVectorImpl<Expr *> &CaptureInits, ArrayRef<CapturingScopeInfo::Capture> Candidates) argument
H A DSemaExpr.cpp10366 SmallVector<BlockDecl::Capture, 4> Captures; local
10367 for (unsigned i = 0, e = BSI->Captures.size(); i != e; i++) {
10368 CapturingScopeInfo::Capture &Cap = BSI->Captures[i];
10373 Captures.push_back(NewCap);
10375 BSI->TheDecl->setCaptures(Context, Captures.begin(), Captures.end(),
H A DSemaCodeComplete.cpp4379 for (SmallVectorImpl<LambdaCapture>::iterator C = Intro.Captures.begin(),
4380 CEnd = Intro.Captures.end();
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DDecl.h3229 Capture *Captures;
3241 SignatureAsWritten(0), Captures(0), NumCaptures(0),
3293 capture_iterator capture_begin() { return Captures; }
3294 capture_iterator capture_end() { return Captures + NumCaptures; }
3295 capture_const_iterator capture_begin() const { return Captures; }
3296 capture_const_iterator capture_end() const { return Captures + NumCaptures; }
H A DDeclCXX.h514 ManglingNumber(0), ContextDecl(0), Captures(0), MethodTyInfo(Info)
553 Capture *Captures; member in struct:clang::CXXRecordDecl::LambdaDefinitionData
1017 /// \param Captures Will be populated with the mapping from captured
1025 void getCaptureFields(llvm::DenseMap<const VarDecl *, FieldDecl *> &Captures,
1030 return isLambda() ? getLambdaData().Captures : NULL;
H A DStmt.h1978 CapturedStmt(Stmt *S, CapturedRegionKind Kind, ArrayRef<Capture> Captures,
1995 ArrayRef<Capture> Captures,
H A DExprCXX.h1451 ArrayRef<Capture> Captures,
1494 ArrayRef<Capture> Captures,
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderDecl.cpp1235 Lambda.Captures
1237 Capture *ToCapture = Lambda.Captures;
H A DASTWriter.cpp5139 LambdaExpr::Capture &Capture = Lambda.Captures[I];
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Parse/
H A DParseExprCXX.cpp732 !Intro.Captures.empty())) {

Completed in 246 milliseconds