llvm-6502/unittests/Support
Chandler Carruth beee61d3e6 [ADT] Add a generic iterator utility for adapting iterators much like
Boost's iterator_adaptor, and a specific adaptor which iterates over
pointees when wrapped around an iterator over pointers.

This is the result of a long discussion on IRC with Duncan Smith, Dave
Blaikie, Richard Smith, and myself. Essentially, I could use some subset
of the iterator facade facilities often used from Boost, and everyone
seemed interested in having the functionality in a reasonably generic
form. I've tried to strike a balance between the pragmatism and the
established Boost design. The primary differences are:

1) Delegating to the standard iterator interface names rather than
   special names that then make up a second iterator-like API.
2) Using the name 'pointee_iterator' which seems more clear than
   'indirect_iterator'. The whole business of calling the '*p' operation
   'pointer indirection' in the standard is ... quite confusing. And
   'dereference' is no better of a term for moving from a pointer to
   a reference.

Hoping Duncan, and others continue to provide comments on this until
we've got a nice, minimal abstraction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207069 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-24 03:31:23 +00:00
..
AlignOfTest.cpp [AlignOf] Add AlignedCharArray and refactor AlignedCharArrayUnion. 2012-12-31 19:54:45 +00:00
AllocatorTest.cpp [Allocator] Make BumpPtrAllocator movable and move assignable. 2014-04-16 10:48:27 +00:00
ArrayRecyclerTest.cpp Rename the unittest from ArrayRecylerTest.cpp to ArrayRecyclerTest.cpp. 2013-01-05 02:08:43 +00:00
BlockFrequencyTest.cpp [block-freq] Add a right shift to BlockFrequency that saturates at 1. 2013-12-14 02:24:22 +00:00
Casting.cpp [C++11] Replace LLVM-style type traits with C++11 standard ones. 2014-03-07 14:42:25 +00:00
CMakeLists.txt [ADT] Add a generic iterator utility for adapting iterators much like 2014-04-24 03:31:23 +00:00
CommandLineTest.cpp Switch all uses of LLVM_OVERRIDE to just use 'override' directly. 2014-03-02 09:09:27 +00:00
CompressionTest.cpp Simplify compression API by compressing into a SmallVector rather than a MemoryBuffer 2014-04-05 21:53:04 +00:00
ConvertUTFTest.cpp [Support] Add a Unicode conversion wrapper from UTF16 to UTF8 2013-07-16 17:14:33 +00:00
DataExtractorTest.cpp DataExtractor: Fix integer truncation issues in LEB128 extraction. 2012-08-20 10:52:11 +00:00
EndianTest.cpp [Support][Endian] Add support for specifying the alignment and native unaligned types. 2013-01-02 20:14:11 +00:00
ErrorOrTest.cpp [C++11] Remove LLVM_HAS_CXX11_STDLIB now that it is just on. 2014-03-01 10:57:19 +00:00
FileOutputBufferTest.cpp Fix known typos 2014-01-24 17:20:08 +00:00
formatted_raw_ostream_test.cpp Sort the #include lines for unittest/... 2012-12-04 10:23:08 +00:00
IteratorTest.cpp [ADT] Add a generic iterator utility for adapting iterators much like 2014-04-24 03:31:23 +00:00
LEB128Test.cpp Move get[S|U]LEB128Size() to LEB128.h. 2014-02-22 14:00:39 +00:00
LineIteratorTest.cpp Replace OwningPtr<T> with std::unique_ptr<T>. 2014-03-06 05:51:42 +00:00
LockFileManagerTest.cpp Fix these tests on windows. 2014-03-25 13:19:03 +00:00
Makefile Update incorrect file headers. 2013-08-01 18:42:28 +00:00
ManagedStatic.cpp Get the unittests compiling when building with cmake and the setting 2013-05-14 13:29:16 +00:00
MathExtrasTest.cpp [Support] Remove Count{Leading,Trailing}Zeros_{32,64}. 2013-05-24 22:58:37 +00:00
MD5Test.cpp Add support for adding the contents of a StringRef to the MD5 hash. 2013-05-31 22:34:56 +00:00
MemoryBufferTest.cpp [C++11] Add overloads for externally used OwningPtr functions. 2014-03-05 10:27:34 +00:00
MemoryTest.cpp Go ahead and get rid of the old page size interface and convert all the 2012-12-31 23:31:56 +00:00
Path.cpp support: add a utility function to normalise path separators 2014-03-11 22:05:42 +00:00
ProcessTest.cpp Silence a warning: 2014-02-04 22:53:45 +00:00
ProgramTest.cpp Re-sort all of the includes with ./utils/sort_includes.py so that 2014-01-07 11:48:04 +00:00
raw_ostream_test.cpp
RegexTest.cpp [C++11] Remove uses of LLVM_HAS_RVALUE_REFERENCES from the unittests. 2014-03-01 09:36:06 +00:00
SourceMgrTest.cpp SourceMgr diagnotics printing: fix a bug where printing a fixit for a source 2013-09-27 21:24:36 +00:00
SwapByteOrderTest.cpp Fix known typos 2014-01-24 17:20:08 +00:00
ThreadLocalTest.cpp Make sys::ThreadLocal<> zero-initialized on non-thread builds (PR18205) 2013-12-19 20:32:44 +00:00
TimeValueTest.cpp Use the overloaded std::abs rather than C's abs(int) to address Clang's -Wabsolute-value 2014-02-26 19:12:28 +00:00
UnicodeTest.cpp Move generic isPrint and columnWidth implementations to a separate header/source to allow using both generic and system-dependent versions on win32. 2013-09-04 16:00:12 +00:00
YAMLIOTest.cpp YAMLIO: Allow scalars to dictate quotation rules 2014-04-10 07:37:33 +00:00
YAMLParserTest.cpp Allow using MemoryBuffers with yaml::Stream directly. 2012-11-19 23:21:47 +00:00