================ @@ -27,6 +27,33 @@ unsigned clang_isVirtualBase(CXCursor C) { return B->isVirtual(); } +unsigned clang_visitCXXBaseClasses(CXType PT, CXFieldVisitor visitor, + CXClientData client_data) { + CXCursor PC = clang_getTypeDeclaration(PT); + if (clang_isInvalid(PC.kind)) + return false; + const CXXRecordDecl *RD = + dyn_cast_or_null<CXXRecordDecl>(cxcursor::getCursorDecl(PC)); ---------------- AaronBallman wrote:
Yup, the `or_null` variants are deprecated in favor of the `is_present` ones. https://github.com/llvm/llvm-project/pull/120300 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits