llvm-project/clang/test/CoverageMapping/Inputs
Igor Kudrin d9e1a61d31 Reapply [Coverage] Fix an assertion failure if the definition of an unused 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-07 10:07:51 +00:00
..
code.h InstrProf: Rewrite most of coverage mapping generation in a simpler way 2015-02-18 21:24:51 +00:00
ends_a_scope InstrProf: Rewrite most of coverage mapping generation in a simpler way 2015-02-18 21:24:51 +00:00
ends_a_scope_only Reapply [Coverage] Fix an assertion failure if the definition of an unused function spans multiple files. 2016-06-07 10:07:51 +00:00
header1.h Add tests for coverage mapping generation. 2014-08-19 17:32:30 +00:00
macros.h [Lexer] Don't merge macro args from different macro files 2016-05-19 23:44:02 +00:00
md.def InstrProf: Rewrite most of coverage mapping generation in a simpler way 2015-02-18 21:24:51 +00:00
starts_a_scope InstrProf: Rewrite most of coverage mapping generation in a simpler way 2015-02-18 21:24:51 +00:00
starts_a_scope_only Reapply [Coverage] Fix an assertion failure if the definition of an unused function spans multiple files. 2016-06-07 10:07:51 +00:00