Assignment operator operator=(long long) currently allocates sizeof(long).
On some platforms it works as they have sizeof(long) == sizeof(long long),
but on others (e.g. Windows) it's not the case.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks! This is very surprising, but we're not coordinating. I've found out about their patch just now. Apparently it was submitted while I was reading the documentation about how to submit mine :D
I see @miko has closed their review in favor of this one.
@labath, I don't have commit rights. Can you, please, commit this patch? Thanks!