Author: dvlahovski
Date: Fri Sep 30 10:41:33 2016
New Revision: 282866

URL: http://llvm.org/viewvc/llvm-project?rev=282866&view=rev
Log:
Again fixing windows build breakage like in rL282862

Modified:
    lldb/trunk/source/Host/windows/Windows.cpp

Modified: lldb/trunk/source/Host/windows/Windows.cpp
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/windows/Windows.cpp?rev=282866&r1=282865&r2=282866&view=diff
==============================================================================
--- lldb/trunk/source/Host/windows/Windows.cpp (original)
+++ lldb/trunk/source/Host/windows/Windows.cpp Fri Sep 30 10:41:33 2016
@@ -35,7 +35,7 @@ bool utf8ToWide(const char *utf8, wchar_
   const llvm::UTF8 *sourceStart = reinterpret_cast<const llvm::UTF8 *>(utf8);
   size_t sourceLen = strlen(utf8) + 1 /* convert null too */;
   llvm::UTF16 *target = reinterpret_cast<llvm::UTF16 *>(buf);
-  llvm::ConversionFlags flags = strictConversion;
+  llvm::ConversionFlags flags = llvm::strictConversion;
   return llvm::ConvertUTF8toUTF16(&sourceStart, sourceStart + sourceLen, 
&target,
                             target + bufSize, flags) == llvm::conversionOK;
 }
@@ -44,7 +44,7 @@ bool wideToUtf8(const wchar_t *wide, cha
   const llvm::UTF16 *sourceStart = reinterpret_cast<const llvm::UTF16 *>(wide);
   size_t sourceLen = wcslen(wide) + 1 /* convert null too */;
   llvm::UTF8 *target = reinterpret_cast<llvm::UTF8 *>(buf);
-  llvm::ConversionFlags flags = strictConversion;
+  llvm::ConversionFlags flags = llvm::strictConversion;
   return llvm::ConvertUTF16toUTF8(&sourceStart, sourceStart + sourceLen, 
&target,
                             target + bufSize, flags) == llvm::conversionOK;
 }


_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to