Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-11-02 | clang: Some partially specialized templates return no template argument count. | Emilio Cobos Álvarez | |
2016-11-02 | Add a method to generate dummy C/C++ uses of whitelisted types for testing | Nick Fitzgerald | |
A part of #151. | |||
2016-11-02 | Check resulting Cursor instead of the existing one | Ethan Glasser-Camp | |
Thanks @fitzgen for the correction. This also allows us to simplify the is_template method. Thanks @emilio for the suggestion. | |||
2016-11-02 | Make clang::Cursor::specialized return an Option | Ethan Glasser-Camp | |
Fixes #122. | |||
2016-11-02 | Fix #140 clang::Type::arg_types should return Option<Vec<Type>> | Romain Loisel | |
2016-11-01 | Fix version logging and add ClangVersion struct | oldmanmike | |
2016-11-01 | Add logging of Clang version | oldmanmike | |
2016-11-01 | Avoid an extra lookup when finding new whitelisted items to traverse | Nick Fitzgerald | |
2016-11-01 | Use `BindgenContext::whitelisted_items` in code generation | Nick Fitzgerald | |
This replaces the manual gathering and traversal of the transitive closure of whitelisted items with the new canonical method. | |||
2016-11-01 | Add a method for iterating over whitelisted items | Nick Fitzgerald | |
This commit adds the `BindgenContext::whitelisted_items` method and `WhitelistedItemsIter` iterator. Together, they can be used to iterate over whielisted items' transitive closure. | |||
2016-11-01 | Get rid of `String_`, use Into<String> for CXString. | Emilio Cobos Álvarez | |
2016-11-01 | Manual fixups, some of them pretty lame, and don't let rustfmt rewrap comments. | Emilio Cobos Álvarez | |
2016-11-01 | Run `cargo fmt`. | Emilio Cobos Álvarez | |
2016-11-01 | Let rustfmt find the codegen module. | Emilio Cobos Álvarez | |
2016-11-01 | Convert mod comment to a proper comment to avoid hitting ↵ | Emilio Cobos Álvarez | |
https://github.com/rust-lang-nursery/rustfmt/issues/1184 | |||
2016-11-01 | Refactor how doc_mod works so rustfmt finds those modules easily. | Emilio Cobos Álvarez | |
2016-11-01 | Don't auto-format generated files. | Emilio Cobos Álvarez | |
2016-11-01 | Fix #121: call unwrap() directly instead of calling except() | Aurélien Normand | |
2016-11-01 | Fix #121: Cursor::num_template_args(...) returns Option<u32> instead of c_int | Aurélien Normand | |
2016-11-01 | Auto merge of #175 - jeanphilippeD:issue136, r=fitzgen,emilio | bors-servo | |
clang::Type::template_args return Option<TypeTemplateArgIterator> Fix #136 by providing a bound checked iterator replacing the interface. | |||
2016-11-01 | Auto merge of #178 - Incognitas:master, r=fitzgen | bors-servo | |
Fix for #138 : rework for elem_type() which now returns Option<Type> instead of Type Fixes #138 Since I am new to Rust, I hope I didn't do things too badly | |||
2016-11-01 | Fix empty mangling handling on OSX | Emilio Cobos Álvarez | |
2016-10-31 | Auto merge of #177 - fitzgen:move-type-collector, r=emilio | bors-servo | |
Move the `TypeCollector` trait to the `ir` module This commit move the `TypeCollector` trait out from the `codegen` module and into its own submodule in `ir::type_collector`. Additionally, it puts the various `TypeCollector` trait implementations next to the types that each implementation is for. I'm going to start using this trait outside of codegen, and I think it makes more sense in `ir` since it is implemented by `ir` types and is all about `ir` things. r? @emilio | |||
2016-10-31 | Move the `TypeCollector` trait to the `ir` module | Nick Fitzgerald | |
This commit moves the `TypeCollector` trait out from the `codegen` module and into its own submodule in `ir::type_collector`. Additionally, it puts the various `TypeCollector` trait implementations next to the types that each implementation is for. | |||
2016-10-31 | rework for elem_type() which now returns Option<Type> instead of Type | Aurélien Normand | |
2016-10-31 | clang::Type::template_args return Option<TypeTemplateArgIterator> | Jean-Philippe DUFRAIGNE | |
2016-10-31 | Auto merge of #173 - emilio:errors, r=fitzgen | bors-servo | |
Be less noisy about known to be unimportant errors. r? @fitzgen | |||
2016-10-31 | Make the build deny(warnings). | Emilio Cobos Álvarez | |
2016-10-31 | Auto merge of #171 - jeanphilippeD:issue135, r=emilio | bors-servo | |
clang::Type::num_template_args return Option<u32> fix #135 Fix #135 | |||
2016-10-31 | Be less noisy about known to be unimportant errors. | Emilio Cobos Álvarez | |
2016-10-31 | Use iterators for comment attributes fix #166 | Jean-Philippe DUFRAIGNE | |
2016-10-31 | Use iterators for comment children partial fix #166 | Jean-Philippe DUFRAIGNE | |
2016-10-31 | clang::Type::num_template_args return Option<u32> fix #135 | Jean-Philippe DUFRAIGNE | |
2016-10-31 | Auto merge of #158 - ajnirp:143-comment-get-tag-attr, r=emilio | bors-servo | |
143 comment get tag attr Fixes #143 | |||
2016-10-30 | change return type of Comment::get_tag_attr_{name,value} to Option<String> | Rohan Prinja | |
2016-10-30 | Auto merge of #165 - jeanphilippeD:issue141, r=emilio | bors-servo | |
Return Option<Type> in clang::Type::ret_type fix #141 Fixes #141 | |||
2016-10-30 | Auto merge of #168 - KiChjang:diagnostic-drop, r=emilio | bors-servo | |
Implement Drop for Diagnostic I built it and ran the test, and they all pass. Not sure what else there is to test for. Fixes #145. | |||
2016-10-29 | Implement Drop for Diagnostic | Keith Yeung | |
2016-10-29 | Auto merge of #163 - catdesk:master, r=KiChjang | bors-servo | |
Change clang::Type::num_elements to return Option Fixes #139. | |||
2016-10-29 | Change clang::Type::num_elements to return Option | catdesk | |
2016-10-29 | Auto merge of #164 - catdesk:issue_142, r=KiChjang | bors-servo | |
Check bounds when calling Comment::get_child (fix #142) Fixes #142. | |||
2016-10-29 | Check bounds when calling Comment::get_child (fix #142) | catdesk | |
2016-10-29 | Return Option<Type> in clang::Type::ret_type fix #141 | Jean-Philippe DUFRAIGNE | |
Also reduce the scope for unsafe code | |||
2016-10-29 | ir: Document a bit better the local_id thing. | Emilio Cobos Álvarez | |
2016-10-29 | ir: Cache the item's canonical name. | Emilio Cobos Álvarez | |
2016-10-29 | ty: Don't bailout if we don't have any template type in the aliased template ↵ | Emilio Cobos Álvarez | |
parameter case. | |||
2016-10-29 | Pass the potential id to be used as the type wrapper id. | Emilio Cobos Álvarez | |
This should fix the MSVC problems. Signed-off-by: Emilio Cobos Álvarez <ecoal95@gmail.com> | |||
2016-10-29 | Auto merge of #157 - fitzgen:doc-regex-set-mod, r=emilio | bors-servo | |
Document the `regex_set` module r? @emilio | |||
2016-10-29 | Use safe_canonical_type for parse time | Xidorn Quan | |
This should fix #160. | |||
2016-10-27 | Document the `regex_set` module | Nick Fitzgerald | |