From beb9d9799f18c870f126fa0a1a4c5f10a7913889 Mon Sep 17 00:00:00 2001 From: Vladimir Stefanovic Date: Tue, 3 Jul 2018 17:26:43 +0000 Subject: [PATCH] Fix typo in lib/Support/Path.cpp to test commit access llvm-svn: 336216 --- llvm/lib/Support/Path.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Support/Path.cpp b/llvm/lib/Support/Path.cpp index 4a15ebd..a806da2 100644 --- a/llvm/lib/Support/Path.cpp +++ b/llvm/lib/Support/Path.cpp @@ -1147,7 +1147,7 @@ Error TempFile::keep(const Twine &Name) { Done = true; // Always try to close and rename. #ifdef _WIN32 - // If we cant't cancel the delete don't rename. + // If we can't cancel the delete don't rename. auto H = reinterpret_cast(_get_osfhandle(FD)); std::error_code RenameEC = setDeleteDisposition(H, false); if (!RenameEC) -- 2.7.4