Aaron Ballman
ead5a4d04b
Tighten up the yamilizer so it stops eliding empty sequences if the embedded empty sequence is the first key/value in a map which is itself in a sequence.
...
Patch with help from Nick Kledzik.
llvm-svn: 188508
2013-08-15 23:17:53 +00:00
Dmitri Gribenko
501313b41b
Replace memcpys by a static_cast and an integral promotion.
...
llvm-svn: 172108
2013-01-10 21:21:32 +00:00
Dmitri Gribenko
db86689e43
Fix coding style
...
llvm-svn: 172107
2013-01-10 21:10:44 +00:00
Jakub Staszak
3871426bfd
Unbreak tests after regression from r172081.
...
llvm-svn: 172105
2013-01-10 21:02:05 +00:00
David Greene
2ce09092a4
Fix Alias Bug
...
Use memcpy to do type punning instead of a cast. A cast or similar
operation through a union breaks strict aliasing rules.
llvm-svn: 172081
2013-01-10 18:17:54 +00:00
Nick Kledzik
8ae5e45184
Fix how YAML I/O detects flow sequences.
...
Update test case to verify flow sequence is
written as a flow sequence.
llvm-svn: 171514
2013-01-04 19:32:00 +00:00
Nick Kledzik
3b2c99b998
Fix some integer constant warnings by using a suffix
...
llvm-svn: 170376
2012-12-17 22:11:17 +00:00
Nick Kledzik
c826b396ef
re-enable test cases now that traits work with g++. Fix some g++ warnings
...
llvm-svn: 170369
2012-12-17 20:43:53 +00:00
Nick Kledzik
f37b944ea2
Temporarily disable test cases until they compile with g++ too.
...
llvm-svn: 170035
2012-12-12 22:39:45 +00:00
David Blaikie
f993478af6
Unbreak the build. Fallout from r170019.
...
llvm-svn: 170033
2012-12-12 22:14:32 +00:00
Nick Kledzik
2516df02eb
Initial implementation of a utility for converting native data
...
structures to and from YAML using traits. The first client will
be the test suite of lld. The documentation will show up at:
http://llvm.org/docs/YamlIO.html
llvm-svn: 170019
2012-12-12 20:46:15 +00:00