[PATCH] D40838: [OpenCL] Fix layering violation by getOpenCLTypeAddrSpace

Sven van Haastregt via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 5 09:27:20 PST 2017


svenvh updated this revision to Diff 125554.
svenvh added a comment.

Introducing ASTContext::getOpenCLTypeAddrSpace(const Type *T) as suggested.


https://reviews.llvm.org/D40838

Files:
  include/clang/AST/ASTContext.h
  include/clang/Basic/TargetInfo.h
  lib/AST/ASTContext.cpp
  lib/Basic/TargetInfo.cpp
  lib/Basic/Targets/AMDGPU.h
  lib/CodeGen/CGOpenCLRuntime.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40838.125554.patch
Type: text/x-patch
Size: 7273 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171205/02e2e622/attachment.bin>


More information about the cfe-commits mailing list