rjmccall added inline comments.

================
Comment at: lib/CodeGen/CGCall.cpp:77
+  if (MD)
+    RecTy = Context.getAddrSpaceQualType(RecTy, 
MD->getType().getAddressSpace());
   return Context.getPointerType(CanQualType::CreateUnsafe(RecTy));
----------------
ebevhan wrote:
> I'm a bit late to the party, but shouldn't this be 
> `MD->getTypeQualifiers().getAddressSpace()`?
Yes, you're right, it should.


Repository:
  rC Clang

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

https://reviews.llvm.org/D54862



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to