mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-25 22:41:10 +00:00
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:
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: }
|
||||
Reference in new issue
Block a user