This is an automated email from the ASF dual-hosted git repository. tqchen pushed a commit to branch sequal in repository https://gitbox.apache.org/repos/asf/tvm.git
commit a1dbe539e7f89c5575e709e3dd6bc74d193ce860 Author: tqchen <[email protected]> AuthorDate: Thu Jul 17 11:12:51 2025 -0400 wip --- ffi/CMakeLists.txt | 1 + ffi/include/tvm/ffi/string.h | 3 +-- ffi/src/ffi/reflection/access_path.cc | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ffi/CMakeLists.txt b/ffi/CMakeLists.txt index 78bb36ac5a..f12969b3d7 100644 --- a/ffi/CMakeLists.txt +++ b/ffi/CMakeLists.txt @@ -58,6 +58,7 @@ add_library(tvm_ffi_objs OBJECT "${CMAKE_CURRENT_SOURCE_DIR}/src/ffi/testing.cc" "${CMAKE_CURRENT_SOURCE_DIR}/src/ffi/container.cc" "${CMAKE_CURRENT_SOURCE_DIR}/src/ffi/reflection/access_path.cc" + "${CMAKE_CURRENT_SOURCE_DIR}/src/ffi/reflection/structural_equal.cc" ) set_target_properties( tvm_ffi_objs PROPERTIES diff --git a/ffi/include/tvm/ffi/string.h b/ffi/include/tvm/ffi/string.h index 25cdc7c7db..ed654e8557 100644 --- a/ffi/include/tvm/ffi/string.h +++ b/ffi/include/tvm/ffi/string.h @@ -165,7 +165,6 @@ class Bytes : public ObjectRef { TVM_FFI_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS(Bytes, ObjectRef, BytesObj); - private: /*! * \brief Compare two char sequence * @@ -178,7 +177,7 @@ class Bytes : public ObjectRef { */ static int memncmp(const char* lhs, const char* rhs, size_t lhs_count, size_t rhs_count); - friend struct AnyEqual; + private: friend class String; }; diff --git a/ffi/src/ffi/reflection/access_path.cc b/ffi/src/ffi/reflection/access_path.cc index 6e905d76cf..ac8fe25f32 100644 --- a/ffi/src/ffi/reflection/access_path.cc +++ b/ffi/src/ffi/reflection/access_path.cc @@ -18,8 +18,7 @@ * under the License. */ /* - * \file src/ffi/ffi_api.cc - * \brief Extra ffi apis for frontend to access containers. + * \file src/ffi/reflection/access_path.cc */ #include <tvm/ffi/reflection/access_path.h>
