These functions do the exact same thing (even if they look slightly
different). I yanked the common implementation, cleaned it up, and
shoved it into its own function.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This looks good to me. I spent some time trying to see if there was a clear reason for the duplicated code; it was added in llvm-svn: 193380 in 2013 and they were very clearly identical back then. I don't see/can't think of any reason for it.