Permalink
Browse files

Add YAML parser to Support.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153977 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information...
Bigcheese committed Apr 3, 2012
1 parent 2ce63c7 commit 93210e847a1496b24cef881723e57c489082dcfe
Showing with 4,586 additions and 0 deletions.
  1. +1 −0 CMakeLists.txt
  2. +1 −0 LICENSE.TXT
  3. +564 −0 include/llvm/Support/YAMLParser.h
  4. +1 −0 lib/Support/CMakeLists.txt
  5. +2,115 −0 lib/Support/YAMLParser.cpp
  6. +19 −0 test/YAMLParser/LICENSE.txt
  7. +6 −0 test/YAMLParser/bool.data
  8. +11 −0 test/YAMLParser/construct-bool.data
  9. +28 −0 test/YAMLParser/construct-custom.data
  10. +8 −0 test/YAMLParser/construct-float.data
  11. +8 −0 test/YAMLParser/construct-int.data
  12. +8 −0 test/YAMLParser/construct-map.data
  13. +29 −0 test/YAMLParser/construct-merge.data
  14. +20 −0 test/YAMLParser/construct-null.data
  15. +10 −0 test/YAMLParser/construct-omap.data
  16. +9 −0 test/YAMLParser/construct-pairs.data
  17. +17 −0 test/YAMLParser/construct-seq.data
  18. +9 −0 test/YAMLParser/construct-set.data
  19. +3 −0 test/YAMLParser/construct-str-ascii.data
  20. +3 −0 test/YAMLParser/construct-str.data
  21. +7 −0 test/YAMLParser/construct-timestamp.data
  22. +12 −0 test/YAMLParser/construct-value.data
  23. +5 −0 test/YAMLParser/duplicate-key.former-loader-error.data
  24. +8 −0 test/YAMLParser/duplicate-mapping-key.former-loader-error.data
  25. +6 −0 test/YAMLParser/duplicate-merge-key.former-loader-error.data
  26. +6 −0 test/YAMLParser/duplicate-value-key.former-loader-error.data
  27. +6 −0 test/YAMLParser/emit-block-scalar-in-simple-key-context-bug.data
  28. +2 −0 test/YAMLParser/empty-document-bug.data
  29. +8 −0 test/YAMLParser/float.data
  30. +8 −0 test/YAMLParser/int.data
  31. +4 −0 test/YAMLParser/invalid-single-quote-bug.data
  32. +3 −0 test/YAMLParser/merge.data
  33. +3 −0 test/YAMLParser/more-floats.data
  34. +3 −0 test/YAMLParser/negative-float-bug.data
  35. +5 −0 test/YAMLParser/null.data
  36. +32 −0 test/YAMLParser/resolver.data
  37. +10 −0 test/YAMLParser/run-parser-crash-bug.data
  38. +5 −0 test/YAMLParser/scan-document-end-bug.data
  39. +5 −0 test/YAMLParser/scan-line-break-bug.data
  40. +3 −0 test/YAMLParser/single-dot-is-not-float-bug.data
  41. +19 −0 test/YAMLParser/sloppy-indentation.data
  42. +5 −0 test/YAMLParser/spec-02-01.data
  43. +5 −0 test/YAMLParser/spec-02-02.data
  44. +10 −0 test/YAMLParser/spec-02-03.data
  45. +10 −0 test/YAMLParser/spec-02-04.data
  46. +5 −0 test/YAMLParser/spec-02-05.data
  47. +7 −0 test/YAMLParser/spec-02-06.data
  48. +12 −0 test/YAMLParser/spec-02-07.data
  49. +12 −0 test/YAMLParser/spec-02-08.data
  50. +10 −0 test/YAMLParser/spec-02-09.data
  51. +10 −0 test/YAMLParser/spec-02-10.data
  52. +11 −0 test/YAMLParser/spec-02-11.data
  53. +10 −0 test/YAMLParser/spec-02-12.data
  54. +6 −0 test/YAMLParser/spec-02-13.data
  55. +6 −0 test/YAMLParser/spec-02-14.data
  56. +10 −0 test/YAMLParser/spec-02-15.data
  57. +9 −0 test/YAMLParser/spec-02-16.data
  58. +16 −0 test/YAMLParser/spec-02-17.data
  59. +8 −0 test/YAMLParser/spec-02-18.data
  60. +7 −0 test/YAMLParser/spec-02-19.data
  61. +8 −0 test/YAMLParser/spec-02-20.data
  62. +6 −0 test/YAMLParser/spec-02-21.data
  63. +6 −0 test/YAMLParser/spec-02-22.data
  64. +15 −0 test/YAMLParser/spec-02-23.data
  65. +16 −0 test/YAMLParser/spec-02-24.data
  66. +9 −0 test/YAMLParser/spec-02-25.data
  67. +9 −0 test/YAMLParser/spec-02-26.data
  68. +31 −0 test/YAMLParser/spec-02-27.data
  69. +28 −0 test/YAMLParser/spec-02-28.data
  70. +3 −0 test/YAMLParser/spec-05-01-utf8.data
  71. +7 −0 test/YAMLParser/spec-05-02-utf8.data
  72. +9 −0 test/YAMLParser/spec-05-03.data
  73. +4 −0 test/YAMLParser/spec-05-04.data
  74. +3 −0 test/YAMLParser/spec-05-05.data
  75. +4 −0 test/YAMLParser/spec-05-06.data
  76. +6 −0 test/YAMLParser/spec-05-07.data
  77. +4 −0 test/YAMLParser/spec-05-08.data
  78. +4 −0 test/YAMLParser/spec-05-09.data
  79. +6 −0 test/YAMLParser/spec-05-10.data
  80. +5 −0 test/YAMLParser/spec-05-11.data
  81. +16 −0 test/YAMLParser/spec-05-12.data
  82. +5 −0 test/YAMLParser/spec-05-13.data
  83. +9 −0 test/YAMLParser/spec-05-14.data
  84. +7 −0 test/YAMLParser/spec-05-15.data
  85. +16 −0 test/YAMLParser/spec-06-01.data
  86. +5 −0 test/YAMLParser/spec-06-02.data
  87. +4 −0 test/YAMLParser/spec-06-03.data
  88. +6 −0 test/YAMLParser/spec-06-04.data
  89. +8 −0 test/YAMLParser/spec-06-05.data
  90. +9 −0 test/YAMLParser/spec-06-06.data
  91. +10 −0 test/YAMLParser/spec-06-07.data
  92. +4 −0 test/YAMLParser/spec-06-08.data
  93. +5 −0 test/YAMLParser/spec-07-01.data
  94. +6 −0 test/YAMLParser/spec-07-02.data
  95. +7 −0 test/YAMLParser/spec-07-03.data
  96. +5 −0 test/YAMLParser/spec-07-04.data
  97. +10 −0 test/YAMLParser/spec-07-05.data
  98. +7 −0 test/YAMLParser/spec-07-06.data
  99. +4 −0 test/YAMLParser/spec-07-07a.data
  100. +6 −0 test/YAMLParser/spec-07-07b.data
  101. +11 −0 test/YAMLParser/spec-07-08.data
  102. +13 −0 test/YAMLParser/spec-07-09.data
  103. +13 −0 test/YAMLParser/spec-07-10.data
  104. +4 −0 test/YAMLParser/spec-07-11.data
  105. +5 −0 test/YAMLParser/spec-07-12a.data
  106. +6 −0 test/YAMLParser/spec-07-12b.data
  107. +11 −0 test/YAMLParser/spec-07-13.data
  108. +4 −0 test/YAMLParser/spec-08-01.data
  109. +4 −0 test/YAMLParser/spec-08-02.data
  110. +4 −0 test/YAMLParser/spec-08-03.data
  111. +9 −0 test/YAMLParser/spec-08-04.data
  112. +7 −0 test/YAMLParser/spec-08-05.data
  113. +12 −0 test/YAMLParser/spec-08-06.data
  114. +6 −0 test/YAMLParser/spec-08-07.data
  115. +15 −0 test/YAMLParser/spec-08-08.data
  116. +13 −0 test/YAMLParser/spec-08-09.data
  117. +17 −0 test/YAMLParser/spec-08-10.data
  118. +4 −0 test/YAMLParser/spec-08-11.data
  119. +10 −0 test/YAMLParser/spec-08-12.data
  120. +6 −0 test/YAMLParser/spec-08-13.data
  121. +7 −0 test/YAMLParser/spec-08-14.data
  122. +7 −0 test/YAMLParser/spec-08-15.data
  123. +8 −0 test/YAMLParser/spec-09-01.data
  124. +14 −0 test/YAMLParser/spec-09-02.data
  125. +8 −0 test/YAMLParser/spec-09-03.data
  126. +6 −0 test/YAMLParser/spec-09-04.data
  127. +10 −0 test/YAMLParser/spec-09-05.data
  128. +3 −0 test/YAMLParser/spec-09-06.data
  129. +8 −0 test/YAMLParser/spec-09-07.data
  130. +3 −0 test/YAMLParser/spec-09-08.data
  131. +8 −0 test/YAMLParser/spec-09-09.data
  132. +5 −0 test/YAMLParser/spec-09-10.data
  133. +7 −0 test/YAMLParser/spec-09-11.data
  134. +10 −0 test/YAMLParser/spec-09-12.data
  135. +8 −0 test/YAMLParser/spec-09-13.data
  136. +21 −0 test/YAMLParser/spec-09-14.data
  137. +15 −0 test/YAMLParser/spec-09-15.data
  138. +5 −0 test/YAMLParser/spec-09-16.data
  139. +5 −0 test/YAMLParser/spec-09-17.data
  140. +11 −0 test/YAMLParser/spec-09-18.data
  141. +6 −0 test/YAMLParser/spec-09-19.data
  142. +13 −0 test/YAMLParser/spec-09-20.data
  143. +12 −0 test/YAMLParser/spec-09-21.data
  144. +6 −0 test/YAMLParser/spec-09-22.data
  145. +13 −0 test/YAMLParser/spec-09-23.data
  146. +8 −0 test/YAMLParser/spec-09-24.data
  147. +5 −0 test/YAMLParser/spec-09-25.data
  148. +10 −0 test/YAMLParser/spec-09-26.data
  149. +10 −0 test/YAMLParser/spec-09-27.data
  150. +10 −0 test/YAMLParser/spec-09-28.data
  151. +6 −0 test/YAMLParser/spec-09-29.data
  152. +16 −0 test/YAMLParser/spec-09-30.data
  153. +16 −0 test/YAMLParser/spec-09-31.data
  154. +16 −0 test/YAMLParser/spec-09-32.data
  155. +16 −0 test/YAMLParser/spec-09-33.data
  156. +4 −0 test/YAMLParser/spec-10-01.data
  157. +10 −0 test/YAMLParser/spec-10-02.data
  158. +6 −0 test/YAMLParser/spec-10-03.data
  159. +6 −0 test/YAMLParser/spec-10-04.data
  160. +9 −0 test/YAMLParser/spec-10-05.data
  161. +4 −0 test/YAMLParser/spec-10-06.data
  162. +9 −0 test/YAMLParser/spec-10-07.data
  163. +13 −0 test/YAMLParser/spec-10-08.data
  164. +6 −0 test/YAMLParser/spec-10-09.data
  165. +10 −0 test/YAMLParser/spec-10-10.data
  166. +9 −0 test/YAMLParser/spec-10-11.data
  167. +5 −0 test/YAMLParser/spec-10-12.data
  168. +7 −0 test/YAMLParser/spec-10-13.data
  169. +6 −0 test/YAMLParser/spec-10-14.data
  170. +5 −0 test/YAMLParser/spec-10-15.data
  171. +3 −0 test/YAMLParser/str.data
  172. +8 −0 test/YAMLParser/timestamp-bugs.data
  173. +7 −0 test/YAMLParser/timestamp.data
  174. +3 −0 test/YAMLParser/utf8-implicit.data
  175. +3 −0 test/YAMLParser/utf8.data
  176. +3 −0 test/YAMLParser/value.data
  177. +5 −0 test/YAMLParser/yaml.data
  178. +1 −0 unittests/CMakeLists.txt
  179. +179 −0 unittests/Support/YAMLParserTest.cpp
  180. +5 −0 utils/yaml-bench/CMakeLists.txt
  181. +20 −0 utils/yaml-bench/Makefile
  182. +203 −0 utils/yaml-bench/YAMLBench.cpp
View
@@ -397,6 +397,7 @@ add_subdirectory(utils/count)
add_subdirectory(utils/not)
add_subdirectory(utils/llvm-lit)
add_subdirectory(utils/json-bench)
+add_subdirectory(utils/yaml-bench)
add_subdirectory(projects)
View
@@ -67,3 +67,4 @@ Autoconf llvm/autoconf
CellSPU backend llvm/lib/Target/CellSPU/README.txt
Google Test llvm/utils/unittest/googletest
OpenBSD regex llvm/lib/Support/{reg*, COPYRIGHT.regex}
+pyyaml tests llvm/test/YAMLParser/{*.data, LICENSE.TXT}
Oops, something went wrong.

0 comments on commit 93210e8

Please sign in to comment.