Factor field handling out of AstVisitor::VisitRecordDecl().

This function is getting pretty long, so it seems to make sense to split it up.

I made this change as I was contemplating handling empty structs here, but then
I figured the code generator would be the better place to do this. However, the
change seemed worth keeping.

PiperOrigin-RevId: 404207882
2 files changed
tree: 0571d317fad6fa58512826492fa27faa086566a1
  1. rs_bindings_from_cc/
  2. CODE_OF_CONDUCT
  3. CONTRIBUTING
  4. LICENSE
  5. 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.