commonmarker 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of commonmarker might be problematic. Click here for more details.

Files changed (148) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -8
  3. data/Rakefile +5 -0
  4. data/bin/commonmarker +0 -1
  5. data/commonmarker.gemspec +0 -1
  6. data/ext/commonmarker/cmark/README.md +1 -0
  7. data/ext/commonmarker/cmark/build/CMakeCache.txt +73 -139
  8. data/ext/commonmarker/cmark/build/CMakeFiles/2.8.10.1/CMakeCCompiler.cmake +55 -0
  9. data/ext/commonmarker/cmark/build/CMakeFiles/2.8.10.1/CMakeCXXCompiler.cmake +56 -0
  10. data/ext/commonmarker/cmark/build/CMakeFiles/{3.2.2 → 2.8.10.1}/CMakeDetermineCompilerABI_C.bin +0 -0
  11. data/ext/commonmarker/cmark/build/CMakeFiles/{3.2.2 → 2.8.10.1}/CMakeDetermineCompilerABI_CXX.bin +0 -0
  12. data/ext/commonmarker/cmark/build/CMakeFiles/{3.2.2 → 2.8.10.1}/CMakeSystem.cmake +6 -6
  13. data/ext/commonmarker/cmark/build/CMakeFiles/{3.2.2 → 2.8.10.1}/CompilerIdC/CMakeCCompilerId.c +50 -156
  14. data/ext/commonmarker/cmark/build/CMakeFiles/{3.2.2 → 2.8.10.1}/CompilerIdC/a.out +0 -0
  15. data/ext/commonmarker/cmark/build/CMakeFiles/{3.2.2 → 2.8.10.1}/CompilerIdCXX/CMakeCXXCompilerId.cpp +38 -152
  16. data/ext/commonmarker/cmark/build/CMakeFiles/{3.2.2 → 2.8.10.1}/CompilerIdCXX/a.out +0 -0
  17. data/ext/commonmarker/cmark/build/CMakeFiles/CMakeDirectoryInformation.cmake +8 -8
  18. data/ext/commonmarker/cmark/build/CMakeFiles/CMakeError.log +14 -14
  19. data/ext/commonmarker/cmark/build/CMakeFiles/CMakeOutput.log +129 -444
  20. data/ext/commonmarker/cmark/build/CMakeFiles/Makefile.cmake +38 -111
  21. data/ext/commonmarker/cmark/build/CMakeFiles/Makefile2 +6 -3
  22. data/ext/commonmarker/cmark/build/CMakeFiles/TargetDirectories.txt +2 -2
  23. data/ext/commonmarker/cmark/build/CTestTestfile.cmake +5 -5
  24. data/ext/commonmarker/cmark/build/Makefile +44 -44
  25. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/CMakeDirectoryInformation.cmake +8 -8
  26. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/DependInfo.cmake +10 -10
  27. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/build.make +15 -12
  28. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/cmake_clean.cmake +4 -4
  29. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/depend.make +2 -25
  30. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/flags.make +3 -3
  31. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/link.txt +1 -1
  32. data/ext/commonmarker/cmark/build/api_test/Makefile +44 -44
  33. data/ext/commonmarker/cmark/build/api_test/cmake_install.cmake +20 -20
  34. data/ext/commonmarker/cmark/build/cmake_install.cmake +35 -35
  35. data/ext/commonmarker/cmark/build/man/CMakeFiles/CMakeDirectoryInformation.cmake +8 -8
  36. data/ext/commonmarker/cmark/build/man/Makefile +43 -43
  37. data/ext/commonmarker/cmark/build/man/cmake_install.cmake +26 -26
  38. data/ext/commonmarker/cmark/build/src/CMakeFiles/CMakeDirectoryInformation.cmake +8 -8
  39. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/DependInfo.cmake +8 -8
  40. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/build.make +60 -57
  41. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/cmake_clean.cmake +4 -4
  42. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/depend.make +2 -177
  43. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/flags.make +5 -3
  44. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/link.txt +1 -1
  45. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/DependInfo.cmake +9 -9
  46. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/build.make +57 -55
  47. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/cmake_clean.cmake +4 -4
  48. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/depend.make +2 -169
  49. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/flags.make +2 -2
  50. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/link.txt +1 -1
  51. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/DependInfo.cmake +8 -8
  52. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/build.make +57 -54
  53. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/cmake_clean.cmake +4 -4
  54. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/cmake_clean_target.cmake +1 -1
  55. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/commonmark.c.o +0 -0
  56. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/depend.internal +1 -1
  57. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/depend.make +1 -1
  58. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/flags.make +5 -3
  59. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/html.c.o +0 -0
  60. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/inlines.c.o +0 -0
  61. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/link.txt +2 -2
  62. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/node.c.o +0 -0
  63. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/references.c.o +0 -0
  64. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/xml.c.o +0 -0
  65. data/ext/commonmarker/cmark/build/src/Makefile +45 -45
  66. data/ext/commonmarker/cmark/build/src/cmake_install.cmake +47 -44
  67. data/ext/commonmarker/cmark/build/src/cmark_export.h +2 -8
  68. data/ext/commonmarker/cmark/build/src/libcmark.a +0 -0
  69. data/ext/commonmarker/cmark/build/testdir/CMakeFiles/CMakeDirectoryInformation.cmake +8 -8
  70. data/ext/commonmarker/cmark/build/testdir/CTestTestfile.cmake +7 -7
  71. data/ext/commonmarker/cmark/build/testdir/Makefile +43 -43
  72. data/ext/commonmarker/cmark/build/testdir/cmake_install.cmake +20 -20
  73. data/ext/commonmarker/cmark/src/chunk.h +13 -4
  74. data/ext/commonmarker/cmark/src/html.c +10 -8
  75. data/ext/commonmarker/cmark/src/inlines.c +38 -29
  76. data/ext/commonmarker/cmark/src/inlines.h +2 -2
  77. data/ext/commonmarker/cmark/src/node.c +6 -21
  78. data/ext/commonmarker/cmark/src/node.h +2 -2
  79. data/ext/commonmarker/cmark/src/references.c +2 -2
  80. data/ext/commonmarker/cmark/src/references.h +2 -2
  81. data/ext/commonmarker/cmark/src/xml.c +4 -2
  82. data/ext/commonmarker/commonmarker.c +48 -7
  83. data/ext/commonmarker/commonmarker.c.orig +444 -0
  84. data/ext/commonmarker/extconf.rb +16 -4
  85. data/lib/commonmarker.rb +7 -24
  86. data/lib/commonmarker/renderer/html_renderer.rb +6 -9
  87. data/lib/commonmarker/version.rb +1 -1
  88. data/test/spec_tests.json +2192 -2192
  89. data/test/test_basics.rb +0 -4
  90. data/test/test_helper.rb +0 -1
  91. data/test/test_maliciousness.rb +4 -0
  92. data/test/test_spec.rb +3 -2
  93. metadata +12 -78
  94. data/ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CMakeCCompiler.cmake +0 -63
  95. data/ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CMakeCXXCompiler.cmake +0 -64
  96. data/ext/commonmarker/cmark/build/CMakeFiles/feature_tests.bin +0 -0
  97. data/ext/commonmarker/cmark/build/CMakeFiles/feature_tests.c +0 -34
  98. data/ext/commonmarker/cmark/build/CMakeFiles/feature_tests.cxx +0 -405
  99. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/C.includecache +0 -92
  100. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/CXX.includecache +0 -36
  101. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/cplusplus.cpp.o +0 -0
  102. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/depend.internal +0 -25
  103. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/harness.c.o +0 -0
  104. data/ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/main.c.o +0 -0
  105. data/ext/commonmarker/cmark/build/api_test/api_test +0 -0
  106. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/C.includecache +0 -422
  107. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/blocks.c.o +0 -0
  108. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/buffer.c.o +0 -0
  109. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/cmark.c.o +0 -0
  110. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/cmark_ctype.c.o +0 -0
  111. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/commonmark.c.o +0 -0
  112. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/depend.internal +0 -177
  113. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/houdini_href_e.c.o +0 -0
  114. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/houdini_html_e.c.o +0 -0
  115. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/houdini_html_u.c.o +0 -0
  116. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/html.c.o +0 -0
  117. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/inlines.c.o +0 -0
  118. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/iterator.c.o +0 -0
  119. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/main.c.o +0 -0
  120. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/man.c.o +0 -0
  121. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/node.c.o +0 -0
  122. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/references.c.o +0 -0
  123. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/scanners.c.o +0 -0
  124. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/utf8.c.o +0 -0
  125. data/ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/xml.c.o +0 -0
  126. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/C.includecache +0 -394
  127. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/blocks.c.o +0 -0
  128. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/buffer.c.o +0 -0
  129. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/cmark.c.o +0 -0
  130. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/cmark_ctype.c.o +0 -0
  131. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/commonmark.c.o +0 -0
  132. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/depend.internal +0 -169
  133. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/houdini_href_e.c.o +0 -0
  134. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/houdini_html_e.c.o +0 -0
  135. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/houdini_html_u.c.o +0 -0
  136. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/html.c.o +0 -0
  137. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/inlines.c.o +0 -0
  138. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/iterator.c.o +0 -0
  139. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/man.c.o +0 -0
  140. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/node.c.o +0 -0
  141. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/references.c.o +0 -0
  142. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/scanners.c.o +0 -0
  143. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/utf8.c.o +0 -0
  144. data/ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/xml.c.o +0 -0
  145. data/ext/commonmarker/cmark/build/src/cmark +0 -0
  146. data/ext/commonmarker/cmark/build/src/libcmark.0.19.0.dylib +0 -0
  147. data/ext/commonmarker/cmark/build/src/libcmark.dylib +0 -0
  148. data/ext/commonmarker/commonmarker.bundle +0 -0
