
11 Oct
2012
11 Oct
'12
7:31 p.m.
On Thu, Oct 11, 2012 at 12:42 PM, Marcin Zawadzki <zaba.marcin@gmail.com>wrote:
Hi, I'm using BOOST_FOREACH in my code. And because it's macro so the whole code behind the macro is inserted in place where it's used. So finally when generating code coverage using gcc/gcov for my file it says that I have not covered branches in line with BOOST_FOREACH. And the question is - is it possible to somehow exclude BOOST_FOREACH form coverage results?
If you find out (maybe by asking the gcov folks?), it might be worthwhile to submit a trac ticket and/or documentation patch to add this information to the BOOST_FOREACH documentation. - Jeff