Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
rust
/
cxx
/
d60c07b7629a373396c4cb15c57c4903402cee27
/
syntax
/
parse.rs
d60c07b
Merge pull request 370 from adetaylor/allow-namespace-override
by David Tolnay
· 5 years ago
2cc2e3a
Include angle brackets in include-related errors
by David Tolnay
· 5 years ago
b0cd327
Track span information of include statements
by David Tolnay
· 5 years ago
c871343
Allow namespace override.
by Adrian Taylor
· 5 years ago
938ca85
Translate cxx_/rust_name from attribute to syntax tree
by David Tolnay
· 5 years ago
a4641c7
Store independent rust name and c++ name for extern functions
by David Tolnay
· 5 years ago
2c4b35f
Format in a way that rustfmt 1.x and 2.0.0-rc.2 both render the same
by David Tolnay
· 5 years ago
7e69f89
Explicitly requesting an instantiation
by David Tolnay
· 5 years ago
4cefa72
Consistently use ety for extern type variables
by David Tolnay
· 5 years ago
890083d
Preserve docs on aliases
by Bryan Henry
· 5 years ago
bdb576c
Parse unsafety on function signatures
by David Tolnay
· 5 years ago
805dca3
Propagate unsafety from module to extern block
by David Tolnay
· 5 years ago
00f236a
Keep track of whether extern type layout can be trusted
by David Tolnay
· 5 years ago
3a45173
Reject unsafe on an extern Rust block
by David Tolnay
· 5 years ago
c598a27
Represent the unsafety on foreign module
by David Tolnay
· 5 years ago
00a8385
Data structure for parsed contents of bridge module
by David Tolnay
· 5 years ago
c836102
Remove dependency of ui test on whether rust-src is installed
by David Tolnay
· 5 years ago
91e87fa
Parse include!(<path/to/bracketed>)
by David Tolnay
· 6 years ago
ddf69e2
Parse repr attribute on enums
by David Tolnay
· 6 years ago
0435a81
Recover from some enum parsing errors
by David Tolnay
· 6 years ago
e2e303f
Infer enum repr based on discriminant range
by David Tolnay
· 6 years ago
2b8bf6d
Preserve the original discriminant Expr
by David Tolnay
· 6 years ago
17e137f
Factor out a discriminant processing library
by David Tolnay
· 6 years ago
3e62888
Keep items that have attr parse errors
by David Tolnay
· 6 years ago
b129ea7
Organize how the caller determines which attrs to parse
by David Tolnay
· 6 years ago
e5a015a
Allow type alias as a method receiver
by David Tolnay
· 6 years ago
e2f9ec4
Type alias parsing
by David Tolnay
· 6 years ago
295ef6b
Adjust foreign item parsing to prepare for type aliases
by David Tolnay
· 6 years ago
4301f3c
Simplify discriminant overflow check
by David Tolnay
· 6 years ago
a3f6407
Expand discriminant overflow error message
by David Tolnay
· 6 years ago
7ae018f
Resolve redundant_field_names lint
by David Tolnay
· 6 years ago
8ef1bc8
Fix rustc 1.42.0.
by Joel Galenson
· 6 years ago
8854773
Compute enum discriminant during parsing
by Joel Galenson
· 6 years ago
5275978
Batch errors from the parser
by David Tolnay
· 6 years ago
d7984c2
Touch up PR 170
by David Tolnay
· 6 years ago
c03402a
Support C-style enums
by Joel Galenson
· 6 years ago
ba67607
Allow wildcard argument names.
by Joel Galenson
· 6 years ago
e1dcdf7
Parse vector's type as CxxVector
by David Tolnay
· 6 years ago
4377a9e
Rename Type::Vector to CxxVector
by David Tolnay
· 6 years ago
eba35cf
C++ std::vector<T> and Rust std::vec::Vec<T> support
by Myron Ahn
· 6 years ago
a1f29c4
Defer computing the Self type of methods
by David Tolnay
· 6 years ago
0b368ae
Defer error on restricted type names
by David Tolnay
· 6 years ago
bfad5f7
Preserve span on Receiver shorthand `self` token
by David Tolnay
· 6 years ago
62d360c
Preserve whether Receiver was shorthand for error reporting
by David Tolnay
· 6 years ago
0bd50fa
Preserve lifetimes on parsed references
by David Tolnay
· 6 years ago
1dd11a1
Touch up &self shorthand PR
by David Tolnay
· 6 years ago
e1e969d
Allow &self without a type when the block only has one type
by Joel Galenson
· 6 years ago
05e11cc
Preserve span of self var in Receiver
by David Tolnay
· 6 years ago
fb6e386
Clean up printing of Receiver to tokens
by David Tolnay
· 6 years ago
eebe9b7
Improve type checking and error messages for slice type
by David Tolnay
· 6 years ago
eb952ba
Format with rustfmt and clang-format
by David Tolnay
· 6 years ago
f5dd552
Adding &[u8] support.
by Adrian Taylor
· 6 years ago
e3a4815
Store finer grained tokens of Signature
by David Tolnay
· 6 years ago
09462ac
Disallow shared structs having 0 fields
by David Tolnay
· 6 years ago
c071b89
Parse function pointer types
by David Tolnay
· 6 years ago
d95b119
Preserve original tokens of Signature
by David Tolnay
· 6 years ago
b40b9db
Divide up big parse_type function
by David Tolnay
· 6 years ago
0b76aea
Allow extern abi to be specified as "C++"
by David Tolnay
· 6 years ago
1644873
Move extern fn signature fields to struct
by David Tolnay
· 6 years ago
6cde49f
Store language identifier inside ExternFn for diagnostics
by David Tolnay
· 6 years ago
59b7ede
Parse Result return type
by David Tolnay
· 6 years ago
64181b1
Ignore Void in return position
by David Tolnay
· 6 years ago
d0bb364
Remove Span wrapper type
by David Tolnay
· 6 years ago
fb134ed
Implement parsing () type
by David Tolnay
· 6 years ago
7db7369
Safe FFI between Rust and C++
by David Tolnay
· 6 years ago