@@ -37,8 +37,4 @@ class TestNode < Minitest::Test
37
37
  end
38
38
  end
39
39
  end
40
-
41
- def teardown
42
- @doc.free
43
- end
44
40
  end
@@ -1,4 +1,3 @@
1
- require 'bundler/setup'
2
1
  require 'commonmarker'
3
2
  require 'minitest/autorun'
4
3
  require 'minitest/pride'
@@ -6,6 +6,10 @@ class CommonMarker::TestMaliciousness < Minitest::Test
6
6
  assert_raises NodeError do
7
7
  render = Node.new(99999)
8
8
  end
9
+
10
+ assert_raises NodeError do
11
+ render = Node.new(:totes_fake)
12
+ end
9
13
  end
10
14
 
11
15
  end
@@ -4,15 +4,16 @@ require 'json'
4
4
  class TestSpec < Minitest::Test
5
5
  cases = JSON.parse(open('test/spec_tests.json', 'r').read)
6
6
  cases.each do |testcase|
7
+ # next unless testcase['example'] == 420
7
8
  doc = Node.parse_string(testcase['markdown'])
9
+
8
10
  define_method("test_to_html_example_#{testcase['example']}") do
9
11
  actual = doc.to_html
10
- doc.free
11
12
  assert_equal testcase['html'], actual, testcase['markdown']
