diff --git a/toolchain/check/cpp/generate_ast.cpp b/toolchain/check/cpp/generate_ast.cpp index ee1d9a6a4410..aff793c95302 100644 --- a/toolchain/check/cpp/generate_ast.cpp +++ b/toolchain/check/cpp/generate_ast.cpp @@ -348,6 +348,7 @@ class CarbonExternalASTSource : public clang::ExternalASTSource { auto StartTranslationUnit(clang::ASTConsumer* consumer) -> void override; private: + // Map a Carbon entity to a Clang NamedDecl. auto MapInstIdToClangDecl(clang::DeclContext& decl_context, LookupResult lookup) -> clang::NamedDecl*; @@ -364,7 +365,6 @@ void CarbonExternalASTSource::StartTranslationUnit( translation_unit.setHasExternalVisibleStorage(); } -// Map a Carbon entity to a Clang NamedDecl. auto CarbonExternalASTSource::MapInstIdToClangDecl( clang::DeclContext& decl_context, LookupResult lookup) -> clang::NamedDecl* {