David Tolnay
|
a00f468cfa
|
Factor out visibility conversion helper
|
2020-12-30 18:11:16 -08:00 |
|
David Tolnay
|
49f9df7923
|
Fix span placement on extern functions
|
2020-12-30 18:07:30 -08:00 |
|
David Tolnay
|
291c9350d6
|
Fix span placement on type aliases
|
2020-12-30 17:57:14 -08:00 |
|
David Tolnay
|
524ff68081
|
Fix span placement on extern C++ type
|
2020-12-30 17:29:12 -08:00 |
|
David Tolnay
|
e563fd951f
|
Fix span placement on enum variants
|
2020-12-30 17:21:52 -08:00 |
|
David Tolnay
|
8fbaea8dbb
|
Fix span placement on shared enums
|
2020-12-30 17:21:28 -08:00 |
|
David Tolnay
|
41e147c5cf
|
Process outer attributes on the bridge module
|
2020-12-30 17:06:45 -08:00 |
|
David Tolnay
|
dc182794ec
|
Handle tool attrs inside the bridge module
|
2020-12-30 17:01:34 -08:00 |
|
David Tolnay
|
511c6fdb55
|
Pass through two other diagnostics attributes as well
|
2020-12-30 16:58:54 -08:00 |
|
David Tolnay
|
6cbfa7cf8c
|
Merge pull request #620 from dtolnay/allow
Propagate rust lint control attributes into macro output
|
2020-12-30 16:56:19 -08:00 |
|
David Tolnay
|
f08e94d2d6
|
Update attrs::Parser intended usage comment
|
2020-12-30 16:50:06 -08:00 |
|
David Tolnay
|
2b0b6587e5
|
Emit passthrough attrs into macro output
|
2020-12-30 16:50:05 -08:00 |
|
David Tolnay
|
cba3d44638
|
Add wrapper type for tokenizing passthrough attrs
|
2020-12-30 16:50:05 -08:00 |
|
David Tolnay
|
067638ea15
|
Store passthrough attributes for diagnostic lint levels
|
2020-12-30 16:50:05 -08:00 |
|
David Tolnay
|
20d980be78
|
Skip over rust diagnostic attributes
|
2020-12-30 16:44:05 -08:00 |
|
David Tolnay
|
d5ee99c8bd
|
Add test of allow attribute inside bridge
|
2020-12-30 16:14:52 -08:00 |
|
David Tolnay
|
15a1fc110e
|
Consume attributes in attr parser
|
2020-12-30 16:13:59 -08:00 |
|
David Tolnay
|
a4615f1b5e
|
Merge pull request #619 from dtolnay/fielddoc
Preserve doc attributes on struct fields
|
2020-12-30 15:55:04 -08:00 |
|
David Tolnay
|
b4a05c3621
|
Preserve doc attributes on struct fields
|
2020-12-30 15:46:47 -08:00 |
|
David Tolnay
|
0bdabfdc98
|
Merge pull request #618 from dtolnay/span
Fix span placement on shared structs
|
2020-12-30 15:46:35 -08:00 |
|
David Tolnay
|
64343af04d
|
Fix span placement on shared structs
|
2020-12-30 15:34:09 -08:00 |
|
David Tolnay
|
89902443e8
|
Preserve visibility token's span on struct field
|
2020-12-30 15:17:58 -08:00 |
|
David Tolnay
|
232a0e3630
|
Exclude enum's repr field from missing_docs
This is a synthetic field that isn't visible in the FFI module's source
code.
|
2020-12-30 15:06:41 -08:00 |
|
David Tolnay
|
cc5b02e4eb
|
Merge pull request #617 from dtolnay/missing_docs
Add ui test of missing_docs lints inside bridge
|
2020-12-30 00:29:44 -08:00 |
|
David Tolnay
|
593e04518d
|
Add ui test of missing_docs lints inside bridge
|
2020-12-30 00:18:49 -08:00 |
|
David Tolnay
|
f90cc999de
|
Merge pull request #616 from dtolnay/doc
Preserve doc comments on enum variants
|
2020-12-30 00:08:35 -08:00 |
|
David Tolnay
|
4486f7261e
|
Preserve doc comments on enum variants
|
2020-12-30 00:01:26 -08:00 |
|
David Tolnay
|
d61437042d
|
Ignore visibility on extern type alias like on other items
|
2020-12-29 23:48:09 -08:00 |
|
David Tolnay
|
cddf386b99
|
Merge pull request #615 from dtolnay/vis
Add C++ symbol visibility annotations for Rust functions and impls
|
2020-12-29 16:54:58 -08:00 |
|
David Tolnay
|
b478fcbf0f
|
Add C++ symbol visibility annotations for Rust functions and impls
|
2020-12-29 16:48:02 -08:00 |
|
David Tolnay
|
1eadd2639a
|
Extract function for writing cxx_impl_annotations
|
2020-12-29 16:42:08 -08:00 |
|
David Tolnay
|
a5b8c38dc4
|
Release 1.0.24
|
2020-12-29 16:04:24 -08:00 |
|
David Tolnay
|
b8d51afde9
|
Merge pull request #614 from dtolnay/hpp
Recognize .hh and .hpp as header extensions in cxxbridge-cmd
|
2020-12-29 16:01:52 -08:00 |
|
David Tolnay
|
8317c28fc8
|
Format with rustfmt 1.4.30-nightly
|
2020-12-29 15:53:01 -08:00 |
|
David Tolnay
|
6064592053
|
Recognize .hh and .hpp as header extensions in cxxbridge-cmd
|
2020-12-29 15:53:01 -08:00 |
|
David Tolnay
|
cff6f30d38
|
Inform clippy of supported compiler version in clippy.toml
|
2020-12-29 15:49:31 -08:00 |
|
David Tolnay
|
b4c14554aa
|
Avoid triggering used_underscore_binding on unnamed extern fn args
|
2020-12-29 15:44:19 -08:00 |
|
David Tolnay
|
d717e8a1a0
|
Suppress cast_possible_truncation lint in generated Hash shim
|
2020-12-29 15:40:27 -08:00 |
|
David Tolnay
|
9e3df911c5
|
Resolve redundant_closure_for_method_calls pedantic clippy lint
|
2020-12-29 15:33:28 -08:00 |
|
David Tolnay
|
6208af9ab5
|
Resolve map_flatten pedantic clippy lint
|
2020-12-29 15:30:56 -08:00 |
|
David Tolnay
|
05aa672b1e
|
Suppress all currently triggered clippy pedantic lints
|
2020-12-29 15:28:02 -08:00 |
|
David Tolnay
|
831b02fc6b
|
Resolve clippy map_unwrap_or lint in demo
|
2020-12-29 15:19:55 -08:00 |
|
David Tolnay
|
515cef8044
|
Format PR 613 with rustfmt 1.4.30-nightly
|
2020-12-29 15:19:55 -08:00 |
|
David Tolnay
|
c9c473644c
|
Merge pull request #613 from permosegaard/permosegaard-additional-header-extensions
add support for .hh and .hpp headers
|
2020-12-29 15:01:01 -08:00 |
|
Per Mosegaard
|
ce088848c5
|
add support for .hh and .hpp headers
|
2020-12-29 21:10:14 +00:00 |
|
David Tolnay
|
855bff92ec
|
Merge pull request #611 from dtolnay/lifetime
Emit lifetimes on extern type into Rust macro output
|
2020-12-28 22:56:49 -08:00 |
|
David Tolnay
|
8c80de77c6
|
Emit lifetimes on extern type into Rust macro output
|
2020-12-28 22:41:59 -08:00 |
|
David Tolnay
|
ee3123241f
|
Store additional token information with extern type lifetimes
|
2020-12-28 22:12:28 -08:00 |
|
David Tolnay
|
0c8cb95a3c
|
Merge pull request #610 from dtolnay/lifetime
Parse lifetimes on foreign module types
|
2020-12-28 21:34:05 -08:00 |
|
David Tolnay
|
446756f4c9
|
Indicate that extern type with lifetimes is not implemented yet
|
2020-12-28 21:04:12 -08:00 |
|