12
13
  end
14
+
13
15
  define_method("test_html_renderer_example_#{testcase['example']}") do
14
16
  actual = HtmlRenderer.new.render(doc)
15
- doc.free
16
17
  File.write('test.txt', testcase['html'])
17
18
  File.write('actual.txt', actual)
18
19
  assert_equal testcase['html'], actual, testcase['markdown']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: commonmarker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen Torikian
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-14 00:00:00.000000000 Z
11
+ date: 2015-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-enum
@@ -24,20 +24,6 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0.4'
27
- - !ruby/object:Gem::Dependency
28
- name: escape_utils
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '1.1'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '1.1'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: minitest
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -139,15 +125,15 @@ files:
139
125
  - ext/commonmarker/cmark/bench/stats.py
140
126
  - ext/commonmarker/cmark/benchmarks.md
141
127
  - ext/commonmarker/cmark/build/CMakeCache.txt
142
- - ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CMakeCCompiler.cmake
143
- - ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CMakeCXXCompiler.cmake
144
- - ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CMakeDetermineCompilerABI_C.bin
145
- - ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CMakeDetermineCompilerABI_CXX.bin
146
- - ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CMakeSystem.cmake
147
- - ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CompilerIdC/CMakeCCompilerId.c
148
- - ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CompilerIdC/a.out
149
- - ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
150
- - ext/commonmarker/cmark/build/CMakeFiles/3.2.2/CompilerIdCXX/a.out
128
+ - ext/commonmarker/cmark/build/CMakeFiles/2.8.10.1/CMakeCCompiler.cmake
129
+ - ext/commonmarker/cmark/build/CMakeFiles/2.8.10.1/CMakeCXXCompiler.cmake
130
+ - ext/commonmarker/cmark/build/CMakeFiles/2.8.10.1/CMakeDetermineCompilerABI_C.bin
131
+ - ext/commonmarker/cmark/build/CMakeFiles/2.8.10.1/CMakeDetermineCompilerABI_CXX.bin
132
+ - ext/commonmarker/cmark/build/CMakeFiles/2.8.10.1/CMakeSystem.cmake
133
+ - ext/commonmarker/cmark/build/CMakeFiles/2.8.10.1/CompilerIdC/CMakeCCompilerId.c
134
+ - ext/commonmarker/cmark/build/CMakeFiles/2.8.10.1/CompilerIdC/a.out
135
+ - ext/commonmarker/cmark/build/CMakeFiles/2.8.10.1/CompilerIdCXX/CMakeCXXCompilerId.cpp
136
+ - ext/commonmarker/cmark/build/CMakeFiles/2.8.10.1/CompilerIdCXX/a.out
151
137
  - ext/commonmarker/cmark/build/CMakeFiles/CMakeDirectoryInformation.cmake
152
138
  - ext/commonmarker/cmark/build/CMakeFiles/CMakeError.log
153
139
  - ext/commonmarker/cmark/build/CMakeFiles/CMakeOutput.log
@@ -155,29 +141,19 @@ files:
155
141
  - ext/commonmarker/cmark/build/CMakeFiles/Makefile2
