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.cpp189 template <typename T> T *readDeclAs() { return Record.readDeclAs<T>(); } in readDeclAs() function in clang::ASTDeclReader
597 auto *SemaDC = readDeclAs<DeclContext>(); in VisitDecl()
599 HasStandaloneLexicalDC ? readDeclAs<DeclContext>() : nullptr; in VisitDecl()
725 if (auto *Template = readDeclAs<TypeAliasTemplateDecl>()) in VisitTypeAliasDecl()
815 if (auto *InstED = readDeclAs<EnumDecl>()) { in VisitEnumDecl()
921 FD->setInstantiatedFromDecl(readDeclAs<FunctionDecl>()); in VisitFunctionDecl()
924 auto *Template = readDeclAs<FunctionTemplateDecl>(); in VisitFunctionDecl()
930 auto *InstFD = readDeclAs<FunctionDecl>(); in VisitFunctionDecl()
938 auto *Template = readDeclAs<FunctionTemplateDecl>(); in VisitFunctionDecl()
959 auto *FD = readDeclAs<FunctionDecl>(); in VisitFunctionDecl()
[all …]
H A DASTReaderStmt.cpp95 T *readDeclAs() { in readDeclAs() function in clang::ASTStmtReader
96 return Record.readDeclAs<T>(); in readDeclAs()
191 auto *LD = readDeclAs<LabelDecl>(); in VisitLabelStmt()
311 S->setLabel(readDeclAs<LabelDecl>()); in VisitGotoStmt()
340 S->setNRVOCandidate(readDeclAs<VarDecl>()); in VisitReturnStmt()
504 S->setCapturedDecl(readDeclAs<CapturedDecl>()); in VisitCapturedStmt()
506 S->setCapturedRecordDecl(readDeclAs<RecordDecl>()); in VisitCapturedStmt()
520 I.VarAndKind.setPointer(readDeclAs<VarDecl>()); in VisitCapturedStmt()
530 S->setOutlinedFunctionDecl(readDeclAs<OutlinedFunctionDecl>()); in VisitSYCLKernelCallStmt()
630 *E->getTrailingObjects<NamedDecl *>() = readDeclAs<NamedDecl>(); in VisitDeclRefExpr()
[all …]
H A DASTReader.cpp7247 TL.setParam(i, Reader.readDeclAs<ParmVarDecl>()); in VisitFunctionTypeLoc()
7304 auto FoundDecl = readDeclAs<NamedDecl>(); in readConceptReference()
7305 auto NamedConcept = readDeclAs<ConceptDecl>(); in readConceptReference()
9834 return TypeCoupledDeclRefInfo(readDeclAs<ValueDecl>(), readBool()); in readTypeCoupledDeclRefInfo()
9868 Params.push_back(readDeclAs<NamedDecl>()); in readTemplateParameterList()
9937 Member = readDeclAs<FieldDecl>(); in readCXXCtorInitializers()
9941 IndirectMember = readDeclAs<IndirectFieldDecl>(); in readCXXCtorInitializers()
9994 NamespaceDecl *NS = readDeclAs<NamespaceDecl>(); in readNestedNameSpecifierLoc()
10001 NamespaceAliasDecl *Alias = readDeclAs<NamespaceAliasDecl>(); in readNestedNameSpecifierLoc()
10023 CXXRecordDecl *RD = readDeclAs<CXXRecordDecl>(); in readNestedNameSpecifierLoc()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DAbstractBasicReader.h198 Decl *decl = asImpl().template readDeclAs<Decl>(); in readLValuePathSerializationHelper()
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/
H A DASTRecordReader.h201 T *readDeclAs() { in readDeclAs() function