Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2016-10-27 | Document the `parse` module | Nick Fitzgerald | |
2016-10-27 | Document the `ir` module | Nick Fitzgerald | |
2016-10-27 | Auto merge of #153 - igilham:master, r=emilio | bors-servo | |
Changed the potentially null pointer to an Optional. The caller previously assumed the pointer was always valid and not null, so I called `expect` to make it fail early if it isn't. Fixes #144. | |||
2016-10-27 | Changed `clang::TranslationUnit::parse` to return an Option | Ian Gilham | |
2016-10-27 | return Result<u32, ()> instead of Option<u32> | malfunc | |
2016-10-27 | - changed output of fn num_args to option<u32> | malfunc | |
- changed fn args to handle option<u32> instead of usize | |||
2016-10-26 | Auto merge of #146 - fitzgen:moar-docs, r=fitzgen | bors-servo | |
Document the `clang` module I found an OK way to require docs on public methods for internal modules with a macro and feature flag combo (see first commit). Then I made documentation for public methods in the `clang` module required, and filled them out (see the second commit). r? @emilio | |||
2016-10-26 | Document the `clang` module | Nick Fitzgerald | |
2016-10-26 | s/type_resolver/ctx/ in src/ir/comp.rs as requested. | Daniel Desancic | |
2016-10-25 | Handle octal and negative literals properly | Xidorn Quan | |
2016-10-25 | Try to read integer literal from expr | Xidorn Quan | |
This and the commit before fixes #101. | |||
2016-10-25 | Use canonical type for checking integer type | Xidorn Quan | |
2016-10-24 | Add a method for requiring docs on internal modules | Nick Fitzgerald | |
2016-10-24 | Add TODO for not ignoring LinkType | Nick Fitzgerald | |
2016-10-24 | Add `#![deny(missing_docs)]` | Nick Fitzgerald | |
This commit adds the `#![deny(missing_docs)]` pragma, which causes compilation to fail if a public type or function is missing a documentation comment. It also adds missing documentation comments for public types and functions that were missing them. | |||
2016-10-24 | Remove the unused override_enum_ty option | Nick Fitzgerald | |
2016-10-24 | Remove the unused class_constants option | Nick Fitzgerald | |