| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [C++11] Use 'nullptr'. | Craig Topper | 2014-06-08 | 1 | -24/+24 |
| | | | | | llvm-svn: 210442 | ||||
| * | Make this operator bool() explicit to match the standard library. | Rafael Espindola | 2014-06-03 | 1 | -24/+24 |
| | | | | | llvm-svn: 210072 | ||||
| * | YAMLIO: Allow scalars to dictate quotation rules | David Majnemer | 2014-04-10 | 1 | -0/+38 |
| | | | | | | | | Introduce ScalarTraits::mustQuote which determines whether or not a StringRef needs quoting before it is acceptable to output. llvm-svn: 205955 | ||||
| * | Revert "Revert "YAMLIO: Encode ambiguous hex strings explicitly"" | David Majnemer | 2014-04-09 | 1 | -0/+10 |
| | | | | | | | | | | Don't quote octal compatible strings if they are only two wide, they aren't ambiguous. This reverts commit r205857 which reverted r205857. llvm-svn: 205914 | ||||
| * | Revert "YAMLIO: Encode ambiguous hex strings explicitly" | Filipe Cabecinhas | 2014-04-09 | 1 | -10/+0 |
| | | | | | | | | | This reverts commit r205839. It broke several tests in lld. llvm-svn: 205857 | ||||
| * | YAMLIO: Encode ambiguous hex strings explicitly | David Majnemer | 2014-04-09 | 1 | -0/+10 |
| | | | | | | | | | | | YAMLIO would turn a BinaryRef into the string 0000000004000000. However, the leading zero causes parsers to interpret it as being an octal number instead of a hexadecimal one. Instead, escape such strings as needed. llvm-svn: 205839 | ||||
| * | YAML I/O add support for validate() | Nick Kledzik | 2013-11-21 | 1 | -3/+43 |
| | | | | | | | | MappingTrait template specializations can now have a validate() method which performs semantic checking. For details, see <http://llvm.org/docs/YamlIO.html>. llvm-svn: 195286 | ||||
| * | revert r194655 | Nick Kledzik | 2013-11-21 | 1 | -70/+0 |
| | | | | | llvm-svn: 195285 | ||||
| * | YAML I/O - Added default trait support for std:string. Making another ↵ | John Thompson | 2013-11-19 | 1 | -0/+31 |
| | | | | | | | attempt at this, this time doing a clean build on Linux, and running the LLVM, clang, and extra tests, to try to make sure there's no problems. llvm-svn: 195134 | ||||
| * | Recover gracefully when deserializing invalid YAML input. | Alexander Kornienko | 2013-11-18 | 1 | -46/+116 |
| | | | | | | | | | | Fixes http://llvm.org/PR16221, http://llvm.org/PR15927 Phabricator: http://llvm-reviews.chandlerc.com/D1236 Patch by Andrew Tulloch! llvm-svn: 195016 | ||||
| * | remove extra semicolon | Nick Kledzik | 2013-11-14 | 1 | -1/+1 |
| | | | | | llvm-svn: 194658 | ||||
| * | Add dyn_cast<> support to YAML I/O's IO class | Nick Kledzik | 2013-11-14 | 1 | -0/+70 |
| | | | | | llvm-svn: 194655 | ||||
| * | Add simple support for tags in YAML I/O | Nick Kledzik | 2013-11-14 | 1 | -0/+85 |
| | | | | | llvm-svn: 194644 | ||||
| * | Reverting my r193344 checkin due to build breakage. | John Thompson | 2013-10-24 | 1 | -31/+0 |
| | | | | | llvm-svn: 193350 | ||||
| * | Added std::string as a built-in type for mapping. | John Thompson | 2013-10-24 | 1 | -0/+31 |
| | | | | | llvm-svn: 193344 | ||||
| * | Re-submit r190469: YAMLIO: Fix string quoting logic. | Rui Ueyama | 2013-09-11 | 1 | -0/+57 |
| | | | | | llvm-svn: 190485 | ||||
| * | Revert "YAMLIO: Fix string quoting logic." (r190469) | Hans Wennborg | 2013-09-11 | 1 | -57/+0 |
| | | | | | | | It was turning the buildbots red. llvm-svn: 190480 | ||||
| * | Remove trailing whitespace | Rui Ueyama | 2013-09-11 | 1 | -3/+3 |
| | | | | | llvm-svn: 190472 | ||||
| * | YAMLIO: Fix string quoting logic. | Rui Ueyama | 2013-09-11 | 1 | -0/+57 |
| | | | | | | | | | 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 | ||||
| * | Removing a spurious semi-colon; this macro expands into a namespace. | Aaron Ballman | 2013-08-16 | 1 | -1/+1 |
| | | | | | llvm-svn: 188525 | ||||
| * | Tighten up the yamilizer so it stops eliding empty sequences if the embedded ↵ | Aaron Ballman | 2013-08-15 | 1 | -0/+63 |
| | | | | | | | | | 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 | ||||
| * | Replace memcpys by a static_cast and an integral promotion. | Dmitri Gribenko | 2013-01-10 | 1 | -6/+4 |
| | | | | | llvm-svn: 172108 | ||||
| * | Fix coding style | Dmitri Gribenko | 2013-01-10 | 1 | -5/+3 |
| | | | | | llvm-svn: 172107 | ||||
| * | Unbreak tests after regression from r172081. | Jakub Staszak | 2013-01-10 | 1 | -0/+2 |
| | | | | | llvm-svn: 172105 | ||||
| * | Fix Alias Bug | David Greene | 2013-01-10 | 1 | -4/+12 |
| | | | | | | | | 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 | ||||
| * | Fix how YAML I/O detects flow sequences. | Nick Kledzik | 2013-01-04 | 1 | -3/+9 |
| | | | | | | | | Update test case to verify flow sequence is written as a flow sequence. llvm-svn: 171514 | ||||
| * | Fix some integer constant warnings by using a suffix | Nick Kledzik | 2012-12-17 | 1 | -7/+7 |
| | | | | | llvm-svn: 170376 | ||||
| * | re-enable test cases now that traits work with g++. Fix some g++ warnings | Nick Kledzik | 2012-12-17 | 1 | -12/+7 |
| | | | | | llvm-svn: 170369 | ||||
| * | Temporarily disable test cases until they compile with g++ too. | Nick Kledzik | 2012-12-12 | 1 | -0/+4 |
| | | | | | llvm-svn: 170035 | ||||
| * | Unbreak the build. Fallout from r170019. | David Blaikie | 2012-12-12 | 1 | -1/+1 |
| | | | | | llvm-svn: 170033 | ||||
| * | Initial implementation of a utility for converting native data | Nick Kledzik | 2012-12-12 | 1 | -0/+1288 |
| 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 | |||||