156
142
  - ext/commonmarker/cmark/build/CMakeFiles/TargetDirectories.txt
157
143
  - ext/commonmarker/cmark/build/CMakeFiles/cmake.check_cache
158
- - ext/commonmarker/cmark/build/CMakeFiles/feature_tests.bin
159
- - ext/commonmarker/cmark/build/CMakeFiles/feature_tests.c
160
- - ext/commonmarker/cmark/build/CMakeFiles/feature_tests.cxx
161
144
  - ext/commonmarker/cmark/build/CMakeFiles/progress.marks
162
145
  - ext/commonmarker/cmark/build/CTestTestfile.cmake
163
146
  - ext/commonmarker/cmark/build/Makefile
164
147
  - ext/commonmarker/cmark/build/api_test/CMakeFiles/CMakeDirectoryInformation.cmake
165
- - ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/C.includecache
166
- - ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/CXX.includecache
167
148
  - ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/DependInfo.cmake
168
149
  - ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/build.make
169
150
  - ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/cmake_clean.cmake
170
- - ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/cplusplus.cpp.o
171
- - ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/depend.internal
172
151
  - ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/depend.make
173
152
  - ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/flags.make
174
- - ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/harness.c.o
175
153
  - ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/link.txt
176
- - ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/main.c.o
177
154
  - ext/commonmarker/cmark/build/api_test/CMakeFiles/api_test.dir/progress.make
178
155
  - ext/commonmarker/cmark/build/api_test/CMakeFiles/progress.marks
179
156
  - ext/commonmarker/cmark/build/api_test/Makefile
180
- - ext/commonmarker/cmark/build/api_test/api_test
181
157
  - ext/commonmarker/cmark/build/api_test/cmake_install.cmake
182
158
  - ext/commonmarker/cmark/build/cmake_install.cmake
183
159
  - ext/commonmarker/cmark/build/man/CMakeFiles/CMakeDirectoryInformation.cmake
@@ -185,59 +161,20 @@ files:
185
161
  - ext/commonmarker/cmark/build/man/Makefile
186
162
  - ext/commonmarker/cmark/build/man/cmake_install.cmake
187
163
  - ext/commonmarker/cmark/build/src/CMakeFiles/CMakeDirectoryInformation.cmake
188
- - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/C.includecache
189
164
  - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/DependInfo.cmake
190
- - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/blocks.c.o
191
- - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/buffer.c.o
192
165
  - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/build.make
193
166
  - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/cmake_clean.cmake
194
- - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/cmark.c.o
195
- - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/cmark_ctype.c.o
196
- - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/commonmark.c.o
197
- - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/depend.internal
198
167
  - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/depend.make
199
168
  - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/flags.make
200
- - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/houdini_href_e.c.o
201
- - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/houdini_html_e.c.o
202
- - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/houdini_html_u.c.o
203
- - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/html.c.o
204
- - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/inlines.c.o
205
- - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/iterator.c.o
206
169
  - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/link.txt
207
- - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/main.c.o
208
- - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/man.c.o
209
- - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/node.c.o
210
170
  - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/progress.make
211
- - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/references.c.o
212
- - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/scanners.c.o
213
- - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/utf8.c.o
214
- - ext/commonmarker/cmark/build/src/CMakeFiles/cmark.dir/xml.c.o
215
- - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/C.includecache
216
171
  - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/DependInfo.cmake
217
- - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/blocks.c.o
218
- - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/buffer.c.o
219
172
  - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/build.make
220
173
  - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/cmake_clean.cmake
221
- - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/cmark.c.o
222
- - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/cmark_ctype.c.o
223
- - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/commonmark.c.o
224
- - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/depend.internal
225
174
  - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/depend.make
226
175
  - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/flags.make
227
- - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/houdini_href_e.c.o
228
- - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/houdini_html_e.c.o
229
- - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/houdini_html_u.c.o
230
- - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/html.c.o
231
- - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/inlines.c.o
232
- - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/iterator.c.o
233
176
  - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/link.txt
234
- - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/man.c.o
235
- - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/node.c.o
236
177
  - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/progress.make
237
- - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/references.c.o
238
- - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/scanners.c.o
239
- - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/utf8.c.o
240
- - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark.dir/xml.c.o
241
178
  - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/C.includecache
242
179
  - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/DependInfo.cmake
243
180
  - ext/commonmarker/cmark/build/src/CMakeFiles/libcmark_static.dir/blocks.c.o
@@ -268,13 +205,10 @@ files:
268
205
  - ext/commonmarker/cmark/build/src/CMakeFiles/progress.marks
269
206
  - ext/commonmarker/cmark/build/src/Makefile
270
207
  - ext/commonmarker/cmark/build/src/cmake_install.cmake
271
- - ext/commonmarker/cmark/build/src/cmark
272
208
  - ext/commonmarker/cmark/build/src/cmark_export.h
