After using UPB I noticed that field accessors were not getting inlined properly using Clang. The source appears to be the UPB_FORCEINLINE macro falling back to just being static when underneath clang despite clang having full support of the required attributes.
Improve support for Clang inside of UPB (#17433)
After using UPB I noticed that field accessors were not getting inlined properly using Clang. The source appears to be the UPB_FORCEINLINE macro falling back to just being
static
when underneath clang despite clang having full support of the required attributes.Closes #17433
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/17433 from Vadmeme:main 57204e78cdaefec0332d01e26a04ac2b5af3e42d FUTURE_COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/17433 from Vadmeme:main 57204e78cdaefec0332d01e26a04ac2b5af3e42d