[PATCH] Add tests for coverage mapping

Justin Bogner mail at justinbogner.com
Mon Aug 11 22:21:55 PDT 2014


On Monday, August 11, 2014, Alex Lorenz <arphaman at gmail.com> wrote:

> The updated patch removes the test for class.cpp and derivedclass.cpp
> which will go into a separate patch because they require another patch in
> order to pass on windows.
> The other tests were modified according to Justin's suggestions.


Where you use multiple check prefixes please give them more specific names
than CHECK1 and CHECK2. Names like CHECK-FUNC AND CHECK-STATIC-FUNC would
be good choices.

With those changes, please go ahead and commit. I don't need to see the
updated version first.


> http://reviews.llvm.org/D4847
>
> Files:
>   test/CoverageMapping/Inputs/code.h
>   test/CoverageMapping/Inputs/header1.h
>   test/CoverageMapping/break.c
>   test/CoverageMapping/builtinmacro.c
>   test/CoverageMapping/casts.c
>   test/CoverageMapping/classtemplate.cpp
>   test/CoverageMapping/continue.c
>   test/CoverageMapping/header.cpp
>   test/CoverageMapping/if.c
>   test/CoverageMapping/includehell.cpp
>   test/CoverageMapping/ir.c
>   test/CoverageMapping/label.cpp
>   test/CoverageMapping/logical.cpp
>   test/CoverageMapping/loopmacro.c
>   test/CoverageMapping/loops.cpp
>   test/CoverageMapping/macroception.c
>   test/CoverageMapping/macroparams.c
>   test/CoverageMapping/macroparams2.c
>   test/CoverageMapping/macros.c
>   test/CoverageMapping/nestedclass.cpp
>   test/CoverageMapping/preprocessor.c
>   test/CoverageMapping/return.c
>   test/CoverageMapping/switch.c
>   test/CoverageMapping/templates.cpp
>   test/CoverageMapping/test.c
>   test/CoverageMapping/trycatch.cpp
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140811/71dc3905/attachment.html>


More information about the llvm-commits mailing list