aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorJustin Cady <desk@justincady.com>2025-05-19 15:49:26 -0400
committerGitHub <noreply@github.com>2025-05-19 15:49:26 -0400
commit025639bc396f1e0d2ead279c5f345cb381733f16 (patch)
tree68fe437b9458282d1da75e605623d2394f9aa09b /clang/lib/Serialization/ModuleManager.cpp
parent36018494fdb9e92e0f61f6937e5ecd3a4472677f (diff)
downloadllvm-025639bc396f1e0d2ead279c5f345cb381733f16.zip
llvm-025639bc396f1e0d2ead279c5f345cb381733f16.tar.gz
llvm-025639bc396f1e0d2ead279c5f345cb381733f16.tar.bz2
[Coverage] Fix mapping for do-while loops with terminating statements (#139777)
The current region mapping for do-while loops that contain statements such as break or continue results in inaccurate line coverage reports for the line following the loop. This change handles terminating statements the same way that other loop constructs do, correcting the region mapping for accurate reports. It also fixes a fragile test relying on exact line numbers. Fixes #139122
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions