ffi-clang 0.15.0 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +3 -2
- data/lib/ffi/clang/args/mswin.rb +1 -1
- data/lib/ffi/clang/version.rb +1 -1
- data/readme.md +4 -4
- data/releases.md +42 -38
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 33f36e58a42accf204240213d014bfbd1527ebe23239a74c7472829d502d8fc5
|
|
4
|
+
data.tar.gz: 9b1e75ed934bb3572fd324cf80ea1c1278880abdc487482281e181bb4098932d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 07164ccdc62ecb4e8a106fa49f0776c2487e38a2d0aa2df47cf32f0ae2402a63bfb4ac7e27f5ed41d5222cc61a09eca3b64963c7c560b846e5329ef1173d3168
|
|
7
|
+
data.tar.gz: 7e5ae23e82ec66cb97a6d6943fcdf99b124dd6cb902cd12e10216b75310885b2f10a1ec9b62855a83d2acfe523202fa1382fdedebc1c302b25c1315a586591cd
|
checksums.yaml.gz.sig
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
�ɒ���o�V]���B9J��d�2�{�1sO&K'Χb��q��)�L��t�J��~G�R�d��
|
|
2
|
+
�v��q�W�]1�}^��a��%��8�=�ý�L"���/zJ�d�蒺�!ֻ��;n)��K���������x�\���,�G��X��s�+,���ݬ�p�q!������B��R
|
|
3
|
+
(ξ��=�T*���bQ�W��8��˚�O��֬���_�l��G� �������6�`p5!ߕJ�?>@Ӽ1{��Y�3���1�0vk_˲n��c�x��"vI�56^��j'K�m�>�H#Bt��[XW�❒��z�P�8�KW/�/�f��]�#(7��Ro�ٙ�(��ȷ���B#+P~�˲�-����� �:�O
|
data/lib/ffi/clang/args/mswin.rb
CHANGED
data/lib/ffi/clang/version.rb
CHANGED
data/readme.md
CHANGED
|
@@ -41,6 +41,10 @@ For example, to use a specific LLVM installation:
|
|
|
41
41
|
|
|
42
42
|
Please see the [project releases](https://socketry.github.io/ffi-clang/releases/index) for all releases.
|
|
43
43
|
|
|
44
|
+
### v0.15.1
|
|
45
|
+
|
|
46
|
+
- Use `-isystem` instead of `-I` for auto-discovered MSVC system include paths so that `in_system_header?` correctly identifies system headers.
|
|
47
|
+
|
|
44
48
|
### v0.15.0
|
|
45
49
|
|
|
46
50
|
- [Platform Support](https://socketry.github.io/ffi-clang/releases/index#platform-support)
|
|
@@ -109,10 +113,6 @@ Please see the [project releases](https://socketry.github.io/ffi-clang/releases/
|
|
|
109
113
|
- Implement libclang `findReferencesInFile` functionality.
|
|
110
114
|
- Allow `TranslationUnit#file` to return the main file.
|
|
111
115
|
|
|
112
|
-
### v0.6.0
|
|
113
|
-
|
|
114
|
-
- Add missing translation unit parse flags.
|
|
115
|
-
|
|
116
116
|
## Contributing
|
|
117
117
|
|
|
118
118
|
We welcome contributions to this project.
|
data/releases.md
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
# Releases
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## v0.15.1
|
|
4
|
+
|
|
5
|
+
- Use `-isystem` instead of `-I` for auto-discovered MSVC system include paths so that `in_system_header?` correctly identifies system headers.
|
|
6
|
+
|
|
7
|
+
## v0.15.0
|
|
4
8
|
|
|
5
9
|
### Platform Support
|
|
6
10
|
|
|
7
11
|
- Add macOS support using Xcode's built-in clang/libclang.
|
|
8
12
|
- Add Windows MSVC (mswin) support using Visual Studio's bundled LLVM/Clang, including system include path discovery via `vcvarsall.bat` and `clang-cl`.
|
|
9
13
|
- Improve Windows MinGW support.
|
|
10
|
-
- Work around LLVM bug [
|
|
14
|
+
- Work around LLVM bug [\#154361](https://github.com/llvm/llvm-project/pull/171465) where `FreeLibrary` on `libclang.dll` crashes during process exit due to dangling Fiber Local Storage callbacks (fixed in LLVM 22.1.0).
|
|
11
15
|
|
|
12
16
|
### Breaking Changes
|
|
13
17
|
|
|
@@ -61,45 +65,45 @@
|
|
|
61
65
|
|
|
62
66
|
## v0.13.0
|
|
63
67
|
|
|
64
|
-
- Add support for `clang_Type_getNamedType`. (
|
|
65
|
-
- Try clang v18 + add Ruby v3.4 to test matrix. (
|
|
68
|
+
- Add support for `clang_Type_getNamedType`. (\#90)
|
|
69
|
+
- Try clang v18 + add Ruby v3.4 to test matrix. (\#91)
|
|
66
70
|
|
|
67
71
|
## v0.12.0
|
|
68
72
|
|
|
69
|
-
- Prefer `LIBCLANG` and `LLVM_CONFIG` overrides over Xcode. (
|
|
73
|
+
- Prefer `LIBCLANG` and `LLVM_CONFIG` overrides over Xcode. (\#88)
|
|
70
74
|
|
|
71
75
|
## v0.11.0
|
|
72
76
|
|
|
73
|
-
- Restore `visit_children` method. Fixes
|
|
74
|
-
- Expose Clang's exception specification API. (
|
|
75
|
-
- Support iterating over `Type::Function` args and expose `Lib.get_non_reference_type`. (
|
|
76
|
-
- Fix qualified name. (
|
|
77
|
-
- Update clang version. (
|
|
77
|
+
- Restore `visit_children` method. Fixes \#82. (\#84)
|
|
78
|
+
- Expose Clang's exception specification API. (\#87)
|
|
79
|
+
- Support iterating over `Type::Function` args and expose `Lib.get_non_reference_type`. (\#85)
|
|
80
|
+
- Fix qualified name. (\#83)
|
|
81
|
+
- Update clang version. (\#86)
|
|
78
82
|
|
|
79
83
|
## v0.10.0
|
|
80
84
|
|
|
81
|
-
- Expose libclang's anonymous methods. (
|
|
82
|
-
- Use Enumerable. (
|
|
83
|
-
- Split `FFI::Clang::Type` into a number of more cohesive subclasses inheriting from `FFI::Clang::Types::Type`. (
|
|
85
|
+
- Expose libclang's anonymous methods. (\#79)
|
|
86
|
+
- Use Enumerable. (\#80)
|
|
87
|
+
- Split `FFI::Clang::Type` into a number of more cohesive subclasses inheriting from `FFI::Clang::Types::Type`. (\#81)
|
|
84
88
|
|
|
85
89
|
## v0.9.0
|
|
86
90
|
|
|
87
|
-
- Remove duplicate mapping of `clang_getEnumDeclIntegerType`. (
|
|
88
|
-
- Update bitmask options based on enums to always be an array of symbols. (
|
|
89
|
-
- Add support for `parse_translation_unit2` API. (
|
|
90
|
-
- Cursor improvements, Type improvements, Printing support. (
|
|
91
|
-
- Fix finalizer exception in `FFI::Clang::CodeCompletion::Results`. (
|
|
92
|
-
- Fix Clang 16 compatibility. (
|
|
93
|
-
- Cursor location methods. (
|
|
91
|
+
- Remove duplicate mapping of `clang_getEnumDeclIntegerType`. (\#67)
|
|
92
|
+
- Update bitmask options based on enums to always be an array of symbols. (\#69)
|
|
93
|
+
- Add support for `parse_translation_unit2` API. (\#70)
|
|
94
|
+
- Cursor improvements, Type improvements, Printing support. (\#72)
|
|
95
|
+
- Fix finalizer exception in `FFI::Clang::CodeCompletion::Results`. (\#74)
|
|
96
|
+
- Fix Clang 16 compatibility. (\#76)
|
|
97
|
+
- Cursor location methods. (\#78)
|
|
94
98
|
|
|
95
99
|
## v0.8.0
|
|
96
100
|
|
|
97
|
-
- Modernize gem. (
|
|
98
|
-
- Test on clang 5.0+. (
|
|
99
|
-
- Fix `CXCursor_TranslationUnit` enum value to 350. (
|
|
100
|
-
- Add `Cursor#hash` and `Cursor#eql?`. (
|
|
101
|
-
- Set `cursor_translation_unit` enum value based on the Clang version. (
|
|
102
|
-
- Add various C++ introspection methods. (
|
|
101
|
+
- Modernize gem. (\#58)
|
|
102
|
+
- Test on clang 5.0+. (\#59)
|
|
103
|
+
- Fix `CXCursor_TranslationUnit` enum value to 350. (\#61)
|
|
104
|
+
- Add `Cursor#hash` and `Cursor#eql?`. (\#62)
|
|
105
|
+
- Set `cursor_translation_unit` enum value based on the Clang version. (\#64)
|
|
106
|
+
- Add various C++ introspection methods. (\#66)
|
|
103
107
|
|
|
104
108
|
## v0.7.0
|
|
105
109
|
|
|
@@ -122,42 +126,42 @@
|
|
|
122
126
|
- Modernize code base, Clang v3.4+ only.
|
|
123
127
|
- Get text from `SourceRange`.
|
|
124
128
|
- Integrate `find_*` into `Cursor`.
|
|
125
|
-
- Test case for method calls inside classes. (
|
|
129
|
+
- Test case for method calls inside classes. (\#36)
|
|
126
130
|
|
|
127
131
|
## v0.3.0
|
|
128
132
|
|
|
129
|
-
- Find and use `llvm-config`. (
|
|
133
|
+
- Find and use `llvm-config`. (\#38)
|
|
130
134
|
- Recognize Xcode 7.
|
|
131
135
|
- Add functions needed by RoboVM's bro-gen script.
|
|
132
136
|
|
|
133
137
|
## v0.2.1
|
|
134
138
|
|
|
135
|
-
- Add inclusions support. (
|
|
139
|
+
- Add inclusions support. (\#32)
|
|
136
140
|
- Update unit tests for RSpec 3.
|
|
137
|
-
- Add `CompilationDatabase`. (
|
|
138
|
-
- Only use `.dylib` on Darwin. (
|
|
141
|
+
- Add `CompilationDatabase`. (\#27)
|
|
142
|
+
- Only use `.dylib` on Darwin. (\#29)
|
|
139
143
|
|
|
140
144
|
## v0.2.0
|
|
141
145
|
|
|
142
146
|
- Add clang version string APIs.
|
|
143
|
-
- Add cursor functions (except Objective-C). (
|
|
144
|
-
- Add type kind and cursor kind enums. (
|
|
145
|
-
- Add `TranslationUnit` reference to `Cursor` and `Type`. (
|
|
146
|
-
- Multi-version libclang testing via Travis. (
|
|
147
|
+
- Add cursor functions (except Objective-C). (\#9)
|
|
148
|
+
- Add type kind and cursor kind enums. (\#8)
|
|
149
|
+
- Add `TranslationUnit` reference to `Cursor` and `Type`. (\#11)
|
|
150
|
+
- Multi-version libclang testing via Travis. (\#10)
|
|
147
151
|
|
|
148
152
|
## v0.1.3
|
|
149
153
|
|
|
150
|
-
- Add `CXType` support. (
|
|
154
|
+
- Add `CXType` support. (\#5)
|
|
151
155
|
- Correct camelCase `displayName` to `display_name`.
|
|
152
156
|
|
|
153
157
|
## v0.1.2
|
|
154
158
|
|
|
155
|
-
- Initial support for source comments. (
|
|
159
|
+
- Initial support for source comments. (\#4)
|
|
156
160
|
- Use different classes for comment types.
|
|
157
161
|
|
|
158
162
|
## v0.1.1
|
|
159
163
|
|
|
160
|
-
- Support unsaved files. (
|
|
164
|
+
- Support unsaved files. (\#3)
|
|
161
165
|
- Add `Cursor` visitor function taking a block.
|
|
162
166
|
- Add null cursor and `clang_is*` functions.
|
|
163
167
|
- Add `SourceLocation` from diagnostic.
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
Lr~a�g���gUT���$�f�\9Y�t� ��B��@v�R1�,�M�|+ji�#���4�yF�t������J���y��&�3�i�
|
|
2
1
|
�7���B�;Z!m�N�Q�]Ǝ�R�[
|
|
3
|
-
|
|
2
|
+
n��`X-Gl�������H�D
|
|
3
|
+
J�Q6>v�c݂jY��C�DJk�j";�F����r��7B�dў9�*HF}
|
|
4
|
+
�D�0V`�����@y���Y�27��V#-1�ߢ`Q.h{�*�����d�F%Ѥ�b�O5�r6s�n]?�V7����#�_/���a��p��'%$N{��.�F���IC�e�f�h��-Vi�</��&�s��Ȑ�y"���|U�\sL�!+�WR�0�B6N:C���'G�g�U=�7wU���e,D�
|
|
5
|
+
�(s�V��w��
|