llvm-project/llvm/test/FileCheck
Thomas Preud'homme 998709b7d5 [FileCheck] Add precision to format specifier
Add printf-style precision specifier to pad numbers to a given number of
digits when matching them if the value is smaller than the given
precision. This works on both empty numeric expression (e.g. variable
definition from input) and when matching a numeric expression. The
syntax is as follows:

[[#%.<precision><format specifier>, ...]

where <format specifier> is optional and ... can be a variable
definition or not with an empty expression or not. In the absence of a
precision specifier, a variable definition will accept leading zeros.

Reviewed By: jhenderson, grimar

Differential Revision: https://reviews.llvm.org/D81667
2020-08-30 19:40:57 +01:00
..
comment Change filecheck default to dump input on failure 2020-06-09 18:57:46 +00:00
bad-char.txt [FileCheck] Fix isalpha/isalnum calls 2020-05-14 20:24:09 -04:00
check-a-b-has-b.txt
check-b-a-has-b.txt
check-count.txt
check-dag-multi-prefix-2.txt
check-dag-multi-prefix.txt
check-dag-not-dag.txt
check-dag-overlap-torture.txt
check-dag-overlap.txt
check-dag-substring-prefix.txt
check-dag-xfails.txt
check-dag.txt
check-empty-tag.txt
check-empty.txt
check-empty2.txt
check-ignore-case.txt
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
dos-style-eol.txt
dump-input-annotations.txt [FileCheck] Report captured variables 2020-07-28 19:15:18 -04:00
dump-input-context.txt [FileCheck] In input dump, elide only if ellipsis is shorter 2020-07-10 11:02:11 -04:00
dump-input-enable.txt [FileCheck] Implement -dump-input-context 2020-07-10 11:02:10 -04:00
dump-input-filter.txt [FileCheck] Implement -dump-input-filter 2020-07-10 11:02:11 -04:00
empty-regex-match-at-start.txt
envvar-opts.txt Change filecheck default to dump input on failure 2020-06-09 18:57:46 +00:00
first-character-match.txt [FileCheck] Support comment directives 2020-05-13 11:29:48 -04:00
implicit-check-not.txt [FileCheck] - Fix the false positive when -implicit-check-not is used with an unknown -check-prefix. 2020-04-16 15:00:50 +03:00
line-count-2.txt
line-count.txt FileCheck [11/12]: Add matching constraint specification 2020-06-10 15:56:10 +01:00
lit.local.cfg Change filecheck default to dump input on failure 2020-06-09 18:57:46 +00:00
match-full-lines.txt Change filecheck default to dump input on failure 2020-06-09 18:57:46 +00:00
multiple-check-not-failures.txt Test all CHECK-NOT in a block even if one fails 2020-08-24 15:45:05 +01:00
multiple-missing-prefixes.txt
next-no-match.txt
no-check-file.txt
no-multi-suffixes.txt
numeric-defines-diagnostics.txt [FileCheck] Add missing %ProtectFileCheckOutput to FileCheck tests 2020-03-31 17:29:11 -04:00
numeric-defines.txt
numeric-expression.txt [FileCheck] Add precision to format specifier 2020-08-30 19:40:57 +01:00
opt-color.txt
regex-brackets.txt
regex-no-match.txt
same.txt
separate-multi-prefix.txt
simple-var-capture.txt
string-defines-diagnostics.txt
string-defines.txt
two-checks-for-same-match.txt
validate-check-prefix.txt [FileCheck] Support comment directives 2020-05-13 11:29:48 -04:00
var-ref-same-line.txt
var-scope.txt Revert "[llvm][test] Add COM: directives before colon-less non-CHECKs in comments. NFC" 2020-05-22 05:36:15 -06:00
verbose.txt [FileCheck] Report captured variables 2020-07-28 19:15:18 -04:00