passing by const reference NOLINTNEXTLINE(readability-non-const-parameter) Deliberately non-const for testing
| 48 | void add8(const int &other) { value += other; } // passing by const reference |
| 49 | // NOLINTNEXTLINE(readability-non-const-parameter) Deliberately non-const for testing |
| 50 | void add9(int *other) { value += *other; } // passing by pointer |
| 51 | void add10(const int *other) { value += *other; } // passing by const pointer |
| 52 | |
| 53 | void consume_str(std::string &&) {} |
no outgoing calls
no test coverage detected