Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Whitespace. | NAKAMURA Takumi | 2013-11-14 | 1 | -1/+1 |
| | | | | llvm-svn: 194680 | ||||
* | Add dyn_cast<> support to YAML I/O's IO class | Nick Kledzik | 2013-11-14 | 1 | -2/+2 |
| | | | | llvm-svn: 194655 | ||||
* | Add simple support for tags in YAML I/O | Nick Kledzik | 2013-11-14 | 1 | -0/+18 |
| | | | | llvm-svn: 194644 | ||||
* | Reverting my r193344 checkin due to build breakage. | John Thompson | 2013-10-24 | 1 | -11/+0 |
| | | | | llvm-svn: 193350 | ||||
* | Added std::string as a built-in type for mapping. | John Thompson | 2013-10-24 | 1 | -0/+11 |
| | | | | llvm-svn: 193344 | ||||
* | Re-submit r190469: YAMLIO: Fix string quoting logic. | Rui Ueyama | 2013-09-11 | 1 | -2/+14 |
| | | | | llvm-svn: 190485 | ||||
* | Revert "YAMLIO: Fix string quoting logic." (r190469) | Hans Wennborg | 2013-09-11 | 1 | -10/+2 |
| | | | | | | It was turning the buildbots red. llvm-svn: 190480 | ||||
* | Remove trailing whitespace | Rui Ueyama | 2013-09-11 | 1 | -5/+4 |
| | | | | llvm-svn: 190472 | ||||
* | YAMLIO: Fix string quoting logic. | Rui Ueyama | 2013-09-11 | 1 | -2/+10 |
| | | | | | | | | YAMLIO printed a string as is without quotes unless it contains a newline character. That did not suffice. We also need to quote a string if it starts with a backquote, quote, double quote or atsign, or it's the empty string. llvm-svn: 190469 | ||||
* | Tighten up the yamilizer so it stops eliding empty sequences if the embedded ↵ | Aaron Ballman | 2013-08-15 | 1 | -0/+17 |
| | | | | | | | | 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 | ||||
* | YAMLTraits.h: replace DenseMap that used a bad implementation of DenseMapInfo | Dmitri Gribenko | 2013-08-07 | 1 | -2/+2 |
| | | | | | | | | | | for StringRef with a StringMap The bug is that the empty key compares equal to the tombstone key. Also added an assertion to DenseMap to catch similar bugs in future. llvm-svn: 187866 | ||||
* | Use SmallVectorImpl::iterator/const_iterator instead of SmallVector to avoid ↵ | Craig Topper | 2013-07-04 | 1 | -1/+1 |
| | | | | | | specifying the vector size. llvm-svn: 185606 | ||||
* | Fix memory leak in YAML I/O. | Nick Kledzik | 2013-01-08 | 1 | -9/+32 |
| | | | | | | | | Stop using BumpPtrAllocator for HNodes because they have fields (vector, map) which require HNode destructors to be run. llvm-svn: 171896 | ||||
* | Fix how YAML I/O detects flow sequences. | Nick Kledzik | 2013-01-04 | 1 | -1/+1 |
| | | | | | | | Update test case to verify flow sequence is written as a flow sequence. llvm-svn: 171514 | ||||
* | Don't call back() on an empty SmallVector. Found by -fsanitize=enum! | Richard Smith | 2012-12-22 | 1 | -1/+1 |
| | | | | llvm-svn: 170968 | ||||
* | YAMLIO: Remove all of the template instantiation hacks, I don't see why ↵ | Benjamin Kramer | 2012-12-12 | 1 | -397/+318 |
| | | | | | | | | 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 | ||||
* | Fix calls to getAsSignedInteger() to use long long - not int64_t | Nick Kledzik | 2012-12-12 | 1 | -21/+25 |
| | | | | llvm-svn: 170030 | ||||
* | Fix the build on case sensitive file systems. | Benjamin Kramer | 2012-12-12 | 1 | -4/+2 |
| | | | | llvm-svn: 170021 | ||||
* | Initial implementation of a utility for converting native data | Nick Kledzik | 2012-12-12 | 1 | -0/+881 |
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 |