Searched refs:error_or_file (Results 1 – 2 of 2) sorted by relevance
113 auto error_or_file = MemoryBuffer::getFile(path.GetPath()); in LLVM_YAML_IS_DOCUMENT_LIST_VECTOR() local114 if (auto err = error_or_file.getError()) in LLVM_YAML_IS_DOCUMENT_LIST_VECTOR()117 yaml::Input yin((*error_or_file)->getBuffer()); in LLVM_YAML_IS_DOCUMENT_LIST_VECTOR()
195 auto error_or_file = MemoryBuffer::getFile(index.GetPath()); in LoadIndex() local196 if (auto err = error_or_file.getError()) in LoadIndex()200 yaml::Input yin((*error_or_file)->getBuffer()); in LoadIndex()