Searched refs:BuildBlock (Results 1 – 4 of 4) sorted by relevance
/external/clang/lib/Sema/ |
D | SemaLambda.cpp | 1714 Expr *BuildBlock = new (Context) BlockExpr(Block, Conv->getConversionType()); in BuildBlockForLambdaConversion() local 1718 return BuildBlock; in BuildBlockForLambdaConversion()
|
D | SemaDeclCXX.cpp | 11372 ExprResult BuildBlock = BuildBlockForLambdaConversion(CurrentLocation, in DefineImplicitLambdaToBlockPointerConversion() local 11380 if (!BuildBlock.isInvalid() && !getLangOpts().ObjCAutoRefCount) in DefineImplicitLambdaToBlockPointerConversion() 11381 BuildBlock = ImplicitCastExpr::Create(Context, BuildBlock.get()->getType(), in DefineImplicitLambdaToBlockPointerConversion() 11383 BuildBlock.get(), nullptr, VK_RValue); in DefineImplicitLambdaToBlockPointerConversion() 11385 if (BuildBlock.isInvalid()) { in DefineImplicitLambdaToBlockPointerConversion() 11393 StmtResult Return = BuildReturnStmt(Conv->getLocation(), BuildBlock.get()); in DefineImplicitLambdaToBlockPointerConversion()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaLambda.cpp | 2020 Expr *BuildBlock = new (Context) BlockExpr(Block, Conv->getConversionType()); in BuildBlockForLambdaConversion() local 2024 return BuildBlock; in BuildBlockForLambdaConversion()
|
D | SemaDeclCXX.cpp | 14920 ExprResult BuildBlock = BuildBlockForLambdaConversion(CurrentLocation, in DefineImplicitLambdaToBlockPointerConversion() local 14928 if (!BuildBlock.isInvalid() && !getLangOpts().ObjCAutoRefCount) in DefineImplicitLambdaToBlockPointerConversion() 14929 BuildBlock = ImplicitCastExpr::Create( in DefineImplicitLambdaToBlockPointerConversion() 14930 Context, BuildBlock.get()->getType(), CK_CopyAndAutoreleaseBlockObject, in DefineImplicitLambdaToBlockPointerConversion() 14931 BuildBlock.get(), nullptr, VK_RValue, FPOptionsOverride()); in DefineImplicitLambdaToBlockPointerConversion() 14933 if (BuildBlock.isInvalid()) { in DefineImplicitLambdaToBlockPointerConversion() 14941 StmtResult Return = BuildReturnStmt(Conv->getLocation(), BuildBlock.get()); in DefineImplicitLambdaToBlockPointerConversion()
|