| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This is useful for some tests where more-exact matching is useful, such
as clang's Preprocessor tests.
llvm-svn: 260540
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 231418
|
|
|
|
| |
llvm-svn: 231379
|
|
|
|
| |
llvm-svn: 213559
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 192479
|
|
|
|
| |
llvm-svn: 187406
|
|
|
|
|
|
| |
it allows error recovery.
llvm-svn: 186628
|
|
|
|
| |
llvm-svn: 186290
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
'\n' was displaying as 'n'
llvm-svn: 184507
|
|
|
|
|
|
| |
Refer to 'FileCheck.rst'f for details of 'CHECK-DAG'.
llvm-svn: 181827
|
|
|
|
|
|
| |
flag is in use. This flag is supposed to affect horizontal whitespaces only.
llvm-svn: 174541
|
|
|
|
|
|
| |
matching a variable defined on the same line.
llvm-svn: 169103
|
|
|
|
|
|
| |
This enables option cross-referencing and now '--' in option names are no more turned into en dashes.
llvm-svn: 168926
|
|
|
|
| |
llvm-svn: 168466
|
|
|
|
|
|
| |
FileCheck.
llvm-svn: 167978
|
|
|
|
|
|
| |
font. These were formatted in bold, but that's not correct.
llvm-svn: 167964
|
|
|
|
| |
llvm-svn: 167521
|
|
|
|
| |
llvm-svn: 167517
|
|
|
|
| |
llvm-svn: 158359
|
|
|
|
| |
llvm-svn: 158344
|
|
|
|
| |
llvm-svn: 157415
|
|
- The POD versions are slated for execution, but are still around until
llvm.org machinery is in place.
llvm-svn: 156384
|