Home
last modified time | relevance | path

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

/external/llvm/lib/ProfileData/
DInstrProfReader.cpp39 auto BufferOrError = setupMemoryBuffer(Path); in create() local
40 if (std::error_code EC = BufferOrError.getError()) in create()
42 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.cpp384 auto BufferOrError = setupMemoryBuffer(Filename); in create() local
385 if (std::error_code EC = BufferOrError.getError()) in create()
388 auto Buffer = std::move(BufferOrError.get()); 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()