Comment scope_map_

This commit is contained in:
David Blaikie
2026-03-23 12:14:59 +00:00
parent b2252e04ff
commit 2c189f0b08
+5
View File
@@ -355,6 +355,11 @@ class CarbonExternalASTSource : public clang::ExternalASTSource {
Check::Context* context_;
clang::ASTContext* ast_context_;
// The association between clang DeclContexts and the corresponding
// SemIR::Namespaces in Carbon.
// TODO: reuse the SemIR::File::ClangDeclStore to avoid duplicates, and to
// enable roundtripping through forward and reverse interop (once we have
// syntax/support for that).
Map<clang::DeclContext*, SemIR::InstId> scope_map_;
};