1 | #pragma once |
---|---|
2 | |
3 | /// Flush coverage report to file, depending on coverage system |
4 | /// proposed by compiler (llvm for clang and gcov for gcc). |
5 | /// |
6 | /// Noop if build without coverage (WITH_COVERAGE=0). |
7 | /// Thread safe (use exclusive lock). |
8 | /// Idempotent, may be called multiple times. |
9 | void dumpCoverageReportIfPossible(); |
10 |