Make IR::get_items_if() a const method.

This is used in tests, so it shouldn't be able to manipulate the IR, and the
items it returns shouldn't need to be manipulated either. And making this method
const allows us to pass `IR` around to other test helpers by const reference.

PiperOrigin-RevId: 413379409
2 files changed
tree: f66e2b66b3d0180584014833f9960b7f9b683d40
  1. lifetime_annotations/
  2. rs_bindings_from_cc/
  3. CODE_OF_CONDUCT
  4. CONTRIBUTING
  5. LICENSE
  6. 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.