We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff78cf3 commit 407cf3dCopy full SHA for 407cf3d
src/GcovGenerator.cpp
@@ -51,7 +51,7 @@ void GcovGenerator::collate(const Entity& node) {
51
/* omit the first line (containing the function signature) and the last
52
* line (containing the closing brace); this misses functions defined on a
53
* single line, assumed to be rare */
54
- for (int line = node.start_line + 1; line < node.end_line; ++line) {
+ for (int line = node.middle_line + 1; line < node.end_line; ++line) {
55
lines.insert(line);
56
}
57
0 commit comments