]> granicus.if.org Git - clang/commit
Add tests for coverage mapping generation.
authorAlex Lorenz <arphaman@gmail.com>
Tue, 19 Aug 2014 17:32:30 +0000 (17:32 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Tue, 19 Aug 2014 17:32:30 +0000 (17:32 +0000)
commit4905e06d92129bb4e20998ee5765ab04158632cb
treeb7a02f070d19348abd6cfdfc6d3558296ddd660f
parent6ae70574dec52358121f9d69983abd9673d20c2e
Add tests for coverage mapping generation.

This patch adds the tests for the coverage mapping generation.
Most of the tests check the mapping regions produced by
the generator, and one checks the llvm IR.

Differential Revision: http://reviews.llvm.org/D4847

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@215995 91177308-0d34-0410-b5e6-96231b3b80d8
26 files changed:
test/CoverageMapping/Inputs/code.h [new file with mode: 0644]
test/CoverageMapping/Inputs/header1.h [new file with mode: 0644]
test/CoverageMapping/break.c [new file with mode: 0644]
test/CoverageMapping/builtinmacro.c [new file with mode: 0644]
test/CoverageMapping/casts.c [new file with mode: 0644]
test/CoverageMapping/classtemplate.cpp [new file with mode: 0644]
test/CoverageMapping/continue.c [new file with mode: 0644]
test/CoverageMapping/header.cpp [new file with mode: 0644]
test/CoverageMapping/if.c [new file with mode: 0644]
test/CoverageMapping/includehell.cpp [new file with mode: 0644]
test/CoverageMapping/ir.c [new file with mode: 0644]
test/CoverageMapping/label.cpp [new file with mode: 0644]
test/CoverageMapping/logical.cpp [new file with mode: 0644]
test/CoverageMapping/loopmacro.c [new file with mode: 0644]
test/CoverageMapping/loops.cpp [new file with mode: 0644]
test/CoverageMapping/macroception.c [new file with mode: 0644]
test/CoverageMapping/macroparams.c [new file with mode: 0644]
test/CoverageMapping/macroparams2.c [new file with mode: 0644]
test/CoverageMapping/macros.c [new file with mode: 0644]
test/CoverageMapping/nestedclass.cpp [new file with mode: 0644]
test/CoverageMapping/preprocessor.c [new file with mode: 0644]
test/CoverageMapping/return.c [new file with mode: 0644]
test/CoverageMapping/switch.c [new file with mode: 0644]
test/CoverageMapping/templates.cpp [new file with mode: 0644]
test/CoverageMapping/test.c [new file with mode: 0644]
test/CoverageMapping/trycatch.cpp [new file with mode: 0644]