Home
last modified time | relevance | path

Searched refs:RedeclarableTemplateDecl (Results 1 – 17 of 17) sorted by relevance

/external/clang/include/clang/AST/
DDeclTemplate.h32 class RedeclarableTemplateDecl; variable
629 class RedeclarableTemplateDecl : public TemplateDecl,
630 public Redeclarable<RedeclarableTemplateDecl>
632 typedef Redeclarable<RedeclarableTemplateDecl> redeclarable_base;
633 RedeclarableTemplateDecl *getNextRedeclarationImpl() override { in getNextRedeclarationImpl()
636 RedeclarableTemplateDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl()
639 RedeclarableTemplateDecl *getMostRecentDeclImpl() override { in getMostRecentDeclImpl()
697 llvm::PointerIntPair<RedeclarableTemplateDecl*, 1, bool>
713 RedeclarableTemplateDecl(Kind DK, ASTContext &C, DeclContext *DC, in RedeclarableTemplateDecl() function
723 RedeclarableTemplateDecl *getCanonicalDecl() override { in getCanonicalDecl()
[all …]
/external/llvm-project/clang/include/clang/AST/
DDeclTemplate.h747 class RedeclarableTemplateDecl : public TemplateDecl,
748 public Redeclarable<RedeclarableTemplateDecl>
750 using redeclarable_base = Redeclarable<RedeclarableTemplateDecl>;
752 RedeclarableTemplateDecl *getNextRedeclarationImpl() override { in getNextRedeclarationImpl()
756 RedeclarableTemplateDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl()
760 RedeclarableTemplateDecl *getMostRecentDeclImpl() override { in getMostRecentDeclImpl()
824 llvm::PointerIntPair<RedeclarableTemplateDecl*, 1, bool>
847 RedeclarableTemplateDecl(Kind DK, ASTContext &C, DeclContext *DC, in RedeclarableTemplateDecl() function
859 RedeclarableTemplateDecl *getCanonicalDecl() override { in getCanonicalDecl()
862 const RedeclarableTemplateDecl *getCanonicalDecl() const { in getCanonicalDecl()
[all …]
/external/clang/tools/libclang/
DCIndexCXX.cpp117 } else if (const RedeclarableTemplateDecl *Tmpl in clang_getSpecializedCursorTemplate()
118 = dyn_cast<RedeclarableTemplateDecl>(D)) in clang_getSpecializedCursorTemplate()
/external/llvm-project/clang/tools/libclang/
DCIndexCXX.cpp114 } else if (const RedeclarableTemplateDecl *Tmpl in clang_getSpecializedCursorTemplate()
115 = dyn_cast<RedeclarableTemplateDecl>(D)) in clang_getSpecializedCursorTemplate()
/external/llvm-project/clang/lib/AST/
DDeclTemplate.cpp223 void RedeclarableTemplateDecl::anchor() {} in anchor()
225 RedeclarableTemplateDecl::CommonBase *RedeclarableTemplateDecl::getCommonPtr() const { in getCommonPtr()
231 SmallVector<const RedeclarableTemplateDecl *, 2> PrevDecls; in getCommonPtr()
232 for (const RedeclarableTemplateDecl *Prev = getPreviousDecl(); Prev; in getCommonPtr()
251 for (const RedeclarableTemplateDecl *Prev : PrevDecls) in getCommonPtr()
257 void RedeclarableTemplateDecl::loadLazySpecializationsImpl() const { in loadLazySpecializationsImpl()
271 typename RedeclarableTemplateDecl::SpecEntryTraits<EntryType>::DeclType *
272 RedeclarableTemplateDecl::findSpecializationImpl( in findSpecializationImpl()
285 void RedeclarableTemplateDecl::addSpecializationImpl( in addSpecializationImpl()
332 RedeclarableTemplateDecl::CommonBase *
[all …]
DODRHash.cpp423 void VisitRedeclarableTemplateDecl(const RedeclarableTemplateDecl *D) { in VisitRedeclarableTemplateDecl()
DDecl.cpp189 std::enable_if<!std::is_base_of<RedeclarableTemplateDecl, T>::value, bool>::type
201 static bool isExplicitMemberSpecialization(const RedeclarableTemplateDecl *D) { in isExplicitMemberSpecialization()
1043 if (const auto *redeclTemp = dyn_cast<RedeclarableTemplateDecl>(temp)) { in getLVForClassMember()
DASTContext.cpp169 isa<RedeclarableTemplateDecl>(D) || in getDeclLocForCommentSearch()
/external/clang/lib/AST/
DDeclTemplate.cpp129 RedeclarableTemplateDecl::CommonBase *RedeclarableTemplateDecl::getCommonPtr() const { in getCommonPtr()
135 SmallVector<const RedeclarableTemplateDecl *, 2> PrevDecls; in getCommonPtr()
136 for (const RedeclarableTemplateDecl *Prev = getPreviousDecl(); Prev; in getCommonPtr()
155 for (const RedeclarableTemplateDecl *Prev : PrevDecls) in getCommonPtr()
162 typename RedeclarableTemplateDecl::SpecEntryTraits<EntryType>::DeclType *
163 RedeclarableTemplateDecl::findSpecializationImpl( in findSpecializationImpl()
174 void RedeclarableTemplateDecl::addSpecializationImpl( in addSpecializationImpl()
262 RedeclarableTemplateDecl::CommonBase *
370 RedeclarableTemplateDecl::CommonBase *
910 RedeclarableTemplateDecl::CommonBase *
[all …]
DDecl.cpp174 std::enable_if<!std::is_base_of<RedeclarableTemplateDecl, T>::value, bool>::type
186 static bool isExplicitMemberSpecialization(const RedeclarableTemplateDecl *D) { in isExplicitMemberSpecialization()
978 if (const auto *redeclTemp = dyn_cast<RedeclarableTemplateDecl>(temp)) { in getLVForClassMember()
DASTContext.cpp144 isa<RedeclarableTemplateDecl>(D) || in getRawCommentForDeclNoCache()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp318 RedeclarableResult VisitRedeclarableTemplateDecl(RedeclarableTemplateDecl *D);
356 void mergeTemplatePattern(RedeclarableTemplateDecl *D,
357 RedeclarableTemplateDecl *Existing,
1868 ASTDeclReader::VisitRedeclarableTemplateDecl(RedeclarableTemplateDecl *D) { in VisitRedeclarableTemplateDecl()
1873 RedeclarableTemplateDecl *CanonD = D->getCanonicalDecl(); in VisitRedeclarableTemplateDecl()
1883 if (RedeclarableTemplateDecl *RTD in VisitRedeclarableTemplateDecl()
1884 = ReadDeclAs<RedeclarableTemplateDecl>(Record, Idx)) { in VisitRedeclarableTemplateDecl()
2332 void ASTDeclReader::mergeTemplatePattern(RedeclarableTemplateDecl *D, in mergeTemplatePattern()
2333 RedeclarableTemplateDecl *Existing, in mergeTemplatePattern()
2400 if (auto *DTemplate = dyn_cast<RedeclarableTemplateDecl>(D)) in mergeRedeclarable()
[all …]
DASTWriterDecl.cpp102 void VisitRedeclarableTemplateDecl(RedeclarableTemplateDecl *D);
179 typename RedeclarableTemplateDecl::SpecEntryTraits<EntryType>::DeclType *
181 return RedeclarableTemplateDecl::SpecEntryTraits<EntryType>::getDecl(&T); in getSpecializationDecl()
1319 void ASTDeclWriter::VisitRedeclarableTemplateDecl(RedeclarableTemplateDecl *D) { in VisitRedeclarableTemplateDecl()
DASTReader.cpp8433 auto RTD = cast<RedeclarableTemplateDecl>(D)->getCanonicalDecl(); in finishPendingActions()
8435 cast<RedeclarableTemplateDecl>(R)->Common = RTD->Common; in finishPendingActions()
/external/llvm-project/clang/lib/Serialization/
DASTReaderDecl.cpp384 RedeclarableResult VisitRedeclarableTemplateDecl(RedeclarableTemplateDecl *D);
427 void mergeTemplatePattern(RedeclarableTemplateDecl *D,
428 RedeclarableTemplateDecl *Existing,
2075 ASTDeclReader::VisitRedeclarableTemplateDecl(RedeclarableTemplateDecl *D) { in VisitRedeclarableTemplateDecl()
2080 RedeclarableTemplateDecl *CanonD = D->getCanonicalDecl(); in VisitRedeclarableTemplateDecl()
2090 if (auto *RTD = readDeclAs<RedeclarableTemplateDecl>()) { in VisitRedeclarableTemplateDecl()
2539 void ASTDeclReader::mergeTemplatePattern(RedeclarableTemplateDecl *D, in mergeTemplatePattern()
2540 RedeclarableTemplateDecl *Existing, in mergeTemplatePattern()
2608 if (auto *DTemplate = dyn_cast<RedeclarableTemplateDecl>(D)) in mergeRedeclarable()
2610 DTemplate, assert_cast<RedeclarableTemplateDecl*>(ExistingCanon), in mergeRedeclarable()
DASTWriterDecl.cpp110 void VisitRedeclarableTemplateDecl(RedeclarableTemplateDecl *D);
193 typename RedeclarableTemplateDecl::SpecEntryTraits<EntryType>::DeclType *
195 return RedeclarableTemplateDecl::SpecEntryTraits<EntryType>::getDecl(&T); in getSpecializationDecl()
1494 void ASTDeclWriter::VisitRedeclarableTemplateDecl(RedeclarableTemplateDecl *D) { in VisitRedeclarableTemplateDecl()
DASTReader.cpp9439 auto RTD = cast<RedeclarableTemplateDecl>(D)->getCanonicalDecl(); in finishPendingActions()
9441 cast<RedeclarableTemplateDecl>(R)->Common = RTD->Common; in finishPendingActions()