llvm.org GIT mirror llvm / 647ab7f
Try to fix the windows build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210837 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 5 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
8484 }
8585
8686 SmallVector filenameUnicode;
87 if (error_code ec = windows::UTF8ToUTF16(filename, filenameUnicode)) {
87 if (std::error_code ec = windows::UTF8ToUTF16(filename, filenameUnicode)) {
8888 SetLastError(ec.value());
8989 MakeErrMsg(errMsg, std::string(filename) + ": Can't convert to UTF-16: ");
9090 return DynamicLibrary();