Searched refs:ErrOrFile (Results 1 – 3 of 3) sorted by relevance
66 auto ErrOrFile = MemoryBuffer::getFileOrSTDIN(Filename); in GetMemoryBuffersForFile() local67 if (auto Err = ErrOrFile.getError()) in GetMemoryBuffersForFile()70 changeBackingMemoryBuffer(std::move(*ErrOrFile)); in GetMemoryBuffersForFile()
106 auto ErrOrFile = MemoryBuffer::getFileOrSTDIN(InputFile); in parseYAMLDebugMap() local107 if (auto Err = ErrOrFile.getError()) in parseYAMLDebugMap()115 yaml::Input yin((*ErrOrFile)->getBuffer(), &Ctxt); in parseYAMLDebugMap()
130 auto ErrOrFile = MemoryBuffer::getFileOrSTDIN(InputFile); in parseYAMLDebugMap() local131 if (auto Err = ErrOrFile.getError()) in parseYAMLDebugMap()139 yaml::Input yin((*ErrOrFile)->getBuffer(), &Ctxt); in parseYAMLDebugMap()