llvm-project/llvm/lib/Support/Windows
Rafael Espindola 74f293249d Don't use std::errc.
As noted on Errc.h:

// * std::errc is just marked with is_error_condition_enum. This means that
//   common patters like AnErrorCode == errc::no_such_file_or_directory take
//   4 virtual calls instead of two comparisons.

And on some libstdc++ those virtual functions conclude that

------------------------
int main() {
  std::error_code foo = std::make_error_code(std::errc::no_such_file_or_directory);
  return foo == std::errc::no_such_file_or_directory;
}
-------------------------

should exit with 0.

llvm-svn: 239683
2015-06-13 17:23:04 +00:00
..
COM.inc Make an RAII com initializer. 2015-04-27 17:19:26 +00:00
DynamicLibrary.inc Fix symbol resolution of floating point libc builtins in MCJIT 2014-11-13 23:32:52 +00:00
Host.inc Windows/Host.inc: Reformat the header to fit 80-col. 2014-09-24 04:45:14 +00:00
Memory.inc [Support] Fix a race initializing a static local in MSVC 2015-06-11 22:22:45 +00:00
Mutex.inc Rename Windows.h to WindowsSupport.h to avoid ambiguity 2014-02-12 21:26:20 +00:00
Path.inc Replace windows_error calls with mapWindowsError. 2015-05-04 04:48:10 +00:00
Process.inc Replace windows_error calls with mapWindowsError. 2015-05-04 04:48:10 +00:00
Program.inc Don't use std::errc. 2015-06-13 17:23:04 +00:00
RWMutex.inc PR21202: Memory leak in Windows RWMutexImpl when using SRWLOCK 2014-10-21 00:34:39 +00:00
Signals.inc Rangify for loop in Cleanup(), NFC. 2015-05-19 13:32:19 +00:00
ThreadLocal.inc ThreadLocal: Return a mutable pointer if templated with a non-const type 2014-12-15 01:04:45 +00:00
TimeValue.inc Fix lib\support\Windows/TimeValue.inc(48): warning C4189: 2015-04-15 07:45:52 +00:00
Watchdog.inc
WindowsSupport.h Removing LLVM_EXPLICIT, as MSVC 2012 was the last reason for requiring the macro. NFC; LLVM edition. 2015-02-15 22:00:20 +00:00
explicit_symbols.inc [Cygming] Seek also chkstk_ms, or JIT fails with DLL builds. It is fixup for r227519. 2015-01-30 13:01:19 +00:00