Searched refs:OldDecl (Results 1 – 6 of 6) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/ |
| H A D | DefineInline.cpp | 287 const auto *OldDecl = Entry.first; in renameParameters() local 288 llvm::StringRef OldName = OldDecl->getName(); in renameParameters() 289 llvm::StringRef NewName = ParamToNewName[OldDecl]; in renameParameters()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Template.h | 633 bool SubstQualifier(const DeclaratorDecl *OldDecl, 635 bool SubstQualifier(const TagDecl *OldDecl,
|
| H A D | Sema.h | 2896 bool shouldLinkDependentDeclWithPrevious(Decl *D, Decl *OldDecl); 3633 NamedDecl *&OldDecl,
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 6977 if (OldDecl->isUsed()) in checkDLLAttributeRedeclaration() 10955 OldDecl = OldFD; in CheckTargetCausesMultiVersioning() 10993 OldDecl = nullptr; in CheckTargetCausesMultiVersioning() 11060 OldDecl = ND; in CheckMultiVersionAdditionalDecl() 11076 OldDecl = CurFD; in CheckMultiVersionAdditionalDecl() 11110 OldDecl = ND; in CheckMultiVersionAdditionalDecl() 11130 OldDecl = ND; in CheckMultiVersionAdditionalDecl() 11172 OldDecl = OldFD; in CheckMultiVersionAdditionalDecl() 11178 OldDecl = nullptr; in CheckMultiVersionAdditionalDecl() 11210 if (!OldDecl || !OldDecl->getAsFunction() || in CheckMultiVersionFunction() [all …]
|
| H A D | SemaTemplateInstantiateDecl.cpp | 49 if (!OldDecl->getQualifierLoc()) in SubstQualifier() 53 !OldDecl->getLexicalDeclContext()->isDependentContext()) && in SubstQualifier() 59 : OldDecl->getLexicalDeclContext())); in SubstQualifier() 62 = SemaRef.SubstNestedNameSpecifierLoc(OldDecl->getQualifierLoc(), in SubstQualifier() 72 bool TemplateDeclInstantiator::SubstQualifier(const DeclaratorDecl *OldDecl, in SubstQualifier() argument 74 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier() 77 bool TemplateDeclInstantiator::SubstQualifier(const TagDecl *OldDecl, in SubstQualifier() argument 79 return ::SubstQualifier(SemaRef, OldDecl, NewDecl, TemplateArgs); in SubstQualifier() 4991 const CXXRecordDecl *OldDecl; in InstantiateFunctionDefinition() member 4996 : TreeTransform(SemaRef), OldDecl(O), NewDecl(N) {} in InstantiateFunctionDefinition() [all …]
|
| H A D | SemaDeclCXX.cpp | 12003 NamedDecl *OldDecl = nullptr; in CheckUsingShadowDecl() local 12004 switch (CheckOverload(nullptr, FD, Previous, OldDecl, in CheckUsingShadowDecl() 12027 Diag(OldDecl->getLocation(), diag::note_using_decl_conflict); in CheckUsingShadowDecl() 13012 TypeAliasTemplateDecl *OldDecl = nullptr; in ActOnAliasDeclaration() local 13032 OldDecl = Previous.getAsSingle<TypeAliasTemplateDecl>(); in ActOnAliasDeclaration() 13033 if (!OldDecl && !Invalid) { in ActOnAliasDeclaration() 13044 if (!Invalid && OldDecl && !OldDecl->isInvalidDecl()) { in ActOnAliasDeclaration() 13054 TypeAliasDecl *OldTD = OldDecl->getTemplatedDecl(); in ActOnAliasDeclaration() 13085 else if (OldDecl) { in ActOnAliasDeclaration() 13086 NewDecl->setPreviousDecl(OldDecl); in ActOnAliasDeclaration() [all …]
|