[PATCH] D54862: [OpenCL] Add generic AS to 'this' pointer

Anastasia Stulova via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 4 04:46:42 PST 2018


Anastasia added inline comments.


================
Comment at: lib/Sema/SemaType.cpp:4816
+        // OpenCLCPlusPlus: A class member function has an address space.
+        if (state.getSema().getLangOpts().OpenCLCPlusPlus &&
+            state.getDeclarator().getContext() ==
----------------
Can this be moved into `deduceOpenCLImplicitAddrSpace`?


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

https://reviews.llvm.org/D54862





More information about the cfe-commits mailing list