llvm-6502/unittests/Support
Chandler Carruth 5ff21b4111 Introduce a simple line-by-line iterator type into the Support library.
This is an iterator which you can build around a MemoryBuffer. It will
iterate through the non-empty, non-comment lines of the buffer as
a forward iterator. It should be small and reasonably fast (although it
could be made much faster if anyone cares, I don't really...).

This will be used to more simply support the text-based sample
profile file format, and is largely based on the original patch by
Diego. I've re-worked the style of it and separated it from the work of
producing a MemoryBuffer from a file which both simplifies the interface
and makes it easier to test.

The style of the API follows the C++ standard naming conventions to fit
in better with iterators in general, much like the Path and FileSystem
interfaces follow standard-based naming conventions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198068 91177308-0d34-0410-b5e6-96231b3b80d8
2013-12-27 04:28:57 +00:00
..
AlignOfTest.cpp [AlignOf] Add AlignedCharArray and refactor AlignedCharArrayUnion. 2012-12-31 19:54:45 +00:00
AllocatorTest.cpp Sort the #include lines for unittest/... 2012-12-04 10:23:08 +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 Fix a regression I introduced back in r178147. 2013-07-18 02:42:40 +00:00
CMakeLists.txt Introduce a simple line-by-line iterator type into the Support library. 2013-12-27 04:28:57 +00:00
CommandLineTest.cpp Implement TokenizeWindowsCommandLine. 2013-07-30 19:03:20 +00:00
CompressionTest.cpp Expose CRC-32 implementation from zlib 2013-08-14 16:03:29 +00:00
ConstantRangeTest.cpp make ConstantRange::signExtend() optimal 2013-10-30 15:36:50 +00:00
ConvertUTFTest.cpp [Support] Add a Unicode conversion wrapper from UTF16 to UTF8 2013-07-16 17:14:33 +00:00
DataExtractorTest.cpp
EndianTest.cpp [Support][Endian] Add support for specifying the alignment and native unaligned types. 2013-01-02 20:14:11 +00:00
ErrorOrTest.cpp Simplify ErrorOr. 2013-11-05 00:28:01 +00:00
FileOutputBufferTest.cpp Add a convenience createUniqueDirectory function. 2013-06-27 03:45:31 +00:00
formatted_raw_ostream_test.cpp Sort the #include lines for unittest/... 2012-12-04 10:23:08 +00:00
LeakDetectorTest.cpp
LineIteratorTest.cpp Introduce a simple line-by-line iterator type into the Support library. 2013-12-27 04:28:57 +00:00
LockFileManagerTest.cpp Fix boolean logic in LockFileManager and test it 2013-08-07 01:22:04 +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 Change MemoryBuffer::getFile to take a Twine. 2013-10-25 19:06:52 +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 Path: Recognize COFF import library file magic. 2013-11-15 21:22:02 +00:00
ProcessTest.cpp unittests/Support/ProcessTest.cpp: Don't use "windows.h". Use <windows.h> instead. 2013-12-25 10:50:11 +00:00
ProgramTest.cpp Add non-blocking Wait() for launched processes 2013-10-01 14:28:18 +00:00
raw_ostream_test.cpp
RegexTest.cpp Swap around EXPECT_EQ() arguments orders for more natural gtest Failure messages 2013-12-12 03:31:20 +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
ThreadLocalTest.cpp Make sys::ThreadLocal<> zero-initialized on non-thread builds (PR18205) 2013-12-19 20:32:44 +00:00
TimeValueTest.cpp unittests/Support: Add TimeValue.Win32FILETIME, corresponding to r186374. 2013-07-16 02:44:23 +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
ValueHandleTest.cpp Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
YAMLIOTest.cpp YAML I/O add support for validate() 2013-11-21 00:28:07 +00:00
YAMLParserTest.cpp