Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/Serialization/
DASTReaderDecl.cpp144 T *readDeclAs() { in readDeclAs() function in clang::ASTDeclReader
145 return Record.readDeclAs<T>(); in readDeclAs()
578 auto *SemaDC = readDeclAs<DeclContext>(); in VisitDecl()
579 auto *LexicalDC = readDeclAs<DeclContext>(); in VisitDecl()
698 if (auto *Template = readDeclAs<TypeAliasTemplateDecl>()) in VisitTypeAliasDecl()
783 if (auto *InstED = readDeclAs<EnumDecl>()) { in VisitEnumDecl()
899 NamedDecl *ND = Record.readDeclAs<NamedDecl>(); in VisitFunctionDecl()
914 FD->setDescribedFunctionTemplate(readDeclAs<FunctionTemplateDecl>()); in VisitFunctionDecl()
917 auto *InstFD = readDeclAs<FunctionDecl>(); in VisitFunctionDecl()
926 auto *Template = readDeclAs<FunctionTemplateDecl>(); in VisitFunctionDecl()
[all …]
DASTReaderStmt.cpp96 T *readDeclAs() { in readDeclAs() function in clang::ASTStmtReader
97 return Record.readDeclAs<T>(); in readDeclAs()
188 auto *LD = readDeclAs<LabelDecl>(); in VisitLabelStmt()
224 S->setConditionVariable(Record.getContext(), readDeclAs<VarDecl>()); in VisitIfStmt()
249 S->setConditionVariable(Record.getContext(), readDeclAs<VarDecl>()); in VisitSwitchStmt()
275 S->setConditionVariable(Record.getContext(), readDeclAs<VarDecl>()); in VisitWhileStmt()
295 S->setConditionVariable(Record.getContext(), readDeclAs<VarDecl>()); in VisitForStmt()
305 S->setLabel(readDeclAs<LabelDecl>()); in VisitGotoStmt()
334 S->setNRVOCandidate(readDeclAs<VarDecl>()); in VisitReturnStmt()
496 S->setCapturedDecl(readDeclAs<CapturedDecl>()); in VisitCapturedStmt()
[all …]
DASTReader.cpp6577 TL.setParam(i, Reader.readDeclAs<ParmVarDecl>()); in VisitFunctionTypeLoc()
6627 TL.setFoundDecl(Reader.readDeclAs<NamedDecl>()); in VisitAutoTypeLoc()
8764 Params.push_back(readDeclAs<NamedDecl>()); in readTemplateParameterList()
8833 Member = readDeclAs<FieldDecl>(); in readCXXCtorInitializers()
8837 IndirectMember = readDeclAs<IndirectFieldDecl>(); in readCXXCtorInitializers()
8890 NamespaceDecl *NS = readDeclAs<NamespaceDecl>(); in readNestedNameSpecifierLoc()
8897 NamespaceAliasDecl *Alias = readDeclAs<NamespaceAliasDecl>(); in readNestedNameSpecifierLoc()
8925 CXXRecordDecl *RD = readDeclAs<CXXRecordDecl>(); in readNestedNameSpecifierLoc()
9017 auto *FDecl = asImpl().readDeclAs<FieldDecl>(); in readAPValue()
9029 auto *Member = asImpl().readDeclAs<ValueDecl>(); in readAPValue()
[all …]
/external/llvm-project/clang/include/clang/Serialization/
DASTRecordReader.h205 T *readDeclAs() { in readDeclAs() function