1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/unittests/Support
Chandler Carruth 6ca401b17b [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.

llvm-svn: 207069
2014-04-24 03:31:23 +00:00
..
AlignOfTest.cpp
AllocatorTest.cpp [Allocator] Make BumpPtrAllocator movable and move assignable. 2014-04-16 10:48:27 +00:00
ArrayRecyclerTest.cpp
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
DataExtractorTest.cpp
EndianTest.cpp
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
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
ManagedStatic.cpp
MathExtrasTest.cpp
MD5Test.cpp
MemoryBufferTest.cpp [C++11] Add overloads for externally used OwningPtr functions. 2014-03-05 10:27:34 +00:00
MemoryTest.cpp
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
YAMLIOTest.cpp YAMLIO: Allow scalars to dictate quotation rules 2014-04-10 07:37:33 +00:00
YAMLParserTest.cpp