llvm-project/clang/test/CoverageMapping
Justin Bogner 203f09223b InstrProf: Fix a misuse of the FunctionDecl API when generating coverage
This was calling FD->hasBody(), meaning "Does the function that this
decl refers to have a body?", rather than
FD->doesThisDeclarationHaveABody(), meaning "Is this decl a
non-deleted definition?".

We might want to consider renaming these APIs :/

llvm-svn: 243360
2015-07-28 00:41:51 +00:00
..
Inputs InstrProf: Rewrite most of coverage mapping generation in a simpler way 2015-02-18 21:24:51 +00:00
block-storage-starts-region.m InstrProf: Don't start or end coverage regions inside of system macros 2015-05-05 21:46:14 +00:00
break.c InstrProf: Always emit a coverage region for the condition of an if 2015-02-19 03:10:30 +00:00
builtinmacro.c InstrProf: Remove CoverageMapping::HasCodeBefore, it isn't used 2015-02-03 21:35:49 +00:00
casts.c InstrProf: Remove CoverageMapping::HasCodeBefore, it isn't used 2015-02-03 21:35:49 +00:00
classtemplate.cpp InstrProf: Remove CoverageMapping::HasCodeBefore, it isn't used 2015-02-03 21:35:49 +00:00
comment-in-macro.c InstrProf: Handle whitespace and comments at the ends of macros 2015-03-25 04:13:49 +00:00
continue.c InstrProf: Always emit a coverage region for the condition of an if 2015-02-19 03:10:30 +00:00
control-flow-macro.c InstrProf: Fix coverage mapping when "if" is a macro 2015-06-16 06:24:15 +00:00
decl.c InstrProf: Fix a misuse of the FunctionDecl API when generating coverage 2015-07-28 00:41:51 +00:00
header.cpp InstrProf: Rewrite most of coverage mapping generation in a simpler way 2015-02-18 21:24:51 +00:00
if.c InstrProf: Always emit a coverage region for the condition of an if 2015-02-19 03:10:30 +00:00
implicit-def-in-macro.m InstrProf: Fix a crash when an implicit def appears in a macro 2015-06-23 20:29:09 +00:00
includehell.cpp InstrProf: Always emit a coverage region for the condition of an if 2015-02-19 03:10:30 +00:00
ir.c InstrProf: Pack the coverage mapping structs that we write out 2015-07-02 00:42:32 +00:00
label.cpp InstrProf: Always emit a coverage region for the condition of an if 2015-02-19 03:10:30 +00:00
lambda.cpp InstrProf: Make sure counts in lambdas don't escape to the parent scope 2015-02-24 04:13:56 +00:00
logical.cpp InstrProf: Remove CoverageMapping::HasCodeBefore, it isn't used 2015-02-03 21:35:49 +00:00
loopmacro.c InstrProf: Rewrite most of coverage mapping generation in a simpler way 2015-02-18 21:24:51 +00:00
loops.cpp InstrProf: Make sure coverage propagates out of foreach loops correctly 2015-04-30 21:31:02 +00:00
macro-expansion.c InstrProf: Always emit a coverage region for the condition of an if 2015-02-19 03:10:30 +00:00
macro-expressions.cpp InstrProf: Fix coverage maps for conditional operators 2015-04-24 23:37:57 +00:00
macroception.c InstrProf: Rewrite most of coverage mapping generation in a simpler way 2015-02-18 21:24:51 +00:00
macroparams.c InstrProf: Rewrite most of coverage mapping generation in a simpler way 2015-02-18 21:24:51 +00:00
macroparams2.c InstrProf: Rewrite most of coverage mapping generation in a simpler way 2015-02-18 21:24:51 +00:00
macros.c InstrProf: Rewrite most of coverage mapping generation in a simpler way 2015-02-18 21:24:51 +00:00
macroscopes.cpp InstrProf: Always emit a coverage region for the condition of an if 2015-02-19 03:10:30 +00:00
md.cpp InstrProf: Rewrite most of coverage mapping generation in a simpler way 2015-02-18 21:24:51 +00:00
moremacros.c InstrProf: Always emit a coverage region for the condition of an if 2015-02-19 03:10:30 +00:00
nestedclass.cpp InstrProf: Remove CoverageMapping::HasCodeBefore, it isn't used 2015-02-03 21:35:49 +00:00
objc.m InstrProf: Always emit a coverage region for the condition of an if 2015-02-19 03:10:30 +00:00
preprocessor.c InstrProf: Always emit a coverage region for the condition of an if 2015-02-19 03:10:30 +00:00
return.c InstrProf: Always emit a coverage region for the condition of an if 2015-02-19 03:10:30 +00:00
switch.c InstrProf: Rewrite most of coverage mapping generation in a simpler way 2015-02-18 21:24:51 +00:00
switchmacro.c InstrProf: Always emit a coverage region for the condition of an if 2015-02-19 03:10:30 +00:00
system_macro.c InstrProf: Only disable coverage in built-in macros, not all system macros 2015-05-14 22:14:10 +00:00
templates.cpp Add tests for coverage mapping generation. 2014-08-19 17:32:30 +00:00
test.c InstrProf: Always emit a coverage region for the condition of an if 2015-02-19 03:10:30 +00:00
trycatch.cpp InstrProf: Mark code regions after throw expressions as unreachable 2015-04-28 06:31:55 +00:00
trymacro.cpp InstrProf: Fix a typo in the test for r243066 2015-07-23 23:34:26 +00:00
unreachable-macro.c InstrProf: Fix a coverage crash where a macro begins in an unreachable block 2015-05-01 19:23:34 +00:00
unused_names.c InstrProf: Fix a shadowing error that would break length of profile names 2015-04-23 00:31:16 +00:00
while.c InstrProf: Rewrite most of coverage mapping generation in a simpler way 2015-02-18 21:24:51 +00:00