Searched refs:ErrOrFile (Results 1 – 4 of 4) sorted by relevance
163 ErrorOr<std::unique_ptr<MemoryBuffer>> ErrOrFile = in getLineColumn() local165 if (!ErrOrFile) in getLineColumn()167 StringRef Source = ErrOrFile.get()->getBuffer(); in getLineColumn()296 ErrorOr<std::unique_ptr<MemoryBuffer>> ErrOrFile = in findTestSelectionRanges() local298 if (!ErrOrFile) { in findTestSelectionRanges()303 StringRef Source = ErrOrFile.get()->getBuffer(); in findTestSelectionRanges()
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()
129 auto ErrOrFile = MemoryBuffer::getFileOrSTDIN(InputFile); in parseYAMLDebugMap() local130 if (auto Err = ErrOrFile.getError()) in parseYAMLDebugMap()138 yaml::Input yin((*ErrOrFile)->getBuffer(), &Ctxt); in parseYAMLDebugMap()