Files
rust/src/test/codegen
bors b32223fec1 Auto merge of #100707 - dzvon:fix-typo, r=davidtwco
Fix a bunch of typo

This PR will fix some typos detected by [typos].

I only picked the ones I was sure were spelling errors to fix, mostly in
the comments.

[typos]: https://github.com/crate-ci/typos
2022-09-01 05:39:58 +00:00
..
2022-08-27 16:50:41 +03:00
2022-07-01 17:45:13 +02:00
2022-08-31 18:24:55 +08:00
2022-08-27 16:50:41 +03:00
2018-12-25 21:08:33 -07:00
2022-05-17 07:11:29 -04:00
2021-12-12 11:20:03 +00:00
2021-12-12 11:20:03 +00:00
2020-01-07 21:28:22 +01:00
2021-03-14 01:46:00 +09:00
2018-12-25 21:08:33 -07:00
2022-02-19 17:29:56 +00:00
2018-12-25 21:08:33 -07:00
2018-12-25 21:08:33 -07:00
2017-04-12 19:12:50 -05:00
2022-07-07 09:27:44 +02:00
2021-12-12 11:20:03 +00:00
2018-12-25 21:08:33 -07:00
2018-12-25 21:08:33 -07:00
2018-12-25 21:08:33 -07:00
2018-12-25 21:08:33 -07:00
2022-08-31 18:24:55 +08:00
2020-02-08 18:47:41 -05:00
2018-12-25 21:08:33 -07:00
2022-07-01 17:45:13 +02:00
2022-06-15 18:38:26 -07:00
2018-12-25 21:08:33 -07:00
2018-12-25 21:08:33 -07:00
2018-12-25 21:08:33 -07:00
2021-08-03 07:59:59 -07:00
2022-05-13 12:08:54 -07:00
2019-04-22 16:57:01 +01:00
2022-04-20 09:25:47 +02:00
2018-12-25 21:08:33 -07:00
2022-07-01 17:45:13 +02:00
2022-07-01 17:45:13 +02:00
2022-08-31 18:24:55 +08:00
2022-07-01 17:45:13 +02:00
2018-12-25 21:08:33 -07:00

The files here use the LLVM FileCheck framework, documented at https://llvm.org/docs/CommandGuide/FileCheck.html.

One extension worth noting is the use of revisions as custom prefixes for FileCheck. If your codegen test has different behavior based on the chosen target or different compiler flags that you want to exercise, you can use a revisions annotation, like so:

// revisions: aaa bbb
// [bbb] compile-flags: --flags-for-bbb

After specifying those variations, you can write different expected, or explicitly unexpected output by using <prefix>-SAME: and <prefix>-NOT:, like so:

// CHECK: expected code
// aaa-SAME: emitted-only-for-aaa
// aaa-NOT:                        emitted-only-for-bbb
// bbb-NOT:  emitted-only-for-aaa
// bbb-SAME:                       emitted-only-for-bbb