bazel /
crubit /
b41041dc0b0e6cfe847af6ef2d1832fd6c8b90b5 s/isDefaulted/!isUserProvided/. They aren't the same thing, but I thought it'd work out if we were looking at the declaration rather than the definition -- since they *are* the same thing when you're looking at the *first declaration*.
Unfortunately, for the case of destructors in particular, `getDestructor()` gets the definition, not the first declaration the way we do for the constructors.
Fortunately, there's a method for that.
And now, tests.
PiperOrigin-RevId: 405941563
2 files changed
tree: 0fd87ef04945472302478f8ef5c1c43157047438
- rs_bindings_from_cc/
- CODE_OF_CONDUCT
- CONTRIBUTING
- LICENSE
- README.md
README.md
Crubit: C++/Rust Bidirectional Interop Tool
Extremely experimental interop tooling for C++ and Rust.
Please don‘t use, this is an experiment and we don’t yet know where will it take us. There will be breaking changes without warning. Unfortunately, we can't take contributions at this point.