Remove redundant SemIR:: uses in SemIR (#6106)

Also cleaned up some in #6105, which is what got me looking for more.
This commit is contained in:
Jon Ross-Perkins
2025-09-22 15:55:46 +00:00
committed by GitHub
parent 412d911578
commit ef1e47cd07
13 changed files with 37 additions and 43 deletions
+2 -2
View File
@@ -80,10 +80,10 @@ auto DecomposeVirtualFunction(const File& sem_ir, InstId fn_decl_id,
auto fn_decl_const_id =
GetConstantValueInSpecific(sem_ir, base_class_specific_id, fn_decl_id);
fn_decl_id = sem_ir.constant_values().GetInstId(fn_decl_const_id);
auto specific_id = SemIR::SpecificId::None;
auto specific_id = SpecificId::None;
auto callee_id = fn_decl_id;
if (auto specific_function =
sem_ir.insts().TryGetAs<SemIR::SpecificFunction>(fn_decl_id)) {
sem_ir.insts().TryGetAs<SpecificFunction>(fn_decl_id)) {
specific_id = specific_function->specific_id;
callee_id = specific_function->callee_id;
}