/external/clang/include/clang/AST/ |
D | Redeclarable.h | 67 decl_type *getPreviousDecl() { in getPreviousDecl() function 72 const decl_type *getPreviousDecl() const { in getPreviousDecl() function 74 static_cast<const decl_type*>(this))->getPreviousDecl(); in getPreviousDecl() 81 while (D->getPreviousDecl()) in getFirstDeclaration() 82 D = D->getPreviousDecl(); in getFirstDeclaration() 90 while (D->getPreviousDecl()) in getFirstDeclaration() 91 D = D->getPreviousDecl(); in getFirstDeclaration()
|
D | DeclTemplate.h | 491 return getPreviousDecl(); in getPreviousDeclImpl() 669 using redeclarable_base::getPreviousDecl; 774 FunctionTemplateDecl *getPreviousDecl() { 776 RedeclarableTemplateDecl::getPreviousDecl()); 781 const FunctionTemplateDecl *getPreviousDecl() const { 783 RedeclarableTemplateDecl::getPreviousDecl()); 1326 assert(Recent->isInjectedClassName() && Recent->getPreviousDecl()); 1327 Recent = Recent->getPreviousDecl(); 1778 ClassTemplateDecl *getPreviousDecl() { 1780 RedeclarableTemplateDecl::getPreviousDecl()); [all …]
|
D | Decl.h | 419 return getPreviousDecl(); in getPreviousDeclImpl() 436 using redeclarable_base::getPreviousDecl; 833 return getPreviousDecl(); in getPreviousDeclImpl() 843 using redeclarable_base::getPreviousDecl; 1574 return getPreviousDecl(); in getPreviousDeclImpl() 1584 using redeclarable_base::getPreviousDecl; 2351 return getPreviousDecl(); in getPreviousDeclImpl() 2361 using redeclarable_base::getPreviousDecl; 2520 return getPreviousDecl(); in getPreviousDeclImpl() 2535 using redeclarable_base::getPreviousDecl; [all …]
|
D | DeclObjC.h | 625 return getPreviousDecl(); in getPreviousDeclImpl() 947 using redeclarable_base::getPreviousDecl; 1128 return getPreviousDecl(); in getPreviousDeclImpl() 1232 using redeclarable_base::getPreviousDecl;
|
D | DeclCXX.h | 683 const CXXRecordDecl *getPreviousDecl() const { 684 return cast_or_null<CXXRecordDecl>(RecordDecl::getPreviousDecl()); 686 CXXRecordDecl *getPreviousDecl() { 687 return cast_or_null<CXXRecordDecl>(RecordDecl::getPreviousDecl());
|
D | DeclBase.h | 739 Decl *getPreviousDecl() { return getPreviousDeclImpl(); } in getPreviousDecl() function 743 const Decl *getPreviousDecl() const { in getPreviousDecl() function
|
/external/clang/lib/AST/ |
D | Decl.cpp | 222 for (const VarDecl *PrevVar = Var->getPreviousDecl(); in getLVForNamespaceScopeDecl() 224 PrevVar = PrevVar->getPreviousDecl()) in getLVForNamespaceScopeDecl() 232 const VarDecl *PrevVar = Var->getPreviousDecl(); in getLVForNamespaceScopeDecl() 233 for (; PrevVar; PrevVar = PrevVar->getPreviousDecl()) in getLVForNamespaceScopeDecl() 347 if (const VarDecl *PrevVar = Var->getPreviousDecl()) { in getLVForNamespaceScopeDecl() 382 if (const FunctionDecl *PrevFunc = Function->getPreviousDecl()) { in getLVForNamespaceScopeDecl() 791 if (const FunctionDecl *Prev = Function->getPreviousDecl()) { in getLVForDecl() 815 if (const VarDecl *Prev = Var->getPreviousDecl()) { in getLVForDecl() 924 return FD->getPreviousDecl() == OldD; in declarationReplaces() 1235 for (const VarDecl *PrevVar = getPreviousDecl(); in isThisDeclarationADefinition() [all …]
|
D | DeclCXX.cpp | 732 if (FunTmpl->getPreviousDecl()) in addedMember() 733 data().Conversions.replace(FunTmpl->getPreviousDecl(), in addedMember() 738 if (Conversion->getPreviousDecl()) in addedMember() 739 data().Conversions.replace(Conversion->getPreviousDecl(), in addedMember()
|
D | DeclTemplate.cpp | 119 for (RedeclarableTemplateDecl *Prev = getPreviousDecl(); Prev; in getCommonPtr() 120 Prev = Prev->getPreviousDecl()) { in getCommonPtr()
|
D | DumpXML.cpp | 411 if (T *Prev = D->getPreviousDecl()) in visitRedeclarableAttrs()
|
D | DeclBase.cpp | 866 N = N->getPreviousDecl()) in collectAllContexts()
|
D | ASTContext.cpp | 2232 } else if (CXXRecordDecl *PrevDecl = Decl->getPreviousDecl()) { in getInjectedClassNameType() 2258 assert(!Record->getPreviousDecl() && in getTypeDeclTypeSlow() 2263 assert(!Enum->getPreviousDecl() && in getTypeDeclTypeSlow() 2296 if (const RecordDecl *PrevDecl = Decl->getPreviousDecl()) in getRecordType() 2309 if (const EnumDecl *PrevDecl = Decl->getPreviousDecl()) in getEnumType()
|
/external/clang/tools/libclang/ |
D | IndexingContext.h | 149 /*isRedeclaration=*/D->getPreviousDecl() != 0, in ObjCInterfaceDeclInfo() 164 /*isRedeclaration=*/D->getPreviousDecl(), in ObjCProtocolDeclInfo()
|
D | IndexingContext.cpp | 359 bool isRedeclaration = D->hasDefinition() || D->getPreviousDecl(); in handleObjCInterface() 413 bool isRedeclaration = D->hasDefinition() || D->getPreviousDecl(); in handleObjCProtocol()
|
/external/clang/lib/Sema/ |
D | SemaTemplateInstantiateDecl.cpp | 180 if (TypedefNameDecl *Prev = D->getPreviousDecl()) { in InstantiateTypedefNameDecl() 227 if (Pattern->getPreviousDecl()) { in VisitTypeAliasTemplateDecl() 562 if (D->getPreviousDecl()) { in VisitEnumDecl() 564 D->getPreviousDecl(), in VisitEnumDecl() 728 if (!isFriend && Pattern->getPreviousDecl()) { in VisitClassTemplateDecl() 965 else if (D->getPreviousDecl()) { in VisitCXXRecordDecl() 967 D->getPreviousDecl(), in VisitCXXRecordDecl() 1227 PrevDecl = FunctionTemplate->getPreviousDecl(); in VisitFunctionDecl() 1229 PrevDecl = Function->getPreviousDecl(); in VisitFunctionDecl()
|
D | SemaAccess.cpp | 1109 PrevDecl = VD->getPreviousDecl(); in DiagnoseAccessPath() 1111 PrevDecl = FD->getPreviousDecl(); in DiagnoseAccessPath() 1113 PrevDecl = TND->getPreviousDecl(); in DiagnoseAccessPath() 1117 PrevDecl = TD->getPreviousDecl(); in DiagnoseAccessPath()
|
D | SemaTemplate.cpp | 5386 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) { in ActOnClassTemplateSpecialization() 5527 Prev = Prev->getPreviousDecl()) { in DiagLocForExplicitInstantiation() 5601 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) { in CheckSpecializationInstantiationRedecl() 5690 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) { in CheckSpecializationInstantiationRedecl() 6421 = cast_or_null<CXXRecordDecl>(Record->getPreviousDecl()); in ActOnExplicitInstantiation() 6696 FunctionDecl *PrevDecl = Specialization->getPreviousDecl(); in ActOnExplicitInstantiation()
|
D | SemaTemplateInstantiate.cpp | 2345 if (Record->isInjectedClassName() || Record->getPreviousDecl()) in InstantiateClassMembers() 2542 CheckD = Tag->getPreviousDecl(); in findInstantiationOf()
|
D | SemaDecl.cpp | 5479 Access = NewFD->getPreviousDecl()->getAccess(); in ActOnFunctionDeclarator() 5495 FunctionTemplate->getPreviousDecl(); in ActOnFunctionDeclarator() 6197 if (VarDecl *Old = VDecl->getPreviousDecl()) in AddInitializerToDecl() 6599 if (Var->getPreviousDecl() == 0) in ActOnUninitializedDecl() 7229 for (const FunctionDecl *Prev = FD->getPreviousDecl(); in ShouldWarnAboutMissingPrototype() 7230 Prev; Prev = Prev->getPreviousDecl()) { in ShouldWarnAboutMissingPrototype()
|
D | SemaLookup.cpp | 2653 Cursor = Cursor->getPreviousDecl(); in insert()
|
D | SemaDeclCXX.cpp | 451 for (FunctionDecl *Older = Old->getPreviousDecl(); in MergeCXXFunctionDecl() 452 Older; Older = Older->getPreviousDecl()) { in MergeCXXFunctionDecl() 10426 if (const FunctionDecl *Prev = Fn->getPreviousDecl()) { in SetDeclDeleted()
|
/external/clang/lib/Serialization/ |
D | ASTWriterDecl.cpp | 758 assert(D->getPreviousDecl() == 0 && "PARM_VAR_DECL can't be redecl"); in VisitParmVarDecl() 1125 if (D->getPreviousDecl() == 0) { in VisitClassTemplatePartialSpecializationDecl() 1254 (void)Writer.GetDeclRef(D->getPreviousDecl()); in VisitRedeclarable()
|
D | ASTWriter.cpp | 2931 assert(First->getPreviousDecl() == 0 && "Not the first declaration?"); in WriteRedeclarations() 2946 Prev = Prev->getPreviousDecl()) { in WriteRedeclarations()
|
D | ASTReaderDecl.cpp | 1425 if (D->getPreviousDecl() == 0) { in VisitClassTemplatePartialSpecializationDecl()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 1068 FD = FD->getPreviousDecl(); in GetOrCreateLLVMFunction()
|