/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
H A D | DeclTemplate.h | 758 return getPreviousDecl(); in getPreviousDeclImpl() 947 using redeclarable_base::getPreviousDecl; 1055 FunctionTemplateDecl *getPreviousDecl() { 1057 static_cast<RedeclarableTemplateDecl *>(this)->getPreviousDecl()); 1059 const FunctionTemplateDecl *getPreviousDecl() const { 1061 static_cast<const RedeclarableTemplateDecl *>(this)->getPreviousDecl()); 2331 ClassTemplateDecl *getPreviousDecl() { 2333 static_cast<RedeclarableTemplateDecl *>(this)->getPreviousDecl()); 2335 const ClassTemplateDecl *getPreviousDecl() const { 2338 this)->getPreviousDecl()); [all …]
|
H A D | Redeclarable.h | 203 decl_type *getPreviousDecl() { in getPreviousDecl() function 208 const decl_type *getPreviousDecl() const { in getPreviousDecl() function 210 static_cast<const decl_type*>(this))->getPreviousDecl(); in getPreviousDecl()
|
H A D | Decl.h | 559 using redeclarable_base::getPreviousDecl; 1028 return getPreviousDecl(); in getPreviousDeclImpl() 1042 using redeclarable_base::getPreviousDecl; 1975 return getPreviousDecl(); in getPreviousDeclImpl() 1992 using redeclarable_base::getPreviousDecl; 3169 return getPreviousDecl(); in getPreviousDeclImpl() 3183 using redeclarable_base::getPreviousDecl; 3333 return getPreviousDecl(); in getPreviousDeclImpl() 3366 using redeclarable_base::getPreviousDecl; 3639 EnumDecl *getPreviousDecl() { in getPreviousDecl() function [all …]
|
H A D | DeclCXX.h | 501 CXXRecordDecl *getPreviousDecl() { in getPreviousDecl() function 503 static_cast<RecordDecl *>(this)->getPreviousDecl()); in getPreviousDecl() 506 const CXXRecordDecl *getPreviousDecl() const { in getPreviousDecl() function 507 return const_cast<CXXRecordDecl*>(this)->getPreviousDecl(); in getPreviousDecl() 524 assert(Recent->getPreviousDecl()); in getMostRecentNonInjectedDecl() 525 Recent = Recent->getPreviousDecl(); in getMostRecentNonInjectedDecl() 3035 using redeclarable_base::getPreviousDecl; 3197 return getPreviousDecl(); in getPreviousDeclImpl() 3227 using redeclarable_base::getPreviousDecl;
|
H A D | DeclBase.h | 984 Decl *getPreviousDecl() { return getPreviousDeclImpl(); } in getPreviousDecl() function 988 const Decl *getPreviousDecl() const { in getPreviousDecl() function 994 return getPreviousDecl() == nullptr; in isFirstDecl() 1075 Decl *Prev = getPreviousDecl(); in setLocalExternDecl() 1114 Decl *Prev = getPreviousDecl();
|
H A D | DeclObjC.h | 1253 return getPreviousDecl(); in getPreviousDeclImpl() 1886 using redeclarable_base::getPreviousDecl; 2077 return getPreviousDecl(); in getPreviousDeclImpl() 2229 using redeclarable_base::getPreviousDecl;
|
H A D | JSONNodeDumper.h | 178 const T *Prev = D->getPreviousDecl(); in writePreviousDeclImpl()
|
H A D | TypeProperties.td | 554 for (auto *DI = typeDecl; DI; DI = DI->getPreviousDecl()) { 563 for (auto *DI = typeDecl; DI; DI = DI->getPreviousDecl())
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/ |
H A D | Program.cpp | 94 for (const Decl *P = VD; P; P = P->getPreviousDecl()) { in getGlobal() 151 for (const Decl *P = VD; P; P = P->getPreviousDecl()) in createGlobal()
|
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/ |
H A D | CXIndexDataConsumer.h | 150 /*isRedeclaration=*/D->getPreviousDecl() != nullptr, in ObjCInterfaceDeclInfo() 164 /*isRedeclaration=*/D->getPreviousDecl(), in ObjCProtocolDeclInfo()
|
H A D | CXIndexDataConsumer.cpp | 663 bool isRedeclaration = D->hasDefinition() || D->getPreviousDecl(); in handleObjCInterface() 718 bool isRedeclaration = D->hasDefinition() || D->getPreviousDecl(); in handleObjCProtocol()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
H A D | Decl.cpp | 659 const VarDecl *PrevVar = Var->getPreviousDecl(); in getLVForNamespaceScopeDecl() 669 for (const VarDecl *PrevVar = Var->getPreviousDecl(); PrevVar; in getLVForNamespaceScopeDecl() 670 PrevVar = PrevVar->getPreviousDecl()) { in getLVForNamespaceScopeDecl() 1158 TD = TD->getPreviousDecl(); in getExplicitVisibilityAux() 1285 if (const VarDecl *Prev = Var->getPreviousDecl()) { in getLVForLocalDecl() 3406 FD = FD->getPreviousDecl()) in isMSExternInline() 3417 for (const FunctionDecl *FD = Redecl->getPreviousDecl(); FD; in redeclForcesDefMSVC() 3418 FD = FD->getPreviousDecl()) in redeclForcesDefMSVC() 3474 while ((Prev = Prev->getPreviousDecl())) { in doesDeclarationForceExternallyVisibleDefinition() 3499 while ((Prev = Prev->getPreviousDecl())) { in doesDeclarationForceExternallyVisibleDefinition()
|
H A D | ASTDumper.cpp | 64 if (Decl *Prev = D->getPreviousDecl()) in dumpLookups()
|
H A D | TemplateName.cpp | 167 Decl = cast<TemplateDecl>(Decl->getPreviousDecl()); in getNameToSubstitute()
|
H A D | DeclTemplate.cpp | 257 for (const RedeclarableTemplateDecl *Prev = getPreviousDecl(); Prev; in getCommonPtr() 258 Prev = Prev->getPreviousDecl()) { in getCommonPtr() 413 for (; Prev; Prev = Prev->getPreviousDecl()) { in mergePrevDecl() 1144 CurD = CurD->getPreviousDecl(); in getDefinition()
|
H A D | DeclCXX.cpp | 872 if (Primary->getPreviousDecl()) in addedMember() 873 Conversions.replace(cast<NamedDecl>(Primary->getPreviousDecl()), in addedMember() 2910 return getPreviousDecl(); in getPreviousDeclImpl() 2924 return getPreviousDecl(); in getPreviousDeclImpl()
|
H A D | APValue.cpp | 74 Redecl = cast_or_null<ValueDecl>(Redecl->getPreviousDecl())) { in getType()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | SemaAccess.cpp | 1120 PrevDecl = VD->getPreviousDecl(); in diagnoseBadDirectAccess() 1122 PrevDecl = FD->getPreviousDecl(); in diagnoseBadDirectAccess() 1124 PrevDecl = TND->getPreviousDecl(); in diagnoseBadDirectAccess() 1128 PrevDecl = TD->getPreviousDecl(); in diagnoseBadDirectAccess()
|
H A D | SemaTemplateInstantiateDecl.cpp | 775 DeclT *Result = D->getPreviousDecl(); in getPreviousDeclForInstantiation() 2156 if (isFriend && TemplateParams && FunctionTemplate->getPreviousDecl()) { in VisitFunctionDecl() 2159 FunctionTemplate->getPreviousDecl()->getTemplateParameters(), in VisitFunctionDecl() 2194 (Function->isLocalExternDecl() && !Function->getPreviousDecl())) in VisitFunctionDecl() 2501 if (isFriend && Method->getPreviousDecl()) in VisitCXXMethodDecl() 2502 Method->setAccess(Method->getPreviousDecl()->getAccess()); in VisitCXXMethodDecl() 2536 if (!D->getPreviousDecl()) in VisitCXXMethodDecl() 4788 D = D->getPreviousDecl()) { in InstantiateFunctionDefinition() 5024 if (NewVar->isLocalExternDecl() && OldVar->getPreviousDecl() && in BuildVariableInstantiation() 5025 (!OldVar->getPreviousDecl()->getDeclContext()->isDependentContext() || in BuildVariableInstantiation() [all …]
|
H A D | SemaAvailability.cpp | 344 Redecl = Redecl->getPreviousDecl()) { in DoEmitAvailabilityWarning()
|
H A D | SemaDecl.cpp | 3936 PrevVD = PrevVD->getPreviousDecl()) { in MergeVarDeclTypes() 5568 if (D->getPreviousDecl() || D->isImplicit()) in warnOnReservedIdentifier() 7431 NewVD->getPreviousDecl() in ActOnVariableDeclarator() 7432 ? NewVD->getPreviousDecl()->getDescribedVarTemplate() in ActOnVariableDeclarator() 9675 if (isFriend && NewFD->getPreviousDecl()) { in ActOnFunctionDeclarator() 9678 Access = NewFD->getPreviousDecl()->getAccess(); in ActOnFunctionDeclarator() 9692 FunctionTemplate->getPreviousDecl(); in ActOnFunctionDeclarator() 10411 for (const Decl *D = FD->getPreviousDecl(); D; D = D->getPreviousDecl()) { in PreviousDeclsHaveMultiVersionAttribute() 11800 if (VarDecl *Old = VDecl->getPreviousDecl()) { in DeduceVariableDeclarationType() 13007 VarDecl *prev = var->getPreviousDecl(); in CheckCompleteVariableDeclaration() [all …]
|
H A D | SemaLookup.cpp | 451 for (Decl *Prev = DUnderlying->getPreviousDecl(); Prev; in isPreferredLookupResult() 452 Prev = Prev->getPreviousDecl()) in isPreferredLookupResult() 3544 Cursor = Cursor->getPreviousDecl(); in insert() 3607 D = cast_or_null<NamedDecl>(D->getPreviousDecl())) { in ArgumentDependentLookup()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/ |
H A D | ASTWriterDecl.cpp | 180 for (const Decl *R = D->getMostRecentDecl(); R; R = R->getPreviousDecl()) { in AddFirstDeclFromEachModule() 1128 assert(D->getPreviousDecl() == nullptr && "PARM_VAR_DECL can't be redecl"); in VisitParmVarDecl() 1562 if (D->getPreviousDecl() == nullptr) { in VisitClassTemplatePartialSpecializationDecl() 1622 if (D->getPreviousDecl() == nullptr) { in VisitVarTemplatePartialSpecializationDecl() 1774 for (const Decl *Redecl = D; Redecl; Redecl = Redecl->getPreviousDecl()) in getFirstLocalDecl() 1810 Prev != FirstLocal; Prev = Prev->getPreviousDecl()) in VisitRedeclarable() 1831 (void)Writer.GetDeclRef(D->getPreviousDecl()); in VisitRedeclarable()
|
H A D | ASTReaderDecl.cpp | 479 Current = Current->getPreviousDecl(); in operator ++() 3574 for (VarDecl *CurD = PrevVD; CurD; CurD = CurD->getPreviousDecl()) { in attachPreviousDeclImpl() 4411 Redecl = Redecl->getPreviousDecl()) in forAllLaterRedecls() 4417 Redecl = Redecl->getPreviousDecl()) in forAllLaterRedecls()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/ |
H A D | ParseCXXInlineMethods.cpp | 411 cast<FunctionDecl>(FunTmpl->getTemplatedDecl())->getPreviousDecl(); in ParseLexedMethodDeclaration() 413 Old = cast<FunctionDecl>(LM.Method)->getPreviousDecl(); in ParseLexedMethodDeclaration()
|