Lines Matching refs:Alloc
1822 for (LookupResult::iterator Alloc = R.begin(), AllocEnd = R.end();
1823 Alloc != AllocEnd; ++Alloc) {
1826 NamedDecl *D = (*Alloc)->getUnderlyingDecl();
1829 AddTemplateOverloadCandidate(FnTemplate, Alloc.getPair(),
1837 AddOverloadCandidate(Fn, Alloc.getPair(), Args, Candidates,
2016 for (DeclContext::lookup_iterator Alloc = R.begin(), AllocEnd = R.end();
2017 Alloc != AllocEnd; ++Alloc) {
2020 if (FunctionDecl *Func = dyn_cast<FunctionDecl>(*Alloc)) {
2071 FunctionDecl *Alloc =
2075 Alloc->setImplicit();
2078 Alloc->addAttr(::new (Context) MallocAttr(SourceLocation(), Context));
2082 ParamDecls[I] = ParmVarDecl::Create(Context, Alloc, SourceLocation(),
2086 Alloc->setParams(ArrayRef<ParmVarDecl*>(ParamDecls, NumParams));
2091 Context.getTranslationUnitDecl()->addDecl(Alloc);