Home | History | Annotate | Download | only in Sema

Lines Matching defs:Alloc

1445   for (LookupResult::iterator Alloc = R.begin(), AllocEnd = R.end();
1446 Alloc != AllocEnd; ++Alloc) {
1449 NamedDecl *D = (*Alloc)->getUnderlyingDecl();
1452 AddTemplateOverloadCandidate(FnTemplate, Alloc.getPair(),
1460 AddOverloadCandidate(Fn, Alloc.getPair(), Args, NumArgs, Candidates,
1614 DeclContext::lookup_iterator Alloc, AllocEnd;
1615 for (llvm::tie(Alloc, AllocEnd) = GlobalCtx->lookup(Name);
1616 Alloc != AllocEnd; ++Alloc) {
1619 if (FunctionDecl *Func = dyn_cast<FunctionDecl>(*Alloc)) {
1655 FunctionDecl *Alloc =
1660 Alloc->setImplicit();
1663 Alloc->addAttr(::new (Context) MallocAttr(SourceLocation(), Context));
1665 ParmVarDecl *Param = ParmVarDecl::Create(Context, Alloc, SourceLocation(),
1669 Alloc->setParams(Param);
1674 Context.getTranslationUnitDecl()->addDecl(Alloc);