Releases: thierry-martinez/clangml
v4.8.0
-
Support for Clang/LLVM 15.0.0
-
Ast.character_kind
andAst.string_kind
are now distinct
types (aliases forClang.clang_ext_characterkind
and
Clang.clang_ext_stringkind
respectively.
The constructorOrdinary
replaced the former constructorAscii
forstring_kind
, to match the new convention used by
clang::StringLiteral::StringKind
from Clang 15.0.0.
The constructorAscii
forcharacter_kind
is left unchanged. -
#1, #2:
Ast.Var
andAst.Function
constructors now have astorage
field in addition to the computedlinkage
, exposing the value
previously accessible viacursor_get_storage_class
. The
storage classes are now correctly printed by the printer.
(reported by Ronan, rsaill/n47, #1) -
#3, #4: fix
Clang.Expr.radix_of_integer_literal
when the literal
comes from a macro expansion, and fix printing of unsigned/long
integer literals withClang.Printer
.
(reported by Ronan, rsaill/n47, #3)
v4.7.0
-
Support for Clang/LLVM 14.0.{1,2,3,4,5,6}
-
Support for
ParenList
expressions (may appear in constructor initializers of templated classes).
(reported by Arthur Charguéraud) -
Support for
_Atomic
types and built-in expressions
(reported by n47, https://discuss.ocaml.org/t/ann-clangml-4-2-0-ocaml-bindings-for-clang-api-for-c-and-c-parsing/6123/14) -
Support for
typeof
type (GCC extension)
(reported by n47, https://discuss.ocaml.org/t/ann-clangml-4-2-0-ocaml-bindings-for-clang-api-for-c-and-c-parsing/6123/25?u=thierry-martinez) -
Support for statement expression (GCC extension)
-
Fix lossing template specification in method definitions.
(reported by Arthur Charguéraud) -
Add
Clang.Cursor.{Set, Map}
, fixClang.compare_cursors
-
Add
Clang.Lazy.Printer
module