Home
last modified time | relevance | path

Searched refs:getPreviousDecl (Results 1 – 25 of 39) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDeclTemplate.h758 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 DRedeclarable.h203 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 DDecl.h559 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 DDeclCXX.h501 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 DDeclBase.h984 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 DDeclObjC.h1253 return getPreviousDecl(); in getPreviousDeclImpl()
1886 using redeclarable_base::getPreviousDecl;
2077 return getPreviousDecl(); in getPreviousDeclImpl()
2229 using redeclarable_base::getPreviousDecl;
H A DJSONNodeDumper.h178 const T *Prev = D->getPreviousDecl(); in writePreviousDeclImpl()
H A DTypeProperties.td554 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 DProgram.cpp94 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 DCXIndexDataConsumer.h150 /*isRedeclaration=*/D->getPreviousDecl() != nullptr, in ObjCInterfaceDeclInfo()
164 /*isRedeclaration=*/D->getPreviousDecl(), in ObjCProtocolDeclInfo()
H A DCXIndexDataConsumer.cpp663 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 DDecl.cpp659 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 DASTDumper.cpp64 if (Decl *Prev = D->getPreviousDecl()) in dumpLookups()
H A DTemplateName.cpp167 Decl = cast<TemplateDecl>(Decl->getPreviousDecl()); in getNameToSubstitute()
H A DDeclTemplate.cpp257 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 DDeclCXX.cpp872 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 DAPValue.cpp74 Redecl = cast_or_null<ValueDecl>(Redecl->getPreviousDecl())) { in getType()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaAccess.cpp1120 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 DSemaTemplateInstantiateDecl.cpp775 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 DSemaAvailability.cpp344 Redecl = Redecl->getPreviousDecl()) { in DoEmitAvailabilityWarning()
H A DSemaDecl.cpp3936 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 DSemaLookup.cpp451 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 DASTWriterDecl.cpp180 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 DASTReaderDecl.cpp479 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 DParseCXXInlineMethods.cpp411 cast<FunctionDecl>(FunTmpl->getTemplatedDecl())->getPreviousDecl(); in ParseLexedMethodDeclaration()
413 Old = cast<FunctionDecl>(LM.Method)->getPreviousDecl(); in ParseLexedMethodDeclaration()

12