Searched refs:CodeOrErr (Results 1 – 4 of 4) sorted by relevance
359 ErrorOr<std::unique_ptr<MemoryBuffer>> CodeOrErr = in format() local362 if (std::error_code EC = CodeOrErr.getError()) { in format()366 std::unique_ptr<llvm::MemoryBuffer> Code = std::move(CodeOrErr.get()); in format()471 ErrorOr<std::unique_ptr<MemoryBuffer>> CodeOrErr = in dumpConfig() local473 if (std::error_code EC = CodeOrErr.getError()) { in dumpConfig()478 Code = std::move(CodeOrErr.get()); in dumpConfig()
241 ErrorOr<std::unique_ptr<MemoryBuffer>> CodeOrErr = in format() local243 if (std::error_code EC = CodeOrErr.getError()) { in format()247 std::unique_ptr<llvm::MemoryBuffer> Code = std::move(CodeOrErr.get()); in format()
782 ErrorOr<std::unique_ptr<MemoryBuffer>> CodeOrErr = in BundleFiles() local784 if (std::error_code EC = CodeOrErr.getError()) in BundleFiles()786 InputBuffers.emplace_back(std::move(*CodeOrErr)); in BundleFiles()821 ErrorOr<std::unique_ptr<MemoryBuffer>> CodeOrErr = in UnbundleFiles() local823 if (std::error_code EC = CodeOrErr.getError()) in UnbundleFiles()826 MemoryBuffer &Input = **CodeOrErr; in UnbundleFiles()
278 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> CodeOrErr = in includeFixerMain() local280 if (std::error_code EC = CodeOrErr.getError()) { in includeFixerMain()284 Code = std::move(CodeOrErr.get()); in includeFixerMain()