From 982a3bcc4896d3edb7c66d69095335eddcae5c18 Mon Sep 17 00:00:00 2001 From: Etienne Bergeron Date: Tue, 30 Aug 2016 18:38:25 +0000 Subject: [PATCH] typo + indentation [NFC] llvm-svn: 280127 --- clang/lib/Driver/MSVCToolChain.cpp | 2 +- clang/lib/Driver/ToolChains.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/lib/Driver/MSVCToolChain.cpp b/clang/lib/Driver/MSVCToolChain.cpp index f6d6544..4167ac3 100644 --- a/clang/lib/Driver/MSVCToolChain.cpp +++ b/clang/lib/Driver/MSVCToolChain.cpp @@ -115,7 +115,7 @@ static bool readFullStringValue(HKEY hkey, const char *valueName, std::wstring WideValue(reinterpret_cast(buffer.data()), valueSize / sizeof(wchar_t)); if (valueSize && WideValue.back() == L'\0') { - WideValue.pop_back(); + WideValue.pop_back(); } // The destination buffer must be empty as an invariant of the conversion // function; but this function is sometimes called in a loop that passes in diff --git a/clang/lib/Driver/ToolChains.h b/clang/lib/Driver/ToolChains.h index 61c559c..371b9bf 100644 --- a/clang/lib/Driver/ToolChains.h +++ b/clang/lib/Driver/ToolChains.h @@ -190,7 +190,7 @@ protected: /// \brief Print information about the detected CUDA installation. void print(raw_ostream &OS) const; - /// \brief Get the deteced Cuda install's version. + /// \brief Get the detected Cuda install's version. CudaVersion version() const { return Version; } /// \brief Get the detected Cuda installation path. StringRef getInstallPath() const { return InstallPath; } -- 2.7.4