Home
last modified time | relevance | path

Searched refs:byRef (Results 1 – 3 of 3) sorted by relevance

/external/clang/include/clang/AST/
DDecl.h2892 Capture(VarDecl *variable, bool byRef, bool nested, Expr *copy) in Capture() argument
2894 (byRef ? flag_isByRef : 0) | (nested ? flag_isNested : 0)), in Capture()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp772 bool byRef = (flags & 1); in VisitBlockDecl() local
776 captures.push_back(BlockDecl::Capture(decl, byRef, nested, copyExpr)); in VisitBlockDecl()
/external/clang/lib/Sema/
DSemaExpr.cpp1175 bool byRef = var->hasAttr<BlocksAttr>(); in shouldCaptureValueReference() local
1180 if (!byRef && S.getLangOptions().CPlusPlus && !type->isDependentType() && in shouldCaptureValueReference()
1220 BlockDecl::Capture(var, byRef, /*nested*/ false, copyExpr)); in shouldCaptureValueReference()
1230 bool byRef) { in BuildBlockDeclRefExpr() argument
1235 assert(byRef == var->hasAttr<BlocksAttr>() && "byref set wrong"); in BuildBlockDeclRefExpr()
1240 if (!byRef) { in BuildBlockDeclRefExpr()