Searched refs:ErrOrFile (Results 1 – 2 of 2) sorted by relevance
75 auto ErrOrFile = MemoryBuffer::getFileOrSTDIN(Filename); in GetMemoryBuffersForFile() local76 if (auto Err = ErrOrFile.getError()) in GetMemoryBuffersForFile()79 changeBackingMemoryBuffer(std::move(*ErrOrFile)); in GetMemoryBuffersForFile()
103 auto ErrOrFile = MemoryBuffer::getFileOrSTDIN(InputFile); in parseYAMLDebugMap() local104 if (auto Err = ErrOrFile.getError()) in parseYAMLDebugMap()112 yaml::Input yin((*ErrOrFile)->getBuffer(), &Ctxt); in parseYAMLDebugMap()