llvm-6502/include/llvm/System
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
..
AIXDataTypesFix.h
Alarm.h
Atomic.h
DataTypes.h.cmake
DataTypes.h.in
Disassembler.h
DynamicLibrary.h
Errno.h
FEnv.h Clang's #include handling apparently doesn't work for libstdc++'s 2010-10-11 22:30:59 +00:00
Host.h
IncludeFile.h
LICENSE.TXT
Memory.h
Mutex.h
Path.h System/Path: Update comments to match code. 2010-11-10 15:05:50 +00:00
Process.h
Program.h Make FindProgramByName return paths with slashes unmodified on Windows. 2010-11-02 20:32:39 +00:00
RWMutex.h
Signals.h
Solaris.h
SwapByteOrder.h System: Add SwapByteOrder and update Support/MathExtras.h to use it. 2010-10-11 21:56:16 +00:00
system_error.h This is the first step in adding sane error handling support to LLVMSystem. 2010-11-16 18:31:52 +00:00
Threading.h System: Add llvm_execute_on_thread, which does what it says. 2010-11-04 01:26:25 +00:00
ThreadLocal.h
TimeValue.h
Valgrind.h