Searched refs:OldDecl (Results 1 - 5 of 5) sorted by relevance

/external/clang/include/clang/Sema/
H A DTemplate.h477 bool SubstQualifier(const DeclaratorDecl *OldDecl,
479 bool SubstQualifier(const TagDecl *OldDecl,
H A DSema.h1489 NamedDecl *&OldDecl,
/external/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp28 bool TemplateDeclInstantiator::SubstQualifier(const DeclaratorDecl *OldDecl, argument
30 if (!OldDecl->getQualifierLoc())
34 = SemaRef.SubstNestedNameSpecifierLoc(OldDecl->getQualifierLoc(),
44 bool TemplateDeclInstantiator::SubstQualifier(const TagDecl *OldDecl, argument
46 if (!OldDecl->getQualifierLoc())
50 = SemaRef.SubstNestedNameSpecifierLoc(OldDecl->getQualifierLoc(),
H A DSemaDeclCXX.cpp6082 NamedDecl *OldDecl = 0; local
6083 switch (CheckOverload(0, FD, Previous, OldDecl, /*IsForUsingDecl*/ true)) {
6105 Diag(OldDecl->getLocation(), diag::note_using_decl_conflict);
6656 TypeAliasTemplateDecl *OldDecl = 0; local
6672 OldDecl = Previous.getAsSingle<TypeAliasTemplateDecl>();
6673 if (!OldDecl && !Invalid) {
6684 if (!Invalid && OldDecl && !OldDecl->isInvalidDecl()) {
6686 OldDecl->getTemplateParameters(),
6689 OldTemplateParams = OldDecl
[all...]
H A DSemaDecl.cpp5719 NamedDecl *OldDecl = 0; local
5722 OldDecl = Previous.getFoundDecl();
5724 switch (CheckOverload(S, NewFD, Previous, OldDecl,
5746 OverloadedDecl = OldDecl;
5758 // NewFD and OldDecl represent declarations that need to be
5760 if (MergeFunctionDecl(NewFD, OldDecl, S)) {
5766 Previous.addDecl(OldDecl);
5769 = dyn_cast<FunctionTemplateDecl>(OldDecl)) {
5790 NewFD->setAccess(OldDecl->getAccess());
5791 NewFD->setPreviousDeclaration(cast<FunctionDecl>(OldDecl));
[all...]

Completed in 77 milliseconds