[PATCH] D69938: [OpenCL] Use __generic addr space when generating internal representation of lambda

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 27 10:55:04 PST 2019


rjmccall added inline comments.


================
Comment at: clang/lib/Sema/SemaLambda.cpp:892
+    if (AS != LangAS::Default)
+      EPI.TypeQuals.addAddressSpace(getDefaultCXXMethodAddrSpace());
+
----------------
This should just be `AS`.

Could you go ahead and change the other, existing places that should use this method?


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

https://reviews.llvm.org/D69938





More information about the cfe-commits mailing list