Aaron Ballman
381f59f06f
Removing a spurious semi-colon; this macro expands into a namespace.
...
llvm-svn: 188525
2013-08-16 01:53:58 +00:00
Aaron Ballman
0e63e53da1
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
7b4fb9a65f
Replace memcpys by a static_cast and an integral promotion.
...
llvm-svn: 172108
2013-01-10 21:21:32 +00:00
Dmitri Gribenko
ba9d1b5fcd
Fix coding style
...
llvm-svn: 172107
2013-01-10 21:10:44 +00:00
Jakub Staszak
6a3ef9c094
Unbreak tests after regression from r172081.
...
llvm-svn: 172105
2013-01-10 21:02:05 +00:00
David Greene
4162c2d31b
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
11964f2a8f
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
bed953d699
Fix some integer constant warnings by using a suffix
...
llvm-svn: 170376
2012-12-17 22:11:17 +00:00
Nick Kledzik
52bfd38ee0
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
808f84d35e
Temporarily disable test cases until they compile with g++ too.
...
llvm-svn: 170035
2012-12-12 22:39:45 +00:00
David Blaikie
b088ff6617
Unbreak the build. Fallout from r170019.
...
llvm-svn: 170033
2012-12-12 22:14:32 +00:00
Nick Kledzik
f60a9279ea
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