llvm-project/llvm/test/FileCheck
Joel E. Denny bcf5b441d8 [FileCheck] Don't permit overlapping CHECK-DAG
That is, make CHECK-DAG skip matches that overlap the matches of any
preceding consecutive CHECK-DAG directives.  This change makes
CHECK-DAG more consistent with other directives, and there is evidence
it makes CHECK-DAG more intuitive and less error-prone.  See the RFC
discussion starting at:

  http://lists.llvm.org/pipermail/llvm-dev/2018-May/123010.html

Moreover, this behavior enables CHECK-DAG groups for unordered,
non-unique strings or patterns.  For example, it is useful for
verifying output or logs from a parallel program, such as the OpenMP
runtime.

This patch also implements the command-line option
-allow-deprecated-dag-overlap, which reverts CHECK-DAG to the old
overlapping behavior.  This option should not be used in new tests.
It is meant only for the existing tests that are broken by this change
and that need time to update.

See the following bugzilla issue for tracking of such tests:

  https://bugs.llvm.org/show_bug.cgi?id=37532

Patches to add -allow-deprecated-dag-overlap to those tests will
follow immediately.

Reviewed By: probinson

Differential Revision: https://reviews.llvm.org/D47106

llvm-svn: 336847
2018-07-11 20:27:27 +00:00
..
check-a-b-has-b.txt
check-b-a-has-b.txt
check-dag-multi-prefix-2.txt
check-dag-multi-prefix.txt
check-dag-overlap-torture.txt [FileCheck] Don't permit overlapping CHECK-DAG 2018-07-11 20:27:27 +00:00
check-dag-overlap.txt [FileCheck] Don't permit overlapping CHECK-DAG 2018-07-11 20:27:27 +00:00
check-dag-substring-prefix.txt
check-dag-xfails.txt
check-dag.txt
check-empty-tag.txt [FileCheck] Add CHECK-EMPTY directive for checking for blank lines 2018-06-26 15:15:45 +00:00
check-empty.txt
check-empty2.txt [FileCheck] - Fix possible buffer out of bounds access when parsing --check-prefix. 2018-01-16 08:09:24 +00:00
check-label-dag-capture.txt
check-label-dag.txt
check-label.txt
check-multi-prefix-label.txt
check-multiple-prefixes-mixed.txt
check-multiple-prefixes-nomatch-2.txt
check-multiple-prefixes-nomatch.txt
check-multiple-prefixes-substr.txt
check-not-diaginfo.txt
check-prefixes.txt
check-substring-multi-prefix-2.txt
check-substring-multi-prefix.txt
defines.txt Add a -D flag to FileCheck to define variables 2017-11-07 13:24:44 +00:00
dos-style-eol.txt
first-character-match.txt
implicit-check-not.txt
line-count-2.txt
line-count.txt
match-full-lines.txt
multiple-missing-prefixes.txt
next-no-match.txt
no-multi-suffixes.txt
regex-brackets.txt
regex-no-match.txt
regex-scope.txt
same.txt
separate-multi-prefix.txt
simple-var-capture.txt
two-checks-for-same-match.txt
validate-check-prefix.txt
var-ref-same-line.txt