This revision was automatically updated to reflect the committed changes.
Closed by commit rL304575: [OpenCL] Harden function pointer diagnostics.
(authored by bader).
Changed prior to commit:
https://reviews.llvm.org/D33821?vs=101181&id=101242#toc
Repository:
rL LLVM
https://reviews.llvm.o
Anastasia accepted this revision.
Anastasia added a comment.
This revision is now accepted and ready to land.
LGTM!
https://reviews.llvm.org/D33821
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinf
yaxunl added a comment.
LGTM. Thanks.
https://reviews.llvm.org/D33821
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
bader created this revision.
Improve OpenCL type checking by rejecting function pointer types.
https://reviews.llvm.org/D33821
Files:
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaDecl.cpp
lib/Sema/SemaType.cpp
test/SemaOpenCL/func.cl
Index: test/SemaOpenCL/func.cl
=