273
209
  - ext/commonmarker/cmark/build/src/cmark_version.h
274
210
  - ext/commonmarker/cmark/build/src/config.h
275
- - ext/commonmarker/cmark/build/src/libcmark.0.19.0.dylib
276
211
  - ext/commonmarker/cmark/build/src/libcmark.a
277
- - ext/commonmarker/cmark/build/src/libcmark.dylib
278
212
  - ext/commonmarker/cmark/build/src/libcmark.pc
279
213
  - ext/commonmarker/cmark/build/testdir/CMakeFiles/CMakeDirectoryInformation.cmake
280
214
  - ext/commonmarker/cmark/build/testdir/CMakeFiles/progress.marks
@@ -396,8 +330,8 @@ files:
396
330
  - ext/commonmarker/cmark/wrappers/wrapper.py
397
331
  - ext/commonmarker/cmark/wrappers/wrapper.rb
398
332
  - ext/commonmarker/cmark/wrappers/wrapper.rkt
399
- - ext/commonmarker/commonmarker.bundle
400
333
  - ext/commonmarker/commonmarker.c
334
+ - ext/commonmarker/commonmarker.c.orig
401
335
  - ext/commonmarker/commonmarker.h
402
336
  - ext/commonmarker/extconf.rb
403
337
  - lib/commonmarker.rb
