Skip to content

Commit bd8f474

Browse files
OSS-Fuzz Teamcopybara-github
authored andcommitted
Replace getOriginalDecl with getDecl
This was turned into a deprecated alias in llvm/llvm-project@b516dcc Indexer-PiperOrigin-RevId: 845825797
1 parent f1d8659 commit bd8f474

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infra/indexer/frontend/ast_visitor.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,7 @@ const clang::CXXRecordDecl* GetCXXRecordForType(const clang::QualType& type) {
864864
}
865865
const auto* record_type = derived_type->castAs<clang::RecordType>();
866866
CHECK(record_type);
867-
const clang::RecordDecl* decl = record_type->getOriginalDecl();
867+
const clang::RecordDecl* decl = record_type->getDecl();
868868
CHECK(decl);
869869
return llvm::dyn_cast<clang::CXXRecordDecl>(decl);
870870
}

0 commit comments

Comments
 (0)