llvm-project/llvm/lib/Support/Windows
Rafael Espindola 81177c5dac Small improvement to the use of GetFileType:
* assert that the return value is one of the documented values on msdn.
* on FILE_TYPE_UNKNOWN, check GetLastError.

Unfortunately I can't think of a way to get a FILE_TYPE_UNKNOWN on a test.

llvm-svn: 186595
2013-07-18 18:42:52 +00:00
..
DynamicLibrary.inc Make DynamicLibrary thread-safe w/r/t call to dlerror() after dlopen(). PR10718 2011-08-22 19:01:52 +00:00
Host.inc revert r147542 after comments from Joerg Sonnenberger 2012-01-05 18:28:46 +00:00
Memory.inc Add a comment about the requirement that the Windows.h header be last. 2012-12-04 07:04:57 +00:00
Mutex.inc
Path.inc Small improvement to the use of GetFileType: 2013-07-18 18:42:52 +00:00
Process.inc sys::process::get_id() now returns the process ID instead of a process handle on Windows. Patch thanks to Kim Gräsman! 2013-06-08 20:29:03 +00:00
Program.inc Replace use of PathV1.h in Program.cpp. 2013-06-14 19:38:45 +00:00
RWMutex.inc Remove tabs. 2012-07-19 00:06:06 +00:00
Signals.inc Remove a use of sys::Path. 2013-06-14 13:59:21 +00:00
ThreadLocal.inc Satisfy C++ aliasing rules, per suggestion by Chandler. 2012-06-12 01:06:16 +00:00
TimeValue.inc Windows/TimeValue.inc: Mute prefixed '0' on %d to emulate %e. 2013-07-12 02:13:03 +00:00
Watchdog.inc Add a new watchdog timer interface. The interface does not permit handling timeouts, so 2013-03-26 01:27:52 +00:00
Windows.h Fix build on Windows 2013-05-15 09:00:30 +00:00
explicit_symbols.inc
system_error.inc