Update toolchain/check/cpp/generate_ast.cpp

Co-authored-by: Jon Ross-Perkins <jperkins@google.com>
This commit is contained in:
David Blaikie
2026-03-23 16:44:55 -07:00
committed by GitHub
co-authored by Jon Ross-Perkins
parent 2d9c34e087
commit bf8c94f0f9
+1
View File
@@ -468,6 +468,7 @@ auto CarbonExternalASTSource::FindExternalVisibleDeclsByName(
}
// Map the found Carbon entity to a Clang NamedDecl.
// Use the key to reach the owned, mutable copy of decl_context.
auto* clang_decl = MapInstIdToClangDecl(*decl_context_inst_id.key(), result);
if (!clang_decl) {
return false;