[PATCH] D34153: [ADT] PointerUnion::getAddrOfPtr1(): fix/silence -Wcast-qual warning.
David Blaikie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 13 11:50:38 PDT 2017
dblaikie accepted this revision.
dblaikie added a comment.
This revision is now accepted and ready to land.
I'd probably go with const_cast + reinterpret_cast, rather than C-style cast. To be clear which conversions are happening.
More information about the llvm-commits