mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
Refactor LazyImportRef into ImportRefUnused. (#3656)
This makes some changes to the formatter so that ImportRefUnused and ImportRefUsed will both be labeled as "import_ref" with an "unused -> used" argument change in textual IR, but is otherwise not changing logic.
This commit is contained in:
+3
-3
@@ -51,8 +51,8 @@ import library "a";
|
||||
// CHECK:STDOUT: --- b.carbon
|
||||
// CHECK:STDOUT:
|
||||
// CHECK:STDOUT: file {
|
||||
// CHECK:STDOUT: package: <namespace> = namespace {.Empty = %lazy_import_ref.1, .ForwardDeclared = %lazy_import_ref.2} [template]
|
||||
// CHECK:STDOUT: %lazy_import_ref.1 = lazy_import_ref ir1, inst+1
|
||||
// CHECK:STDOUT: %lazy_import_ref.2 = lazy_import_ref ir1, inst+2
|
||||
// CHECK:STDOUT: package: <namespace> = namespace {.Empty = %import_ref.1, .ForwardDeclared = %import_ref.2} [template]
|
||||
// CHECK:STDOUT: %import_ref.1 = import_ref ir1, inst+1, unused
|
||||
// CHECK:STDOUT: %import_ref.2 = import_ref ir1, inst+2, unused
|
||||
// CHECK:STDOUT: }
|
||||
// CHECK:STDOUT:
|
||||
|
||||
Reference in New Issue
Block a user