llvm-6502/unittests/Support
Justin Bogner 97cc07352b Detect malformed YAML sequence in yaml::Input::beginSequence()
When reading a yaml::SequenceTraits object, YAMLIO does not report an
error if the yaml item is not a sequence. Instead, YAMLIO reads an
empty sequence. For example:

---
seq:
    foo: 1
    bar: 2
...

If `seq` is a SequenceTraits object, then reading the above yaml will
yield `seq` as an empty sequence.

Fix this to report an error for the above mapping ("not a sequence")

Patch by William Fisher. Thanks!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230976 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-02 17:26:43 +00:00
..
AlignOfTest.cpp Suppress the newly added Clang warning for the inaccessible base in this 2015-01-19 10:43:00 +00:00
AllocatorTest.cpp
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 Add support for double / float to EndianStream 2015-02-05 03:30:08 +00:00
CommandLineTest.cpp Silence some Win64 clang-cl warnings about unused stuff due to ifdefs 2015-02-26 21:08:21 +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
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 [Support] add decodeSLEB128() 2014-09-15 21:51:49 +00:00
LineIteratorTest.cpp LineIterator: Provide a variant that keeps blank lines 2014-09-17 15:43:01 +00:00
LockFileManagerTest.cpp
Makefile
ManagedStatic.cpp
MathExtrasTest.cpp Try to fix the MSVC build. 2015-02-12 19:53:49 +00:00
MD5Test.cpp
MemoryBufferTest.cpp [Support] Add MemoryBuffer::getFileSlice() 2014-10-08 00:22:18 +00:00
MemoryTest.cpp Remove dead code. NFC. 2014-12-04 16:59:36 +00:00
Path.cpp Object: Handle Mach-O kext bundle files 2015-02-25 22:59:20 +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
RegexTest.cpp
ScaledNumberTest.cpp [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
SourceMgrTest.cpp
SpecialCaseListTest.cpp SpecialCaseList: Add support for parsing multiple input files. 2015-02-04 17:39:48 +00:00
StreamingMemoryObject.cpp [cleanup] Re-sort all the #include lines in LLVM using 2015-01-14 11:23:27 +00:00
StringPool.cpp StringPool: Cleanup typos in unittest comments 2014-12-15 01:04:49 +00:00
SwapByteOrderTest.cpp
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 Detect malformed YAML sequence in yaml::Input::beginSequence() 2015-03-02 17:26:43 +00:00
YAMLParserTest.cpp