diff options
| author | whitequark <whitequark@whitequark.org> | 2018-09-18 00:01:01 +0000 |
|---|---|---|
| committer | whitequark <whitequark@whitequark.org> | 2018-09-18 00:01:01 +0000 |
| commit | 17c7040bc6f996d67e9474931731228dd2cef4f2 (patch) | |
| tree | d9c1ba8165868121a96ee44fe2488a047e911e19 /llvm/bindings/ocaml | |
| parent | 4923d54c55a4da0804c56a9699439352097948e6 (diff) | |
| download | bcm5719-llvm-17c7040bc6f996d67e9474931731228dd2cef4f2.tar.gz bcm5719-llvm-17c7040bc6f996d67e9474931731228dd2cef4f2.zip | |
[OCaml] Add Token type to kind enum in OCaml API
Summary:
The token type has not yet been added to the OCaml API. This
patch only extends the enum, so that e.g. classify_type will not
crash. No support for manipulating or building tokens is added at this
point.
Reviewers: whitequark
Reviewed By: whitequark
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D52197
llvm-svn: 342428
Diffstat (limited to 'llvm/bindings/ocaml')
| -rw-r--r-- | llvm/bindings/ocaml/llvm/llvm.ml | 1 | ||||
| -rw-r--r-- | llvm/bindings/ocaml/llvm/llvm.mli | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/llvm/bindings/ocaml/llvm/llvm.ml b/llvm/bindings/ocaml/llvm/llvm.ml index 0a8a40a0d64..c37e3e5daf2 100644 --- a/llvm/bindings/ocaml/llvm/llvm.ml +++ b/llvm/bindings/ocaml/llvm/llvm.ml @@ -42,6 +42,7 @@ module TypeKind = struct | Vector | Metadata | X86_mmx + | Token end module Linkage = struct diff --git a/llvm/bindings/ocaml/llvm/llvm.mli b/llvm/bindings/ocaml/llvm/llvm.mli index 8d5cdb269ca..a4ccb390675 100644 --- a/llvm/bindings/ocaml/llvm/llvm.mli +++ b/llvm/bindings/ocaml/llvm/llvm.mli @@ -77,6 +77,7 @@ module TypeKind : sig | Vector | Metadata | X86_mmx + | Token end (** The linkage of a global value, accessed with {!linkage} and |

