Dmitri Gribenko
1584888148
Remove redundant 'llvm::' qualifications
...
llvm-svn: 172358
2013-01-13 16:01:15 +00:00
Jakub Staszak
f1ea1a7f37
Fix include guards so they exactly match file names.
...
llvm-svn: 172025
2013-01-10 00:45:19 +00:00
Nick Kledzik
c1a589d12a
Fix memory leak in YAML I/O.
...
Stop using BumpPtrAllocator for HNodes because
they have fields (vector, map) which require HNode
destructors to be run.
llvm-svn: 171896
2013-01-08 21:04:44 +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
Richard Smith
396fedeb01
Fix some undefined behavior when parsing YAML input: don't try to compare an
...
uninitialized value against a default value. Found by -fsanitize=enum.
llvm-svn: 170970
2012-12-22 00:31:54 +00:00
Nick Kledzik
b1dd251eea
Use different trait techniques to be compatible with g++
...
llvm-svn: 170355
2012-12-17 19:02:05 +00:00
Benjamin Kramer
c312bf9835
YAMLIO: Remove all of the template instantiation hacks, I don't see why they're necessary and it breaks linking of the unit tests.
...
Also comes with a clang-format run on the cpp file, it had major style violations.
llvm-svn: 170036
2012-12-12 22:40:02 +00:00
Nick Kledzik
84d09bb392
AlignedCharArrayUnion is erroring with non-clang compilers
...
llvm-svn: 170031
2012-12-12 22:03:57 +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