mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-18 20:00:29 +00:00
1 parent
d5cb9a7144
commit
9f108bad6e
13 files changed
+42
-36
No files matched your search
@@ -290,7 +290,7 @@ auto BuildCppThunk(Context& context, const SemIR::Function& callee_function)
|
||||
context, *callee_function_decl, thunk_param_types);
|
||||
|
||||
// Build the thunk function body.
|
||||
clang::Sema& sema = context.sem_ir().cpp_ast()->getSema();
|
||||
clang::Sema& sema = context.sem_ir().clang_ast_unit()->getSema();
|
||||
clang::Sema::ContextRAII context_raii(sema, thunk_function_decl);
|
||||
sema.ActOnStartOfFunctionDef(nullptr, thunk_function_decl);
|
||||
|
||||
|
||||
Reference in new issue
Block a user