@@ -1,63 +0,0 @@
1
- set(CMAKE_C_COMPILER "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc")
2
- set(CMAKE_C_COMPILER_ARG1 "")
3
- set(CMAKE_C_COMPILER_ID "AppleClang")
4
- set(CMAKE_C_COMPILER_VERSION "6.1.0.6020049")
5
- set(CMAKE_C_COMPILE_FEATURES "c_function_prototypes;c_restrict;c_variadic_macros;c_static_assert")
6
- set(CMAKE_C90_COMPILE_FEATURES "c_function_prototypes")
7
- set(CMAKE_C99_COMPILE_FEATURES "c_restrict;c_variadic_macros")
8
- set(CMAKE_C11_COMPILE_FEATURES "c_static_assert")
9
-
10
- set(CMAKE_C_PLATFORM_ID "Darwin")
11
- set(CMAKE_C_SIMULATE_ID "")
12
- set(CMAKE_C_SIMULATE_VERSION "")
13
-
14
- set(CMAKE_AR "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar")
15
- set(CMAKE_RANLIB "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib")
16
- set(CMAKE_LINKER "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld")
17
- set(CMAKE_COMPILER_IS_GNUCC )
18
- set(CMAKE_C_COMPILER_LOADED 1)
19
- set(CMAKE_C_COMPILER_WORKS TRUE)
20
- set(CMAKE_C_ABI_COMPILED TRUE)
21
- set(CMAKE_COMPILER_IS_MINGW )
22
- set(CMAKE_COMPILER_IS_CYGWIN )
23
- if(CMAKE_COMPILER_IS_CYGWIN)
24
- set(CYGWIN 1)
25
- set(UNIX 1)
26
- endif()
27
-
28
- set(CMAKE_C_COMPILER_ENV_VAR "CC")
29
-
30
- if(CMAKE_COMPILER_IS_MINGW)
31
- set(MINGW 1)
32
- endif()
33
- set(CMAKE_C_COMPILER_ID_RUN 1)
34
- set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
35
- set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
36
- set(CMAKE_C_LINKER_PREFERENCE 10)
37
-
38
- # Save compiler ABI information.
39
- set(CMAKE_C_SIZEOF_DATA_PTR "8")
40
- set(CMAKE_C_COMPILER_ABI "")
41
- set(CMAKE_C_LIBRARY_ARCHITECTURE "")
42
-
43
- if(CMAKE_C_SIZEOF_DATA_PTR)
44
- set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
45
- endif()
46
-
47
- if(CMAKE_C_COMPILER_ABI)
48
- set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
49
- endif()
50
-
51
- if(CMAKE_C_LIBRARY_ARCHITECTURE)
52
- set(CMAKE_LIBRARY_ARCHITECTURE "")
53
- endif()
54
-
55
-
56
-
57
-
58
- set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.1.0/lib/darwin/libclang_rt.osx.a")
59
- set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/local/lib;/usr/lib")
60
- set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "/Library/Frameworks;/System/Library/Frameworks")
61
-
62
-
63
-
@@ -1,64 +0,0 @@
1
- set(CMAKE_CXX_COMPILER "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++")
2
- set(CMAKE_CXX_COMPILER_ARG1 "")
3
- set(CMAKE_CXX_COMPILER_ID "AppleClang")
4
- set(CMAKE_CXX_COMPILER_VERSION "6.1.0.6020049")
5
- set(CMAKE_CXX_COMPILE_FEATURES "cxx_template_template_parameters;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
6
- set(CMAKE_CXX98_COMPILE_FEATURES "cxx_template_template_parameters")
7
- set(CMAKE_CXX11_COMPILE_FEATURES "cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates")
8
- set(CMAKE_CXX14_COMPILE_FEATURES "cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates")
9
-
10
- set(CMAKE_CXX_PLATFORM_ID "Darwin")
11
- set(CMAKE_CXX_SIMULATE_ID "")
12
- set(CMAKE_CXX_SIMULATE_VERSION "")
13
-
14
- set(CMAKE_AR "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar")
15
- set(CMAKE_RANLIB "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib")
16
- set(CMAKE_LINKER "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld")
17
- set(CMAKE_COMPILER_IS_GNUCXX )
18
- set(CMAKE_CXX_COMPILER_LOADED 1)
19
- set(CMAKE_CXX_COMPILER_WORKS TRUE)
20
- set(CMAKE_CXX_ABI_COMPILED TRUE)
21
- set(CMAKE_COMPILER_IS_MINGW )
22
- set(CMAKE_COMPILER_IS_CYGWIN )
23
- if(CMAKE_COMPILER_IS_CYGWIN)
24
- set(CYGWIN 1)
25
- set(UNIX 1)
26
- endif()
27
-
28
- set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
29
-
30
- if(CMAKE_COMPILER_IS_MINGW)
31
- set(MINGW 1)
32
- endif()
33
- set(CMAKE_CXX_COMPILER_ID_RUN 1)
34
- set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
35
- set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;mm;CPP)
36
- set(CMAKE_CXX_LINKER_PREFERENCE 30)
37
- set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
38
-
39
- # Save compiler ABI information.
40
- set(CMAKE_CXX_SIZEOF_DATA_PTR "8")
41
- set(CMAKE_CXX_COMPILER_ABI "")
42
- set(CMAKE_CXX_LIBRARY_ARCHITECTURE "")
43
-
44
- if(CMAKE_CXX_SIZEOF_DATA_PTR)
45
- set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
46
- endif()
47
-
48
- if(CMAKE_CXX_COMPILER_ABI)
49
- set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
50
- endif()
51
-
52
- if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
53
- set(CMAKE_LIBRARY_ARCHITECTURE "")
54
- endif()
55
-
56
-
57
-
58
-
59
- set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "c++;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.1.0/lib/darwin/libclang_rt.osx.a")
60
- set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/local/lib;/usr/lib")
61
- set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "/Library/Frameworks;/System/Library/Frameworks")
62
-
63
-
64
-
@@ -1,34 +0,0 @@
1
-
2
- const char features[] = {""
3
- "C_FEATURE:"
4
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400
5
- "1"
6
- #else
7
- "0"
8
- #endif
9
- "c_function_prototypes\n"
10
- "C_FEATURE:"
11
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
12
- "1"
13
- #else
14
- "0"
15
- #endif
16
- "c_restrict\n"
17
- "C_FEATURE:"
18
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
19
- "1"
20
- #else
21
- "0"
22
- #endif
23
- "c_static_assert\n"
24
- "C_FEATURE:"
25
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
26
- "1"
27
- #else
28
- "0"
29
- #endif
30
- "c_variadic_macros\n"
31
-
32
- };
33
-
34
- int main(int argc, char** argv) { (void)argv; return features[argc]; }
@@ -1,405 +0,0 @@
1
-
2
- const char features[] = {""
3
- "CXX_FEATURE:"
4
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_aggregate_nsdmi)
5
- "1"
6
- #else
7
- "0"
8
- #endif
9
- "cxx_aggregate_default_initializers\n"
10
- "CXX_FEATURE:"
11
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_alias_templates)
12
- "1"
13
- #else
14
- "0"
15
- #endif
16
- "cxx_alias_templates\n"
17
- "CXX_FEATURE:"
18
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_alignas)
19
- "1"
20
- #else
21
- "0"
22
- #endif
23
- "cxx_alignas\n"
24
- "CXX_FEATURE:"
25
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_alignas)
26
- "1"
27
- #else
28
- "0"
29
- #endif
30
- "cxx_alignof\n"
31
- "CXX_FEATURE:"
32
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_attributes)
33
- "1"
34
- #else
35
- "0"
36
- #endif
37
- "cxx_attributes\n"
38
- "CXX_FEATURE:"
39
- #if ((__clang_major__ * 100) + __clang_minor__) >= 501 && __cplusplus > 201103L
40
- "1"
41
- #else
42
- "0"
43
- #endif
44
- "cxx_attribute_deprecated\n"
45
- "CXX_FEATURE:"
46
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_auto_type)
47
- "1"
48
- #else
49
- "0"
50
- #endif
51
- "cxx_auto_type\n"
52
- "CXX_FEATURE:"
53
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_binary_literals)
54
- "1"
55
- #else
56
- "0"
57
- #endif
58
- "cxx_binary_literals\n"
59
- "CXX_FEATURE:"
60
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_constexpr)
61
- "1"
62
- #else
63
- "0"
64
- #endif
65
- "cxx_constexpr\n"
66
- "CXX_FEATURE:"
67
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_contextual_conversions)
68
- "1"
69
- #else
70
- "0"
71
- #endif
72
- "cxx_contextual_conversions\n"
73
- "CXX_FEATURE:"
74
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_decltype)
75
- "1"
76
- #else
77
- "0"
78
- #endif
79
- "cxx_decltype\n"
80
- "CXX_FEATURE:"
81
- #if ((__clang_major__ * 100) + __clang_minor__) >= 501 && __cplusplus > 201103L
82
- "1"
83
- #else
84
- "0"
85
- #endif
86
- "cxx_decltype_auto\n"
87
- "CXX_FEATURE:"
88
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_decltype_incomplete_return_types)
89
- "1"
90
- #else
91
- "0"
92
- #endif
93
- "cxx_decltype_incomplete_return_types\n"
94
- "CXX_FEATURE:"
95
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_default_function_template_args)
96
- "1"
97
- #else
98
- "0"
99
- #endif
100
- "cxx_default_function_template_args\n"
101
- "CXX_FEATURE:"
102
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_defaulted_functions)
103
- "1"
104
- #else
105
- "0"
106
- #endif
107
- "cxx_defaulted_functions\n"
108
- "CXX_FEATURE:"
109
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_defaulted_functions)
110
- "1"
111
- #else
112
- "0"
113
- #endif
114
- "cxx_defaulted_move_initializers\n"
115
- "CXX_FEATURE:"
116
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_delegating_constructors)
117
- "1"
118
- #else
119
- "0"
120
- #endif
121
- "cxx_delegating_constructors\n"
122
- "CXX_FEATURE:"
123
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_deleted_functions)
124
- "1"
125
- #else
126
- "0"
127
- #endif
128
- "cxx_deleted_functions\n"
129
- "CXX_FEATURE:"
130
- #if ((__clang_major__ * 100) + __clang_minor__) >= 501 && __cplusplus > 201103L
131
- "1"
132
- #else
133
- "0"
134
- #endif
135
- "cxx_digit_separators\n"
136
- "CXX_FEATURE:"
137
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 201103L
138
- "1"
139
- #else
140
- "0"
141
- #endif
142
- "cxx_enum_forward_declarations\n"
143
- "CXX_FEATURE:"
144
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_explicit_conversions)
145
- "1"
146
- #else
147
- "0"
148
- #endif
149
- "cxx_explicit_conversions\n"
150
- "CXX_FEATURE:"
151
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 201103L
152
- "1"
153
- #else
154
- "0"
155
- #endif
156
- "cxx_extended_friend_declarations\n"
157
- "CXX_FEATURE:"
158
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 201103L
159
- "1"
160
- #else
161
- "0"
162
- #endif
163
- "cxx_extern_templates\n"
164
- "CXX_FEATURE:"
165
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_override_control)
166
- "1"
167
- #else
168
- "0"
169
- #endif
170
- "cxx_final\n"
171
- "CXX_FEATURE:"
172
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 201103L
173
- "1"
174
- #else
175
- "0"
176
- #endif
177
- "cxx_func_identifier\n"
178
- "CXX_FEATURE:"
179
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_generalized_initializers)
180
- "1"
181
- #else
182
- "0"
183
- #endif
184
- "cxx_generalized_initializers\n"
185
- "CXX_FEATURE:"
186
- #if ((__clang_major__ * 100) + __clang_minor__) >= 501 && __cplusplus > 201103L
187
- "1"
188
- #else
189
- "0"
190
- #endif
191
- "cxx_generic_lambdas\n"
192
- "CXX_FEATURE:"
193
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_inheriting_constructors)
194
- "1"
195
- #else
196
- "0"
197
- #endif
198
- "cxx_inheriting_constructors\n"
199
- "CXX_FEATURE:"
200
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 201103L
201
- "1"
202
- #else
203
- "0"
204
- #endif
205
- "cxx_inline_namespaces\n"
206
- "CXX_FEATURE:"
207
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_lambdas)
208
- "1"
209
- #else
210
- "0"
211
- #endif
212
- "cxx_lambdas\n"
213
- "CXX_FEATURE:"
214
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_init_captures)
215
- "1"
216
- #else
217
- "0"
218
- #endif
219
- "cxx_lambda_init_captures\n"
220
- "CXX_FEATURE:"
221
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_local_type_template_args)
222
- "1"
223
- #else
224
- "0"
225
- #endif
226
- "cxx_local_type_template_args\n"
227
- "CXX_FEATURE:"
228
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 201103L
229
- "1"
230
- #else
231
- "0"
232
- #endif
233
- "cxx_long_long_type\n"
234
- "CXX_FEATURE:"
235
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_noexcept)
236
- "1"
237
- #else
238
- "0"
239
- #endif
240
- "cxx_noexcept\n"
241
- "CXX_FEATURE:"
242
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_nonstatic_member_init)
243
- "1"
244
- #else
245
- "0"
246
- #endif
247
- "cxx_nonstatic_member_init\n"
248
- "CXX_FEATURE:"
249
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_nullptr)
250
- "1"
251
- #else
252
- "0"
253
- #endif
254
- "cxx_nullptr\n"
255
- "CXX_FEATURE:"
256
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_override_control)
257
- "1"
258
- #else
259
- "0"
260
- #endif
261
- "cxx_override\n"
262
- "CXX_FEATURE:"
263
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_range_for)
264
- "1"
265
- #else
266
- "0"
267
- #endif
268
- "cxx_range_for\n"
269
- "CXX_FEATURE:"
270
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_raw_string_literals)
271
- "1"
272
- #else
273
- "0"
274
- #endif
275
- "cxx_raw_string_literals\n"
276
- "CXX_FEATURE:"
277
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_reference_qualified_functions)
278
- "1"
279
- #else
280
- "0"
281
- #endif
282
- "cxx_reference_qualified_functions\n"
283
- "CXX_FEATURE:"
284
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_relaxed_constexpr)
285
- "1"
286
- #else
287
- "0"
288
- #endif
289
- "cxx_relaxed_constexpr\n"
290
- "CXX_FEATURE:"
291
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_return_type_deduction)
292
- "1"
293
- #else
294
- "0"
295
- #endif
296
- "cxx_return_type_deduction\n"
297
- "CXX_FEATURE:"
298
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 201103L
299
- "1"
300
- #else
301
- "0"
302
- #endif
303
- "cxx_right_angle_brackets\n"
304
- "CXX_FEATURE:"
305
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_rvalue_references)
306
- "1"
307
- #else
308
- "0"
309
- #endif
310
- "cxx_rvalue_references\n"
311
- "CXX_FEATURE:"
312
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 201103L
313
- "1"
314
- #else
315
- "0"
316
- #endif
317
- "cxx_sizeof_member\n"
318
- "CXX_FEATURE:"
319
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_static_assert)
320
- "1"
321
- #else
322
- "0"
323
- #endif
324
- "cxx_static_assert\n"
325
- "CXX_FEATURE:"
326
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_strong_enums)
327
- "1"
328
- #else
329
- "0"
330
- #endif
331
- "cxx_strong_enums\n"
332
- "CXX_FEATURE:"
333
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 199711L
334
- "1"
335
- #else
336
- "0"
337
- #endif
338
- "cxx_template_template_parameters\n"
339
- "CXX_FEATURE:"
340
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_thread_local)
341
- "1"
342
- #else
343
- "0"
344
- #endif
345
- "cxx_thread_local\n"
346
- "CXX_FEATURE:"
347
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_trailing_return)
348
- "1"
349
- #else
350
- "0"
351
- #endif
352
- "cxx_trailing_return_types\n"
353
- "CXX_FEATURE:"
354
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_unicode_literals)
355
- "1"
356
- #else
357
- "0"
358
- #endif
359
- "cxx_unicode_literals\n"
360
- "CXX_FEATURE:"
361
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_generalized_initializers)
362
- "1"
363
- #else
364
- "0"
365
- #endif
366
- "cxx_uniform_initialization\n"
367
- "CXX_FEATURE:"
368
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_unrestricted_unions)
369
- "1"
370
- #else
371
- "0"
372
- #endif
373
- "cxx_unrestricted_unions\n"
374
- "CXX_FEATURE:"
375
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_user_literals)
376
- "1"
377
- #else
378
- "0"
379
- #endif
380
- "cxx_user_literals\n"
381
- "CXX_FEATURE:"
382
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_variable_templates)
383
- "1"
384
- #else
385
- "0"
386
- #endif
387
- "cxx_variable_templates\n"
388
- "CXX_FEATURE:"
389
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __cplusplus >= 201103L
390
- "1"
391
- #else
392
- "0"
393
- #endif
394
- "cxx_variadic_macros\n"
395
- "CXX_FEATURE:"
396
- #if ((__clang_major__ * 100) + __clang_minor__) >= 400 && __has_feature(cxx_variadic_templates)
397
- "1"
398
- #else
399
- "0"
400
- #endif
401
- "cxx_variadic_templates\n"
402
-
403
- };
404
-
405
- int main(int argc, char** argv) { (void)argv; return features[argc]; }