diff --git a/toolchain/check/cpp/generate_ast.cpp b/toolchain/check/cpp/generate_ast.cpp index e0140d353fa0..8d9545d7de40 100644 --- a/toolchain/check/cpp/generate_ast.cpp +++ b/toolchain/check/cpp/generate_ast.cpp @@ -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 scope_map_; };