Home
last modified time | relevance | path

Searched refs:BufferOrError (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/ProfileData/
DInstrProfReader.cpp37 auto BufferOrError = setupMemoryBuffer(Path); in create() local
38 if (std::error_code EC = BufferOrError.getError()) in create()
40 return InstrProfReader::create(std::move(BufferOrError.get())); in create()
72 auto BufferOrError = setupMemoryBuffer(Path); in create() local
73 if (std::error_code EC = BufferOrError.getError()) in create()
75 return IndexedInstrProfReader::create(std::move(BufferOrError.get())); in create()
DSampleProfReader.cpp696 auto BufferOrError = setupMemoryBuffer(Filename); in create() local
697 if (std::error_code EC = BufferOrError.getError()) in create()
699 return create(BufferOrError.get(), C); in create()
/external/clang/lib/Basic/
DSourceManager.cpp98 auto BufferOrError = in getBuffer() local
111 if (!BufferOrError) { in getBuffer()
122 BufferOrError.getError().message()); in getBuffer()
125 << ContentsEntry->getName() << BufferOrError.getError().message(); in getBuffer()
133 Buffer.setPointer(BufferOrError->release()); in getBuffer()