summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Path.cpp
diff options
context:
space:
mode:
authorVladimir Stefanovic <vladimir.stefanovic@rt-rk.com>2018-07-03 17:26:43 +0000
committerVladimir Stefanovic <vladimir.stefanovic@rt-rk.com>2018-07-03 17:26:43 +0000
commitbeb9d9799f18c870f126fa0a1a4c5f10a7913889 (patch)
tree71d23b0720aeadc5a1f2c81d2415a03f0130fcb7 /llvm/lib/Support/Path.cpp
parent8307bc407b55300393d402162bad90c487766f1f (diff)
downloadbcm5719-llvm-beb9d9799f18c870f126fa0a1a4c5f10a7913889.tar.gz
bcm5719-llvm-beb9d9799f18c870f126fa0a1a4c5f10a7913889.zip
Fix typo in lib/Support/Path.cpp to test commit access
llvm-svn: 336216
Diffstat (limited to 'llvm/lib/Support/Path.cpp')
-rw-r--r--llvm/lib/Support/Path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Path.cpp b/llvm/lib/Support/Path.cpp
index 4a15ebd3f55..a806da23ec5 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<HANDLE>(_get_osfhandle(FD));
std::error_code RenameEC = setDeleteDisposition(H, false);
if (!RenameEC)
OpenPOWER on IntegriCloud