Revert "[serialization] no transitive decl change (#92083)"
This reverts commit ccb73e88. It looks like there are some bots complaining about the patch. See the post commit comment in https://github.com/llvm/llvm-project/pull/92083 to track it.
This reverts commit ccb73e88. It looks like there are some bots complaining about the patch. See the post commit comment in https://github.com/llvm/llvm-project/pull/92083 to track it.