aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/CommandGuide/FileCheck.rst
AgeCommit message (Collapse)AuthorFilesLines
2014-07-21Fix Sphinx warnings.Dan Liew1-1/+1
llvm-svn: 213559
2014-07-11Add FileCheck -implicit-check-not option to allow stricter tests without ↵Alexander Kornienko1-0/+11
adding too many CHECK-NOTs manually. Summary: Add FileCheck -implicit-check-not option which allows specifying a pattern that should only occur in the input when explicitly matched by a positive check. This feature allows checking tool diagnostics in a way clang -verify does it for compiler diagnostics. The option has been tested on a number of clang-tidy checks, I'll post a link to the clang-tidy patch to this thread. Once there's an agreement on the general direction, I can add tests and documentation. Reviewers: djasper, bkramer Reviewed By: bkramer Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D4462 llvm-svn: 212810
2013-11-10Allow multiple check prefixes in FileCheck.Matt Arsenault1-5/+7
This is useful if you want to run multiple variations of a single test, and the majority of check lines should be the same. llvm-svn: 194343
2013-10-11Add warning about CHECK-DAG with variable definitionRenato Golin1-9/+37
llvm-svn: 192479
2013-07-30Fix underscore to be the proper length.Bill Wendling1-1/+1
llvm-svn: 187406
2013-07-18Fix FileCheck CHECK-LABEL documentation wording slightly; also mention that ↵Stephen Lin1-8/+10
it allows error recovery. llvm-svn: 186628
2013-07-14Correct inaccurate statement in FileCheck docs.Stephen Lin1-1/+2
llvm-svn: 186290
2013-07-12Add new directive called CHECK-LABEL to FileCheck.Stephen Lin1-0/+49
CHECK-LABEL is meant to be used in place on CHECK on lines containing identifiers or other unique labels (they need not actually be labels in the source or output language, though.) This is used to break up the input stream into separate blocks delineated by CHECK-LABEL lines, each of which is checked independently. This greatly improves the accuracy of errors and fix-it hints in many cases, and allows for FileCheck to recover from errors in one block by continuing to subsequent blocks. Some tests will be converted to use this new directive in forthcoming patches. llvm-svn: 186162
2013-06-21[docs] Fix formatting.Sean Silva1-1/+1
'\n' was displaying as 'n' llvm-svn: 184507
2013-05-14Add 'CHECK-DAG' supportMichael Liao1-0/+49
Refer to 'FileCheck.rst'f for details of 'CHECK-DAG'. llvm-svn: 181827
2013-02-06Canonicalize line endings to Linux style also when the --strict-whitespace ↵Guy Benyei1-1/+2
flag is in use. This flag is supposed to affect horizontal whitespaces only. llvm-svn: 174541
2012-12-01Update FileCheck's documentation to mention recently added feature ofEli Bendersky1-15/+16
matching a variable defined on the same line. llvm-svn: 169103
2012-11-29Documentation for FileCheck: use 'option' and 'program' directives.Dmitri Gribenko1-36/+32
This enables option cross-referencing and now '--' in option names are no more turned into en dashes. llvm-svn: 168926
2012-11-21Fix a typo in FileCheck.rstEli Bendersky1-1/+1
llvm-svn: 168466
2012-11-14Support for [[@LINE]], [[@LINE+<offset>]], [[@LINE-<offset>]] expressions inAlexander Kornienko1-0/+27
FileCheck. llvm-svn: 167978
2012-11-14FileCheck.rst: change formatting of code-like constructs to use a monospacedDmitri Gribenko1-86/+50
font. These were formatted in bold, but that's not correct. llvm-svn: 167964
2012-11-07Fix a broken sentenceEli Bendersky1-2/+3
llvm-svn: 167521
2012-11-07Document the -input-file option of FileCheckEli Bendersky1-0/+5
llvm-svn: 167517
2012-06-12Use correct syntax highliter in code blocks. Noticed by Sean Silva.Dmitri Gribenko1-7/+7
llvm-svn: 158359
2012-06-12FileCheck docs: remove leftover HTML markup.Dmitri Gribenko1-9/+9
llvm-svn: 158344
2012-05-24Typo. Patch by Nicklas Bo Jensen <nbjensen@gmail.com>.Chad Rosier1-1/+1
llvm-svn: 157415
2012-05-08[docs] Add ReST version of all the man pages.Daniel Dunbar1-0/+284
- The POD versions are slated for execution, but are still around until llvm.org machinery is in place. llvm-svn: 156384