passing by value
| 51 | |
| 52 | void add6(int other) { value += other; } // passing by value |
| 53 | void add7(int &other) { value += other; } // passing by reference |
| 54 | void add8(const int &other) { value += other; } // passing by const reference |
| 55 | // NOLINTNEXTLINE(readability-non-const-parameter) Deliberately non-const for testing |
| 56 | void add9(int *other) { value += *other; } // passing by pointer |
no outgoing calls
no test coverage detected