llvm-6502/lib/Support/Windows
Rafael Espindola 803fe19680 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239683 91177308-0d34-0410-b5e6-96231b3b80d8
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
explicit_symbols.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
Watchdog.inc
WindowsSupport.h