mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-22 16:02:37 +00:00
Remove unused ImportCppId and list of Cpp imports in File (#6290)
See discussion: https://discord.com/channels/655572317891461132/655578254970716160/1432518191350808659 Part of #5245.
This commit is contained in:
1 parent
9b95944020
commit
d3762f9723
9 files changed
+15
-30
No files matched your search
@@ -16,7 +16,6 @@ static auto FollowImportRef(
|
||||
ImportIRInstId import_ir_inst_id) -> bool {
|
||||
auto import_ir_inst = cursor_ir->import_ir_insts().Get(import_ir_inst_id);
|
||||
if (import_ir_inst.ir_id() == ImportIRId::Cpp) {
|
||||
CARBON_CHECK(cursor_ir->import_cpps().size() > 0);
|
||||
absolute_node_ids.push_back(
|
||||
AbsoluteNodeId(import_ir_inst.clang_source_loc_id()));
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user