forked from OSchip/llvm-project
parent
c4e224e59c
commit
e531ae687a
|
@ -385,7 +385,7 @@ EmitOCUVectorElementExpr(const OCUVectorElementExpr *E) {
|
|||
LValue CodeGenFunction::EmitMemberExpr(const MemberExpr *E) {
|
||||
|
||||
// FIXME: Handle union members.
|
||||
if (E->getBase()->getType()->getAsUnionType()) {
|
||||
if (E->getType()->isUnionType()) {
|
||||
fprintf(stderr, "Unimplemented lvalue expr!\n");
|
||||
E->dump(getContext().SourceMgr);
|
||||
llvm::Type *Ty = llvm::PointerType::get(ConvertType(E->getType()));
|
||||
|
|
Loading…
Reference in New Issue