Home
last modified time | relevance | path

Searched refs:ErrOrFile (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang/tools/clang-refactor/
DTestSupport.cpp163 ErrorOr<std::unique_ptr<MemoryBuffer>> ErrOrFile = in getLineColumn() local
165 if (!ErrOrFile) in getLineColumn()
167 StringRef Source = ErrOrFile.get()->getBuffer(); in getLineColumn()
296 ErrorOr<std::unique_ptr<MemoryBuffer>> ErrOrFile = in findTestSelectionRanges() local
298 if (!ErrOrFile) { in findTestSelectionRanges()
303 StringRef Source = ErrOrFile.get()->getBuffer(); in findTestSelectionRanges()
/external/llvm/tools/dsymutil/
DBinaryHolder.cpp66 auto ErrOrFile = MemoryBuffer::getFileOrSTDIN(Filename); in GetMemoryBuffersForFile() local
67 if (auto Err = ErrOrFile.getError()) in GetMemoryBuffersForFile()
70 changeBackingMemoryBuffer(std::move(*ErrOrFile)); in GetMemoryBuffersForFile()
DDebugMap.cpp106 auto ErrOrFile = MemoryBuffer::getFileOrSTDIN(InputFile); in parseYAMLDebugMap() local
107 if (auto Err = ErrOrFile.getError()) in parseYAMLDebugMap()
115 yaml::Input yin((*ErrOrFile)->getBuffer(), &Ctxt); in parseYAMLDebugMap()
/external/llvm-project/llvm/tools/dsymutil/
DDebugMap.cpp129 auto ErrOrFile = MemoryBuffer::getFileOrSTDIN(InputFile); in parseYAMLDebugMap() local
130 if (auto Err = ErrOrFile.getError()) in parseYAMLDebugMap()
138 yaml::Input yin((*ErrOrFile)->getBuffer(), &Ctxt); in parseYAMLDebugMap()