summaryrefslogtreecommitdiff
path: root/clang/test/CoverageMapping/unused_function.cpp
AgeCommit message (Collapse)Author
2020-09-21[Coverage] Add empty line regions to SkippedRegionsZequan Wu
Differential Revision: https://reviews.llvm.org/D84988
2016-06-07Reapply [Coverage] Fix an assertion failure if the definition of an unused ↵Igor Kudrin
function spans multiple files. We have an assertion failure if, for example, the definition of an unused inline function starts in one macro and ends in another. This patch fixes the issue by finding the common ancestor of the start and end locations of that function's body and changing the locations accordingly. Thanks to NAKAMURA Takumi for helping with fixing the test failure on Windows. Differential Revision: http://reviews.llvm.org/D20997 llvm-svn: 271995
2016-06-07Revert [Coverage] Fix an assertion failure if the definition of an unused ↵Igor Kudrin
function spans multiple files. r271969 The test case fails on Windows. llvm-svn: 271976
2016-06-07[Coverage] Fix an assertion failure if the definition of an unused function ↵Igor Kudrin
spans multiple files. We have an assertion failure if, for example, the definition of an unused inline function starts in one macro and ends in another. This patch fixes the issue by finding the common ancestor of the start and end locations of that function's body and changing the locations accordingly. Differential Revision: http://reviews.llvm.org/D20997 llvm-svn: 271969