Home
last modified time | relevance | path

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

/external/llvm-project/clang/unittests/AST/
DASTImporterFixtures.cpp83 if (auto ImportedOrErr = Importer->Import(FromDecl)) in import() local
84 return *ImportedOrErr; in import()
86 llvm::consumeError(ImportedOrErr.takeError()); in import()
102 if (auto ImportedOrErr = Importer->Import(FromType)) in import() local
103 return *ImportedOrErr; in import()
105 llvm::consumeError(ImportedOrErr.takeError()); in import()
/external/llvm-project/clang/docs/
DLibASTImporter.rst119 llvm::Expected<Decl *> ImportedOrErr = Importer.Import(From);
126 if (!ImportedOrErr) {
127 llvm::Error Err = ImportedOrErr.takeError();
138 Decl *Imported = *ImportedOrErr;
237 llvm::Expected<Decl *> ImportedOrErr = Importer.Import(From);
238 if (!ImportedOrErr) {
239 llvm::Error Err = ImportedOrErr.takeError();
244 Decl *Imported = *ImportedOrErr;
321 llvm::Expected<Decl *> ImportedOrErr = Importer.Import(From);
322 if (!ImportedOrErr) {
[all …]
/external/llvm-project/clang/lib/AST/
DASTImporter.cpp1743 ExpectedDecl ImportedOrErr = import(From); in ImportDeclContext() local
1749 if (ImportedOrErr) { in ImportDeclContext()
1751 Decl *ImportedDecl = *ImportedOrErr; in ImportDeclContext()
1790 joinErrors(std::move(ChildErrors), ImportedOrErr.takeError()); in ImportDeclContext()
1792 consumeError(ImportedOrErr.takeError()); in ImportDeclContext()
7958 if (auto ImportedOrErr = import(FromOverriddenMethod)) in ImportOverriddenMethods() local
7960 (*ImportedOrErr)->getCanonicalDecl())); in ImportOverriddenMethods()
7963 joinErrors(std::move(ImportErrors), ImportedOrErr.takeError()); in ImportOverriddenMethods()