]> granicus.if.org Git - clang/commitdiff
typo + indentation [NFC]
authorEtienne Bergeron <etienneb@google.com>
Tue, 30 Aug 2016 18:38:25 +0000 (18:38 +0000)
committerEtienne Bergeron <etienneb@google.com>
Tue, 30 Aug 2016 18:38:25 +0000 (18:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@280127 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/MSVCToolChain.cpp
lib/Driver/ToolChains.h

index f6d654458d46295eb9c4d51d44caf5f90c1daa74..4167ac3a388f08601276e746bd37724328ac80cb 100644 (file)
@@ -115,7 +115,7 @@ static bool readFullStringValue(HKEY hkey, const char *valueName,
     std::wstring WideValue(reinterpret_cast<const wchar_t *>(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
index 61c559c1584c06130d2ae95afaa7ebcf39d24c0c..371b9bfe97ebd5d160a533b55b23dc22f0eed289 100644 (file)
@@ -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; }