[PATCH] D53244: [Coverage] Fix PR39258: support coverage regions that start deeper than they end
Orivej Desh via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 15 00:12:50 PDT 2018
orivej added a comment.
Thanks! Could you merge this (after a while to let others review)?
================
Comment at: test/CoverageMapping/macros.c:60
+// CHECK-NEXT: func6
+void func6(unsigned count) { // CHECK-NEXT: File 0, [[@LINE]]:28 -> [[@LINE+4]]:2 = #0
----------------
vsk wrote:
> Please use CHECK-LABEL here.
`CHECK-LABEL` would accept unchecked output between the previous `CHECK-NEXT` and `func6`. It seems that the intention of this test is to check all lines of output, so I used `CHECK-NEXT` as in other tests in this file.
Repository:
rC Clang
https://reviews.llvm.org/D53244
More information about the cfe-commits
mailing list