Searched refs:copy_option (Results 1 – 5 of 5) sorted by relevance
77 struct copy_option { struct83 copy_option(_ v) : v_(v) {} in copy_option() function84 explicit copy_option(int v) : v_(_(v)) {} in copy_option() argument246 copy_option copt = copy_option::fail_if_exists);
138 error_code copy_file(const Twine &from, const Twine &to, copy_option copt) {161 if (copt == copy_option::fail_if_exists)261 if (error_code ec = copy_file(from, to, copy_option::overwrite_if_exists))
181 fs::copy_option::overwrite_if_exists) != llvm::errc::success) in overwriteOriginal()
197 fs::copy_option::overwrite_if_exists)); in TEST_F()
175 error_code copy_file(const Twine &from, const Twine &to, copy_option copt) {190 copt != copy_option::overwrite_if_exists);