[llvm] r336216 - Fix typo in lib/Support/Path.cpp to test commit access
Vladimir Stefanovic via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 3 10:26:44 PDT 2018
Author: vstefanovic
Date: Tue Jul 3 10:26:43 2018
New Revision: 336216
URL: http://llvm.org/viewvc/llvm-project?rev=336216&view=rev
Log:
Fix typo in lib/Support/Path.cpp to test commit access
Modified:
llvm/trunk/lib/Support/Path.cpp
Modified: llvm/trunk/lib/Support/Path.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/Path.cpp?rev=336216&r1=336215&r2=336216&view=diff
==============================================================================
--- llvm/trunk/lib/Support/Path.cpp (original)
+++ llvm/trunk/lib/Support/Path.cpp Tue Jul 3 10:26:43 2018
@@ -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<HANDLE>(_get_osfhandle(FD));
std::error_code RenameEC = setDeleteDisposition(H, false);
if (!RenameEC)
More information about the llvm-commits
mailing list