[PATCH] D58708: [PR40778] Preserve addr space in Derived to Base cast

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 5 11:12:12 PST 2019


rjmccall added inline comments.


================
Comment at: lib/Sema/SemaExpr.cpp:2671
       DestType = Context.getPointerType(DestRecordType);
       FromRecordType = FromType->getPointeeType();
       PointerConversions = true;
----------------
And here.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58708/new/

https://reviews.llvm.org/D58708





More information about the cfe-commits mailing list