summaryrefslogtreecommitdiffstats
path: root/clang/test/CoverageMapping/system_macro.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Coverage] Do not write out coverage mappings with zero entriesVedant Kumar2016-07-261-0/+26
After r275121, we stopped mapping regions from system headers. Lambdas declared in regions belonging to system headers started producing empty coverage mappings, since the files corresponding to their spelling locs were being ignored. The coverage reader doesn't know what to do with these empty mappings. This commit makes sure that we don't produce them and adds a test. I'll make the reader stricter in a follow-up commit. llvm-svn: 276716
OpenPOWER on IntegriCloud