[PATCH] D96051: [OpenCL] Support enum and typedef args in TableGen BIFs

Sven van Haastregt via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 8 08:37:19 PST 2021


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

Do not assume cast to Enum/TypedefDecl is always successful.


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

https://reviews.llvm.org/D96051

Files:
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/Sema/OpenCLBuiltins.td
  clang/lib/Sema/SemaLookup.cpp
  clang/test/SemaOpenCL/fdeclare-opencl-builtins.cl
  clang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96051.322123.patch
Type: text/x-patch
Size: 10637 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210208/c98a5990/attachment.bin>


More information about the cfe-commits mailing list