Preliminary reverse interop support for base classes. (#7059)

Create a Clang AST representation of the base specifier.
This commit is contained in:
Richard Smith authored and GitHub committed 2026-04-16 00:29:40 +00:00
1 parent 114cf401c2
commit 46f46a538d
17 files changed
+234 -32

No files matched your search

+4 -4
View File
@@ -261,10 +261,10 @@ static auto BuildCppToCarbonThunkDecl(
auto* tinfo =
ast_context.getTrivialTypeSourceInfo(thunk_function_type, clang_loc);
const bool uses_fp_intrin = false;
const bool inline_specified = true;
const auto constexpr_kind = clang::ConstexprSpecKind::Unspecified;
const auto trailing_requires_clause = clang::AssociatedConstraint();
bool uses_fp_intrin = false;
bool inline_specified = true;
auto constexpr_kind = clang::ConstexprSpecKind::Unspecified;
auto trailing_requires_clause = clang::AssociatedConstraint();
clang::FunctionDecl* thunk_function_decl = nullptr;
if (auto* parent_class = dyn_cast<clang::CXXRecordDecl>(decl_context)) {