Lines Matching defs:Callback
246 const ParmVarDecl *Callback,
249 QualType Ty = Callback->getType();
250 DeclRefExpr *Call = M.makeDeclRefExpr(Callback);
272 const ParmVarDecl *Callback,
324 const ParmVarDecl *Callback = D->getParamDecl(1);
326 if (!Callback->getType()->isReferenceType()) {
335 QualType CallbackType = Callback->getType().getNonReferenceType();
378 // Lambda requires callback itself inserted as a first parameter.
380 M.makeDeclRefExpr(Callback,
395 // First two arguments are used for the flag and for the callback.
397 LLVM_DEBUG(llvm::dbgs() << "Types of params of the callback do not match "
403 // All arguments past first two ones are passed to the callback,
413 LLVM_DEBUG(llvm::dbgs() << "Types of params of the callback do not match "
429 CallbackCall = create_call_once_lambda_call(C, M, Callback,
434 CallbackCall = create_call_once_funcptr_call(C, M, Callback, CallArgs);