r280127 - typo + indentation [NFC]

Etienne Bergeron via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 30 11:38:25 PDT 2016


Author: etienneb
Date: Tue Aug 30 13:38:25 2016
New Revision: 280127

URL: http://llvm.org/viewvc/llvm-project?rev=280127&view=rev
Log:
typo + indentation [NFC]

Modified:
    cfe/trunk/lib/Driver/MSVCToolChain.cpp
    cfe/trunk/lib/Driver/ToolChains.h

Modified: cfe/trunk/lib/Driver/MSVCToolChain.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/MSVCToolChain.cpp?rev=280127&r1=280126&r2=280127&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/MSVCToolChain.cpp (original)
+++ cfe/trunk/lib/Driver/MSVCToolChain.cpp Tue Aug 30 13:38:25 2016
@@ -115,7 +115,7 @@ static bool readFullStringValue(HKEY hke
     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

Modified: cfe/trunk/lib/Driver/ToolChains.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains.h?rev=280127&r1=280126&r2=280127&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains.h (original)
+++ cfe/trunk/lib/Driver/ToolChains.h Tue Aug 30 13:38:25 2016
@@ -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; }




More information about the cfe-commits mailing list