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

/external/clang/include/clang/AST/
H A DRedeclarable.h67 decl_type *getPreviousDecl() { function in class:clang::Redeclarable
72 const decl_type *getPreviousDecl() const { function in class:clang::Redeclarable
74 static_cast<const decl_type*>(this))->getPreviousDecl();
81 while (D->getPreviousDecl())
82 D = D->getPreviousDecl();
90 while (D->getPreviousDecl())
91 D = D->getPreviousDecl();
H A DDeclTemplate.h491 return getPreviousDecl();
669 using redeclarable_base::getPreviousDecl;
774 FunctionTemplateDecl *getPreviousDecl() { function in class:clang::TemplateParameterList::FunctionTemplateDecl
776 RedeclarableTemplateDecl::getPreviousDecl());
781 const FunctionTemplateDecl *getPreviousDecl() const { function in class:clang::TemplateParameterList::FunctionTemplateDecl
783 RedeclarableTemplateDecl::getPreviousDecl());
1326 assert(Recent->isInjectedClassName() && Recent->getPreviousDecl());
1327 Recent = Recent->getPreviousDecl();
1778 ClassTemplateDecl *getPreviousDecl() { function in class:clang::TemplateParameterList::ClassTemplateDecl
1780 RedeclarableTemplateDecl::getPreviousDecl());
1785 const ClassTemplateDecl *getPreviousDecl() const { function in class:clang::TemplateParameterList::ClassTemplateDecl
2012 TypeAliasTemplateDecl *getPreviousDecl() { function in class:clang::TemplateParameterList::TypeAliasTemplateDecl
2019 const TypeAliasTemplateDecl *getPreviousDecl() const { function in class:clang::TemplateParameterList::TypeAliasTemplateDecl
[all...]
H A DDecl.h419 return getPreviousDecl();
436 using redeclarable_base::getPreviousDecl;
833 return getPreviousDecl();
843 using redeclarable_base::getPreviousDecl;
1438 /// getPreviousDecl() chain.
1574 return getPreviousDecl();
1584 using redeclarable_base::getPreviousDecl;
2351 return getPreviousDecl();
2361 using redeclarable_base::getPreviousDecl;
2520 return getPreviousDecl();
[all...]
H A DDeclCXX.h683 const CXXRecordDecl *getPreviousDecl() const { function in class:clang::CXXRecordDecl
684 return cast_or_null<CXXRecordDecl>(RecordDecl::getPreviousDecl());
686 CXXRecordDecl *getPreviousDecl() { function in class:clang::CXXRecordDecl
687 return cast_or_null<CXXRecordDecl>(RecordDecl::getPreviousDecl());
H A DDeclObjC.h625 return getPreviousDecl();
947 using redeclarable_base::getPreviousDecl;
1128 return getPreviousDecl();
1232 using redeclarable_base::getPreviousDecl;
H A DDeclBase.h679 /// \brief Implementation of getPreviousDecl(), to be overridden by any
739 Decl *getPreviousDecl() { return getPreviousDeclImpl(); } function in class:clang::Decl
743 const Decl *getPreviousDecl() const { function in class:clang::Decl
/external/clang/lib/AST/
H A DDecl.cpp222 for (const VarDecl *PrevVar = Var->getPreviousDecl();
224 PrevVar = PrevVar->getPreviousDecl())
232 const VarDecl *PrevVar = Var->getPreviousDecl();
233 for (; PrevVar; PrevVar = PrevVar->getPreviousDecl())
347 if (const VarDecl *PrevVar = Var->getPreviousDecl()) {
382 if (const FunctionDecl *PrevFunc = Function->getPreviousDecl()) {
791 if (const FunctionDecl *Prev = Function->getPreviousDecl()) {
815 if (const VarDecl *Prev = Var->getPreviousDecl()) {
924 return FD->getPreviousDecl() == OldD;
1235 for (const VarDecl *PrevVar = getPreviousDecl();
[all...]
H A DDeclCXX.cpp732 if (FunTmpl->getPreviousDecl())
733 data().Conversions.replace(FunTmpl->getPreviousDecl(),
738 if (Conversion->getPreviousDecl())
739 data().Conversions.replace(Conversion->getPreviousDecl(),
H A DDeclTemplate.cpp119 for (RedeclarableTemplateDecl *Prev = getPreviousDecl(); Prev;
120 Prev = Prev->getPreviousDecl()) {
H A DDeclBase.cpp866 N = N->getPreviousDecl())
H A DDumpXML.cpp411 if (T *Prev = D->getPreviousDecl())
H A DASTContext.cpp2232 } else if (CXXRecordDecl *PrevDecl = Decl->getPreviousDecl()) {
2258 assert(!Record->getPreviousDecl() &&
2263 assert(!Enum->getPreviousDecl() &&
2296 if (const RecordDecl *PrevDecl = Decl->getPreviousDecl())
2309 if (const EnumDecl *PrevDecl = Decl->getPreviousDecl())
/external/clang/tools/libclang/
H A DIndexingContext.h149 /*isRedeclaration=*/D->getPreviousDecl() != 0,
164 /*isRedeclaration=*/D->getPreviousDecl(),
H A DIndexingContext.cpp359 bool isRedeclaration = D->hasDefinition() || D->getPreviousDecl();
413 bool isRedeclaration = D->hasDefinition() || D->getPreviousDecl();
/external/clang/lib/Sema/
H A DSemaAccess.cpp1109 PrevDecl = VD->getPreviousDecl();
1111 PrevDecl = FD->getPreviousDecl();
1113 PrevDecl = TND->getPreviousDecl();
1117 PrevDecl = TD->getPreviousDecl();
H A DSemaTemplateInstantiateDecl.cpp180 if (TypedefNameDecl *Prev = D->getPreviousDecl()) {
227 if (Pattern->getPreviousDecl()) {
562 if (D->getPreviousDecl()) {
564 D->getPreviousDecl(),
728 if (!isFriend && Pattern->getPreviousDecl()) {
965 else if (D->getPreviousDecl()) {
967 D->getPreviousDecl(),
1227 PrevDecl = FunctionTemplate->getPreviousDecl();
1229 PrevDecl = Function->getPreviousDecl();
H A DSemaTemplate.cpp5386 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) {
5527 Prev = Prev->getPreviousDecl()) {
5601 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) {
5690 for (Decl *Prev = PrevDecl; Prev; Prev = Prev->getPreviousDecl()) {
6421 = cast_or_null<CXXRecordDecl>(Record->getPreviousDecl());
6696 FunctionDecl *PrevDecl = Specialization->getPreviousDecl();
H A DSemaTemplateInstantiate.cpp2345 if (Record->isInjectedClassName() || Record->getPreviousDecl())
2542 CheckD = Tag->getPreviousDecl();
H A DSemaDecl.cpp5479 Access = NewFD->getPreviousDecl()->getAccess();
5495 FunctionTemplate->getPreviousDecl();
6197 if (VarDecl *Old = VDecl->getPreviousDecl())
6599 if (Var->getPreviousDecl() == 0)
7229 for (const FunctionDecl *Prev = FD->getPreviousDecl();
7230 Prev; Prev = Prev->getPreviousDecl()) {
H A DSemaDeclCXX.cpp451 for (FunctionDecl *Older = Old->getPreviousDecl();
452 Older; Older = Older->getPreviousDecl()) {
10426 if (const FunctionDecl *Prev = Fn->getPreviousDecl()) {
H A DSemaLookup.cpp2653 Cursor = Cursor->getPreviousDecl();
/external/clang/lib/Serialization/
H A DASTWriterDecl.cpp758 assert(D->getPreviousDecl() == 0 && "PARM_VAR_DECL can't be redecl");
1125 if (D->getPreviousDecl() == 0) {
1254 (void)Writer.GetDeclRef(D->getPreviousDecl());
H A DASTWriter.cpp2931 assert(First->getPreviousDecl() == 0 && "Not the first declaration?");
2946 Prev = Prev->getPreviousDecl()) {
H A DASTReaderDecl.cpp1425 if (D->getPreviousDecl() == 0) {
/external/clang/lib/CodeGen/
H A DCodeGenModule.cpp1068 FD = FD->getPreviousDecl();

Completed in 584 milliseconds