Home
last modified time | relevance | path

Searched refs:readDeclAs (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp144 T *readDeclAs() { in readDeclAs() function in clang::ASTDeclReader
145 return Record.readDeclAs<T>(); in readDeclAs()
612 auto *SemaDC = readDeclAs<DeclContext>(); in VisitDecl()
614 HasStandaloneLexicalDC ? readDeclAs<DeclContext>() : nullptr; in VisitDecl()
742 if (auto *Template = readDeclAs<TypeAliasTemplateDecl>()) in VisitTypeAliasDecl()
832 if (auto *InstED = readDeclAs<EnumDecl>()) { in VisitEnumDecl()
936 FD->setInstantiatedFromDecl(readDeclAs<FunctionDecl>()); in VisitFunctionDecl()
939 auto *Template = readDeclAs<FunctionTemplateDecl>(); in VisitFunctionDecl()
945 auto *InstFD = readDeclAs<FunctionDecl>(); in VisitFunctionDecl()
953 auto *Template = readDeclAs<FunctionTemplateDecl>(); in VisitFunctionDecl()
[all …]
H A DASTReaderStmt.cpp99 T *readDeclAs() { in readDeclAs() function in clang::ASTStmtReader
100 return Record.readDeclAs<T>(); in readDeclAs()
195 auto *LD = readDeclAs<LabelDecl>(); in VisitLabelStmt()
315 S->setLabel(readDeclAs<LabelDecl>()); in VisitGotoStmt()
344 S->setNRVOCandidate(readDeclAs<VarDecl>()); in VisitReturnStmt()
508 S->setCapturedDecl(readDeclAs<CapturedDecl>()); in VisitCapturedStmt()
510 S->setCapturedRecordDecl(readDeclAs<RecordDecl>()); in VisitCapturedStmt()
524 I.VarAndKind.setPointer(readDeclAs<VarDecl>()); in VisitCapturedStmt()
623 *E->getTrailingObjects<NamedDecl *>() = readDeclAs<NamedDecl>(); in VisitDeclRefExpr()
630 E->D = readDeclAs<ValueDecl>(); in VisitDeclRefExpr()
[all …]
H A DASTReader.cpp6912 TL.setParam(i, Reader.readDeclAs<ParmVarDecl>()); in VisitFunctionTypeLoc()
6969 auto FoundDecl = readDeclAs<NamedDecl>(); in readConceptReference()
6970 auto NamedConcept = readDeclAs<ConceptDecl>(); in readConceptReference()
9225 return TypeCoupledDeclRefInfo(readDeclAs<ValueDecl>(), readBool()); in readTypeCoupledDeclRefInfo()
9250 Params.push_back(readDeclAs<NamedDecl>()); in readTemplateParameterList()
9319 Member = readDeclAs<FieldDecl>(); in readCXXCtorInitializers()
9323 IndirectMember = readDeclAs<IndirectFieldDecl>(); in readCXXCtorInitializers()
9376 NamespaceDecl *NS = readDeclAs<NamespaceDecl>(); in readNestedNameSpecifierLoc()
9383 NamespaceAliasDecl *Alias = readDeclAs<NamespaceAliasDecl>(); in readNestedNameSpecifierLoc()
9411 CXXRecordDecl *RD = readDeclAs<CXXRecordDecl>(); in readNestedNameSpecifierLoc()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DAbstractBasicReader.h199 Decl *decl = asImpl().template readDeclAs<Decl>(); in readLValuePathSerializationHelper()
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTRecordReader.h202 T *readDeclAs() { in readDeclAs() function