diff options
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/System/Win32/DynamicLibrary.inc | 8 | ||||
-rw-r--r-- | llvm/lib/System/Win32/Program.inc | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/System/Win32/DynamicLibrary.inc b/llvm/lib/System/Win32/DynamicLibrary.inc index 2209e592091..24b63cca714 100644 --- a/llvm/lib/System/Win32/DynamicLibrary.inc +++ b/llvm/lib/System/Win32/DynamicLibrary.inc @@ -92,12 +92,12 @@ void DynamicLibrary::LoadLibraryPermanently(const char* filename) { if (filename) { HMODULE a_handle = LoadLibrary(filename); - if (a_handle == 0) - ThrowError(std::string(filename) + ": Can't open : "); + if (a_handle == 0) + ThrowError(std::string(filename) + ": Can't open : "); - OpenedHandles.push_back(a_handle); + OpenedHandles.push_back(a_handle); } else { - // When no file is specified, enumerate all DLLs and EXEs in the + // When no file is specified, enumerate all DLLs and EXEs in the // process. EnumerateLoadedModules(GetCurrentProcess(), ELM_Callback, 0); } diff --git a/llvm/lib/System/Win32/Program.inc b/llvm/lib/System/Win32/Program.inc index 4c520918bd1..0c1b680e4f1 100644 --- a/llvm/lib/System/Win32/Program.inc +++ b/llvm/lib/System/Win32/Program.inc @@ -122,7 +122,7 @@ Program::ExecuteAndWait(const Path& path, for (unsigned i = 0; args[i]; i++) { const char *arg = args[i]; - size_t len = strlen(arg); + size_t len = strlen(arg); bool needsQuoting = strchr(arg, ' ') != 0; if (needsQuoting) *p++ = '"'; |