From 332c4e5cc6b9549582340115f0916c2ac5af46aa Mon Sep 17 00:00:00 2001 From: OSS-Fuzz Team Date: Mon, 20 Oct 2025 14:22:59 -0700 Subject: [PATCH] Replace getOriginalDecl with getDecl Indexer-PiperOrigin-RevId: 821805003 --- infra/indexer/frontend/ast_visitor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/indexer/frontend/ast_visitor.cc b/infra/indexer/frontend/ast_visitor.cc index c02074d832fb..a48f073025cd 100644 --- a/infra/indexer/frontend/ast_visitor.cc +++ b/infra/indexer/frontend/ast_visitor.cc @@ -864,7 +864,7 @@ const clang::CXXRecordDecl* GetCXXRecordForType(const clang::QualType& type) { } const auto* record_type = derived_type->castAs(); CHECK(record_type); - const clang::RecordDecl* decl = record_type->getOriginalDecl(); + const clang::RecordDecl* decl = record_type->getDecl(); CHECK(decl); return llvm::dyn_cast(decl); }