[PATCH] D55656: [OpenCL] Address space for default class members

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 13 12:52:08 PST 2018


rjmccall added inline comments.


================
Comment at: lib/AST/ASTContext.cpp:2781
+
+  return getAddrSpaceQualType(NewT, Orig.getAddressSpace());
 }
----------------
You're trying to handle a method qualifier, not a type a functions that are themselves in some non-standard address space, right?  The method qualifier should already be part of `Proto->getExtProtoInfo()`, so if there's an address space qualifier out here, something is very wrong.


Repository:
  rC Clang

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

https://reviews.llvm.org/D55656





More information about the cfe-commits mailing list