Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTImporter.cpp1630 Expected<TypedefNameDecl *> ToDeclOrErr = import(T->getDecl()); in VisitTypedefType() local
1631 if (!ToDeclOrErr) in VisitTypedefType()
1632 return ToDeclOrErr.takeError(); in VisitTypedefType()
1634 TypedefNameDecl *ToDecl = *ToDeclOrErr; in VisitTypedefType()
1736 Expected<CXXRecordDecl *> ToDeclOrErr = import(T->getDecl()); in VisitInjectedClassNameType() local
1737 if (!ToDeclOrErr) in VisitInjectedClassNameType()
1738 return ToDeclOrErr.takeError(); in VisitInjectedClassNameType()
1742 const Type *Ty = (*ToDeclOrErr)->getTypeForDecl(); in VisitInjectedClassNameType()
1748 Expected<RecordDecl *> ToDeclOrErr = import(T->getDecl()); in VisitRecordType() local
1749 if (!ToDeclOrErr) in VisitRecordType()
[all …]