hanchenye-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
Host.inc
Memory.inc [Support] Fix a race initializing a static local in MSVC 2015-06-11 22:22:45 +00:00
Mutex.inc
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
Signals.inc Rangify for loop in Cleanup(), NFC. 2015-05-19 13:32:19 +00:00
ThreadLocal.inc
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