summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide/FileCheck.rst
Commit message (Collapse)AuthorAgeFilesLines
* Add -match-full-lines argument to FileCheck.James Y Knight2016-02-111-0/+12
| | | | | | | This is useful for some tests where more-exact matching is useful, such as clang's Preprocessor tests. llvm-svn: 260540
* IR: Give 'DI' prefix to debug info metadataDuncan P. N. Exon Smith2015-04-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Finish off PR23080 by renaming the debug info IR constructs from `MD*` to `DI*`. The last of the `DIDescriptor` classes were deleted in r235356, and the last of the related typedefs removed in r235413, so this has all baked for about a week. Note: If you have out-of-tree code (like a frontend), I recommend that you get everything compiling and tests passing with the *previous* commit before updating to this one. It'll be easier to keep track of what code is using the `DIDescriptor` hierarchy and what you've already updated, and I think you're extremely unlikely to insert bugs. YMMV of course. Back to *this* commit: I did this using the rename-md-di-nodes.sh upgrade script I've attached to PR23080 (both code and testcases) and filtered through clang-format-diff.py. I edited the tests for test/Assembler/invalid-generic-debug-node-*.ll by hand since the columns were off-by-three. It should work on your out-of-tree testcases (and code, if you've followed the advice in the previous paragraph). Some of the tests are in badly named files now (e.g., test/Assembler/invalid-mdcompositetype-missing-tag.ll should be 'dicompositetype'); I'll come back and move the files in a follow-up commit. llvm-svn: 236120
* All FileCheck directives allow patterns.Paul Robinson2015-03-051-1/+1
| | | | llvm-svn: 231418
* FileCheck: Document CHECK-SAME, follow-up to r230612Duncan P. N. Exon Smith2015-03-051-0/+25
| | | | llvm-svn: 231379
* Fix Sphinx warnings.Dan Liew2014-07-211-1/+1
| | | | llvm-svn: 213559
* Add FileCheck -implicit-check-not option to allow stricter tests without ↵Alexander Kornienko2014-07-111-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
* Allow multiple check prefixes in FileCheck.Matt Arsenault2013-11-101-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
* Add warning about CHECK-DAG with variable definitionRenato Golin2013-10-111-9/+37
| | | | llvm-svn: 192479
* Fix underscore to be the proper length.Bill Wendling2013-07-301-1/+1
| | | | llvm-svn: 187406
* Fix FileCheck CHECK-LABEL documentation wording slightly; also mention that ↵Stephen Lin2013-07-181-8/+10
| | | | | | it allows error recovery. llvm-svn: 186628
* Correct inaccurate statement in FileCheck docs.Stephen Lin2013-07-141-1/+2
| | | | llvm-svn: 186290
* Add new directive called CHECK-LABEL to FileCheck.Stephen Lin2013-07-121-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
* [docs] Fix formatting.Sean Silva2013-06-211-1/+1
| | | | | | '\n' was displaying as 'n' llvm-svn: 184507
* Add 'CHECK-DAG' supportMichael Liao2013-05-141-0/+49
| | | | | | Refer to 'FileCheck.rst'f for details of 'CHECK-DAG'. llvm-svn: 181827
* Canonicalize line endings to Linux style also when the --strict-whitespace ↵Guy Benyei2013-02-061-1/+2
| | | | | | flag is in use. This flag is supposed to affect horizontal whitespaces only. llvm-svn: 174541
* Update FileCheck's documentation to mention recently added feature ofEli Bendersky2012-12-011-15/+16
| | | | | | matching a variable defined on the same line. llvm-svn: 169103
* Documentation for FileCheck: use 'option' and 'program' directives.Dmitri Gribenko2012-11-291-36/+32
| | | | | | This enables option cross-referencing and now '--' in option names are no more turned into en dashes. llvm-svn: 168926
* Fix a typo in FileCheck.rstEli Bendersky2012-11-211-1/+1
| | | | llvm-svn: 168466
* Support for [[@LINE]], [[@LINE+<offset>]], [[@LINE-<offset>]] expressions inAlexander Kornienko2012-11-141-0/+27
| | | | | | FileCheck. llvm-svn: 167978
* FileCheck.rst: change formatting of code-like constructs to use a monospacedDmitri Gribenko2012-11-141-86/+50
| | | | | | font. These were formatted in bold, but that's not correct. llvm-svn: 167964
* Fix a broken sentenceEli Bendersky2012-11-071-2/+3
| | | | llvm-svn: 167521
* Document the -input-file option of FileCheckEli Bendersky2012-11-071-0/+5
| | | | llvm-svn: 167517
* Use correct syntax highliter in code blocks. Noticed by Sean Silva.Dmitri Gribenko2012-06-121-7/+7
| | | | llvm-svn: 158359
* FileCheck docs: remove leftover HTML markup.Dmitri Gribenko2012-06-121-9/+9
| | | | llvm-svn: 158344
* Typo. Patch by Nicklas Bo Jensen <nbjensen@gmail.com>.Chad Rosier2012-05-241-1/+1
| | | | llvm-svn: 157415
* [docs] Add ReST version of all the man pages.Daniel Dunbar2012-05-081-0/+284
- The POD versions are slated for execution, but are still around until llvm.org machinery is in place. llvm-svn: 156384
OpenPOWER on IntegriCloud