Home
last modified time | relevance | path

Searched refs:mb_or_error (Results 1 – 2 of 2) sorted by relevance

/frameworks/compile/libbcc/lib/
DSource.cpp141 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> mb_or_error = in CreateFromFile() local
143 if (mb_or_error.getError()) { in CreateFromFile()
145 mb_or_error.getError().message().c_str()); in CreateFromFile()
148 std::unique_ptr<llvm::MemoryBuffer> input_data = std::move(mb_or_error.get()); in CreateFromFile()
/frameworks/compile/libbcc/tools/bcc/
DMain.cpp340 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> mb_or_error = in main() local
342 if (mb_or_error.getError()) { in main()
344 OptInputFilenames[0].c_str(), mb_or_error.getError().message().c_str()); in main()
347 std::unique_ptr<llvm::MemoryBuffer> input_data = std::move(mb_or_error.get()); in main()