llvm-6502/lib/System/Win32
Michael J. Spencer fae76d0734 This is the first step in adding sane error handling support to LLVMSystem.
The system API's will be shifted over to returning an error_code, and returning
other return values as out parameters to the function.

Code that needs to check error conditions will use the errc enum values which
are the same as the posix_errno defines (EBADF, E2BIG, etc...), and are
compatable with the error codes in WinError.h due to some magic in system_error.

An example would be:

if (error_code ec = KillEvil("Java")) { // error_code can be converted to bool.
  handle_error(ec);
}

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119360 91177308-0d34-0410-b5e6-96231b3b80d8
2010-11-16 18:31:52 +00:00
..
Alarm.inc Fix the Win32 VS2008 build: 2009-03-19 23:26:52 +00:00
DynamicLibrary.inc Remove spurious semicolon. 2010-01-14 20:19:51 +00:00
Host.inc Add llvm::sys::getHostTriple and remove 2009-03-31 17:30:15 +00:00
Memory.inc Move DataTypes.h to include/llvm/System, update all users. This breaks the last 2009-10-26 01:35:46 +00:00
Mutex.inc Insert a SmartMutex templated class into the class hierarchy, which takes a template parameter specifying whether this mutex 2009-06-18 17:53:17 +00:00
Path.inc Fix Whitespace. 2010-11-10 15:06:00 +00:00
Process.inc Win32/Process.inc: [PR8527] Process::FileDescriptorIsDisplayed(fd) should not check by FILE_TYPE_CHAR. It must be better to check it with Console API. 2010-11-10 08:37:47 +00:00
Program.inc Make FindProgramByName return paths with slashes unmodified on Windows. 2010-11-02 20:32:39 +00:00
RWMutex.inc Give RWMutex the SmartRWMutex treatment too. 2009-06-18 18:26:15 +00:00
Signals.inc Reindent. 2010-10-28 08:25:44 +00:00
system_error.inc This is the first step in adding sane error handling support to LLVMSystem. 2010-11-16 18:31:52 +00:00
ThreadLocal.inc ATTRIBUTE_UNUSED has been renamed to LLVM_ATTRIBUTE_UNUSED. 2010-10-25 13:10:03 +00:00
TimeValue.inc Prune #includes from llvm/Linker.h and llvm/System/Path.h, 2009-08-23 22:45:37 +00:00
Win32.h System/Path/Windows: Make GetSystemLibraryPaths more generic. 2010-11-09 15:11:19 +00:00