[clang] [llvm] [coverage] skipping code coverage for 'if constexpr' and 'if consteval' [WIP] (PR #78033)

Hana Dusíková via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 13 15:59:24 PST 2024


hanickadot wrote:

I was able to get rid of empty regions in front of `if constexpr` by checking if the region contains only whitespace characters in llvm-cov (not happy about it) so if someone know better. Please do help me.

![coverage-before copy](https://github.com/llvm/llvm-project/assets/6557263/fa36f22b-5a0f-4252-8b63-4ccb6275e80f)


https://github.com/llvm/llvm-project/pull/78033


More information about the cfe-commits mailing list