Searched defs:BlockArg (Results 1 - 1 of 1) sorted by relevance

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

Completed in 58 milliseconds