C/C++ files - shouldn't count lines with //
Brought to you by:
mteel
If a line contains // preceded by whitespace, the tool counts the line as a line of code. But this is the start of a single-line C++ comment, so it shouldn't count as a line of code, at least not for C++ files (.cpp, .cc, .hpp, .hh). For C files (.c, .h), this type of comment isn't allowed, so it could go either way, but I would suggest excluding this lines in this case too.