due to null or the rest of the line being a comment (//)
| 37 | namespace { |
| 38 | // due to null or the rest of the line being a comment (//) |
| 39 | bool isTerminated( const char *c ) |
| 40 | { |
| 41 | if( *c == '\0' ) |
| 42 | return true; |
| 43 | const char *next = c + 1; |
| 44 | if( *c == '/' && *next && *next == '/' ) |
| 45 | return true; |
| 46 | return false; |
| 47 | } |
| 48 | |
| 49 | bool isWhiteSpace( const char *c ) |
| 50 | { |
no outgoing calls
no test coverage detected