juliehockett added inline comments.
================ Comment at: clang-tools-extra/clang-doc/tool/ClangDocMain.cpp:246-271 + auto StylesheetPathWrite = getInfoOutputFile( + OutDirectory, "", "clang-doc-default-stylesheet", ".css"); + if (!StylesheetPathWrite) { + llvm::errs() << toString(StylesheetPathWrite.takeError()) << "\n"; + return 1; + } + std::error_code FileErr; ---------------- Could you use `llvm::sys::fs::copy_file` here? https://llvm.org/doxygen/namespacellvm_1_1sys_1_1fs.html#abe768b38d21bfc2bc91a1c1d09cd84de CHANGES SINCE LAST ACTION https://reviews.llvm.org/D64539/new/ https://reviews.llvm.org/D64539 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits