[PATCH] Force a load when creating a reference to a temporary copied from a bitfield.
Doug Gregor
dgregor at apple.com
Wed Apr 10 15:42:48 PDT 2013
Looks good, but please check whether we need to potentially add a qualification conversion.
================
Comment at: lib/Sema/SemaInit.cpp:3402
@@ +3401,3 @@
+ // Force a load so we can materialize a temporary.
+ Sequence.AddLValueToRValueStep(cv1T1.getUnqualifiedType());
+ return VK_RValue;
----------------
Might we need a qualification conversion step after this?
http://llvm-reviews.chandlerc.com/D651
More information about the cfe-commits
mailing list