Include the expression category in the semantics IR dump. (#3175)

Describe the broad expression category (value / reference /
initializing) in the semantics IR textual format. This is redundant
information that can be calculated from the text that's already in the
output, but seems useful for understanding the structure of the IR.
This commit is contained in:
Richard Smith authored and GitHub committed 2023-08-31 00:11:09 +00:00
1 parent e41a165359
commit f6662807ba
94 files changed
+237 -225

No files matched your search

@@ -59,6 +59,6 @@ fn G() { F(); }
// CHECK:STDOUT: fn @G() {
// CHECK:STDOUT: !entry:
// CHECK:STDOUT: %.loc9_11.1: type = tuple_type ()
// CHECK:STDOUT: %.loc9_11.2: () = call @F()
// CHECK:STDOUT: %.loc9_11.2: init () = call @F()
// CHECK:STDOUT: return
// CHECK:STDOUT: }