Searched refs:file_or_err (Results 1 – 5 of 5) sorted by relevance
61 auto file_or_err = llvm::MemoryBuffer::getFileOrSTDIN(inputFileName.c_str()); in main() local62 if (std::error_code error = file_or_err.getError()) { in main()67 auto buffer = file_or_err->get(); in main()
54 const auto file_or_err = in LoadProtoFromFileImpl() local56 if (std::error_code error = file_or_err.getError()) { in LoadProtoFromFileImpl()62 const auto& input_file = *file_or_err; in LoadProtoFromFileImpl()
149 auto file_or_err = llvm::MemoryBuffer::getFileOrSTDIN(inputFileName.c_str()); in main() local150 if (std::error_code error = file_or_err.getError()) { in main()155 auto buffer = file_or_err->get(); in main()
97 auto file_or_err = llvm::MemoryBuffer::getFileOrSTDIN(input_filename.c_str()); in main() local98 if (std::error_code error = file_or_err.getError()) { in main()111 source_mgr.AddNewSourceBuffer(std::move(*file_or_err), llvm::SMLoc()); in main()
2094 auto file_or_err = llvm::MemoryBuffer::getFileOrSTDIN(filename); in parseSourceFile() local2095 if (std::error_code error = file_or_err.getError()) in parseSourceFile()2100 sourceMgr.AddNewSourceBuffer(std::move(*file_or_err), llvm::SMLoc()); in parseSourceFile()