[PATCH] D25139: [CUDA] Add Sema::CUDADiagBuilder and Sema::CUDADiagIfDeviceCode().
Justin Lebar via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 30 17:31:55 PDT 2016
jlebar updated this revision to Diff 73171.
jlebar added a comment.
Tweak API a bit.
Now we rely on an implicit conversion to bool. Which is not great, I know, but
in practice I think works better than an explicit named function.
https://reviews.llvm.org/D25139
Files:
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Sema/Sema.h
clang/lib/Sema/SemaCUDA.cpp
clang/lib/Sema/SemaExprCXX.cpp
clang/lib/Sema/SemaStmt.cpp
clang/lib/Sema/SemaType.cpp
clang/test/SemaCUDA/exceptions-host-device.cu
clang/test/SemaCUDA/exceptions.cu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25139.73171.patch
Type: text/x-patch
Size: 17468 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161001/373a844b/attachment-0001.bin>
More information about the cfe-commits
mailing list