Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaChecking.cpp270 static bool checkOpenCLBlockArgs(Sema &S, Expr *BlockArg) { in checkOpenCLBlockArgs() argument
272 cast<BlockPointerType>(BlockArg->getType().getCanonicalType()); in checkOpenCLBlockArgs()
288 if (isa<BlockExpr>(BlockArg)) { in checkOpenCLBlockArgs()
289 BlockDecl *BD = cast<BlockExpr>(BlockArg)->getBlockDecl(); in checkOpenCLBlockArgs()
291 } else if (isa<DeclRefExpr>(BlockArg)) { in checkOpenCLBlockArgs()
292 ErrorLoc = cast<DeclRefExpr>(BlockArg)->getLocStart(); in checkOpenCLBlockArgs()
310 Expr *BlockArg = TheCall->getArg(0); in SemaOpenCLBuiltinKernelWorkGroupSize() local
311 if (!isBlockPointer(BlockArg)) { in SemaOpenCLBuiltinKernelWorkGroupSize()
312 S.Diag(BlockArg->getLocStart(), in SemaOpenCLBuiltinKernelWorkGroupSize()
316 return checkOpenCLBlockArgs(S, BlockArg); in SemaOpenCLBuiltinKernelWorkGroupSize()
[all …]