Rename cpp_ast to clang_ast_unit (#5926)

Followup of #5924.
This commit is contained in:
Boaz Brickner
2025-08-08 08:11:49 +00:00
committed by GitHub
parent d5cb9a7144
commit 9f108bad6e
13 changed files with 42 additions and 36 deletions
+2 -2
View File
@@ -532,7 +532,7 @@ class CompilationUnit {
std::optional<std::function<auto()->const Parse::TreeAndSubtrees&>>
tree_and_subtrees_getter_;
std::optional<SemIR::File> sem_ir_;
std::unique_ptr<clang::ASTUnit> cpp_ast_;
std::unique_ptr<clang::ASTUnit> clang_ast_unit_;
std::unique_ptr<llvm::LLVMContext> llvm_context_;
std::unique_ptr<llvm::Module> module_;
};
@@ -703,7 +703,7 @@ auto CompilationUnit::GetCheckUnit() -> Check::Unit {
.value_stores = &value_stores_,
.timings = timings_ ? &*timings_ : nullptr,
.sem_ir = &*sem_ir_,
.cpp_ast = &cpp_ast_};
.clang_ast_unit = &clang_ast_unit_};
}
auto CompilationUnit::PostCheck() -> void {