| 129 | } |
| 130 | |
| 131 | void TestHelpers::check_cpp_token(const std::shared_ptr<UserToken> & in) { |
| 132 | // Throws bad_cast if type is wrong |
| 133 | (void)dynamic_cast<CppToken &>(*in); |
| 134 | } |
| 135 | |
| 136 | int64_t TestHelpers::cpp_token_id(const std::shared_ptr<UserToken> & in) { |
| 137 | return reinterpret_cast<int64_t>(in.get()); |
nothing calls this directly
no outgoing calls
no test coverage detected