Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTReaderDecl.cpp145 T *readDeclAs() { in readDeclAs() function in clang::ASTDeclReader
146 return Record.readDeclAs<T>(); in readDeclAs()
587 auto *SemaDC = readDeclAs<DeclContext>(); in VisitDecl()
588 auto *LexicalDC = readDeclAs<DeclContext>(); in VisitDecl()
719 if (auto *Template = readDeclAs<TypeAliasTemplateDecl>()) in VisitTypeAliasDecl()
804 if (auto *InstED = readDeclAs<EnumDecl>()) { in VisitEnumDecl()
904 FD->setInstantiatedFromDecl(readDeclAs<FunctionDecl>()); in VisitFunctionDecl()
907 auto *Template = readDeclAs<FunctionTemplateDecl>(); in VisitFunctionDecl()
913 auto *InstFD = readDeclAs<FunctionDecl>(); in VisitFunctionDecl()
921 auto *Template = readDeclAs<FunctionTemplateDecl>(); in VisitFunctionDecl()
[all …]
H A DASTReaderStmt.cpp97 T *readDeclAs() { in readDeclAs() function in clang::ASTStmtReader
98 return Record.readDeclAs<T>(); in readDeclAs()
194 auto *LD = readDeclAs<LabelDecl>(); in VisitLabelStmt()
231 S->setConditionVariable(Record.getContext(), readDeclAs<VarDecl>()); in VisitIfStmt()
256 S->setConditionVariable(Record.getContext(), readDeclAs<VarDecl>()); in VisitSwitchStmt()
282 S->setConditionVariable(Record.getContext(), readDeclAs<VarDecl>()); in VisitWhileStmt()
302 S->setConditionVariable(Record.getContext(), readDeclAs<VarDecl>()); in VisitForStmt()
312 S->setLabel(readDeclAs<LabelDecl>()); in VisitGotoStmt()
341 S->setNRVOCandidate(readDeclAs<VarDecl>()); in VisitReturnStmt()
503 S->setCapturedDecl(readDeclAs<CapturedDecl>()); in VisitCapturedStmt()
[all …]
H A DASTReader.cpp6706 TL.setParam(i, Reader.readDeclAs<ParmVarDecl>()); in VisitFunctionTypeLoc()
6761 TL.setFoundDecl(Reader.readDeclAs<NamedDecl>()); in VisitAutoTypeLoc()
8902 Params.push_back(readDeclAs<NamedDecl>()); in readTemplateParameterList()
8971 Member = readDeclAs<FieldDecl>(); in readCXXCtorInitializers()
8975 IndirectMember = readDeclAs<IndirectFieldDecl>(); in readCXXCtorInitializers()
9028 NamespaceDecl *NS = readDeclAs<NamespaceDecl>(); in readNestedNameSpecifierLoc()
9035 NamespaceAliasDecl *Alias = readDeclAs<NamespaceAliasDecl>(); in readNestedNameSpecifierLoc()
9063 CXXRecordDecl *RD = readDeclAs<CXXRecordDecl>(); in readNestedNameSpecifierLoc()
10874 Decls.push_back(Record.readDeclAs<ValueDecl>()); in VisitOMPMapClause()
10893 auto *AssociatedDecl = Record.readDeclAs<ValueDecl>(); in VisitOMPMapClause()
[all …]
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DAbstractBasicReader.h199 Decl *decl = asImpl().template readDeclAs<Decl>(); in readLValuePathSerializationHelper()
/openbsd-src/gnu/llvm/clang/include/clang/Serialization/
H A DASTRecordReader.h206 T *readDeclAs() { in readDeclAs() function