1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/unittests/Support
Rafael Espindola da86c89e4a 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
..
AlignOfTest.cpp Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
AllocatorTest.cpp Fix llvm::BumpPtrAllocatorImpl::Reset() 2015-05-18 16:54:17 +00:00
ArrayRecyclerTest.cpp
BlockFrequencyTest.cpp Support: Add missing header to BlockFrequencyTest.cpp, NFC 2015-02-02 18:18:07 +00:00
BranchProbabilityTest.cpp
Casting.cpp 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
CMakeLists.txt Prevent further errors of omission when adding backend names. 2015-05-08 15:34:12 +00:00
CommandLineTest.cpp Bring in a BumpPtrStringSaver from lld and simplify the interface. 2015-06-13 12:49:52 +00:00
CompressionTest.cpp [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
ConvertUTFTest.cpp Fix unsigned/signed comparison warning. 2015-01-27 01:01:39 +00:00
DataExtractorTest.cpp
DwarfTest.cpp Support: Add dwarf::getOperationEncoding() 2015-02-13 01:05:00 +00:00
EndianStreamTest.cpp Add support for double / float to EndianStream 2015-02-05 03:30:08 +00:00
EndianTest.cpp
ErrorOrTest.cpp Don't use std::errc. 2015-06-13 17:23:04 +00:00
FileOutputBufferTest.cpp [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
formatted_raw_ostream_test.cpp
IteratorTest.cpp
LEB128Test.cpp
LineIteratorTest.cpp
LockFileManagerTest.cpp
Makefile Unbreak build: Makefile must have the same change as CMakeLists.txt 2015-05-08 16:39:59 +00:00
ManagedStatic.cpp
MathExtrasTest.cpp Try to fix the MSVC build. 2015-02-12 19:53:49 +00:00
MD5Test.cpp
MemoryBufferTest.cpp Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
MemoryTest.cpp Remove dead code. NFC. 2014-12-04 16:59:36 +00:00
Path.cpp Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:11:45 +00:00
ProcessTest.cpp Remove dead code. NFC. 2014-12-04 16:59:36 +00:00
ProgramTest.cpp More long path name support on Windows, this time in program execution. 2014-11-24 18:05:29 +00:00
raw_ostream_test.cpp Teach raw_ostream to support hex formatting without a prefix '0x'. 2015-01-26 18:21:33 +00:00
raw_pwrite_stream_test.cpp Disable failing TestDevNull test on Windows 2015-04-29 16:54:11 +00:00
RegexTest.cpp
ScaledNumberTest.cpp Fix infinite recursion in ScaledNumber::toInt. 2015-05-01 17:59:15 +00:00
SourceMgrTest.cpp
SpecialCaseListTest.cpp SpecialCaseList: Add support for parsing multiple input files. 2015-02-04 17:39:48 +00:00
StreamingMemoryObject.cpp Fix StreamingMemoryObject to respect known object size. 2015-05-21 19:40:19 +00:00
StringPool.cpp StringPool: Cleanup typos in unittest comments 2014-12-15 01:04:49 +00:00
SwapByteOrderTest.cpp Unit tests for the getSwappedBytes(double) fix from r237673. 2015-05-20 14:57:43 +00:00
TargetRegistry.cpp Readdress r236990, use of static members on a non-static variable. 2015-05-11 22:20:48 +00:00
ThreadLocalTest.cpp ThreadLocal: Return a mutable pointer if templated with a non-const type 2014-12-15 01:04:45 +00:00
TimeValueTest.cpp
UnicodeTest.cpp
YAMLIOTest.cpp YAML traits need to be in the llvm::yaml namespace. 2015-05-29 18:14:55 +00:00
YAMLParserTest.cpp YAML: Null terminate block scalar's value. 2015-05-21 19:45:02 +00:00