[PATCH] D96050: [OpenCL] Do not enforce ASTContext for OCL2Qual
Sven van Haastregt via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 4 08:45:41 PST 2021
svenvh created this revision.
svenvh added a reviewer: Anastasia.
svenvh added a project: clang.
Herald added subscribers: jfb, yaxunl.
svenvh requested review of this revision.
Herald added a subscriber: cfe-commits.
Do not enforce that the expression to obtain the `QualType` for an
OpenCL type starts with an `ASTContext`. This adds the required
flexibility for handling enum types.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D96050
Files:
clang/lib/Sema/OpenCLBuiltins.td
clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96050.321458.patch
Type: text/x-patch
Size: 12874 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210204/59d7dec0/attachment-0001.bin>
More information about the cfe-commits
mailing list