[CUDA] Disallow exceptions in device code.
authorJustin Lebar <jlebar@google.com>
Wed, 28 Sep 2016 22:45:54 +0000 (22:45 +0000)
committerJustin Lebar <jlebar@google.com>
Wed, 28 Sep 2016 22:45:54 +0000 (22:45 +0000)
commit2a8db34044c3a994bc2198730ac61a8a7f38878f
tree9544819afa3d8f111e7f239620142630f0746db2
parente2f51befb82123e43cbee373bb6bb2064817086a
[CUDA] Disallow exceptions in device code.

Reviewers: tra

Subscribers: cfe-commits, jhen

Differential Revision: https://reviews.llvm.org/D25036

llvm-svn: 282646
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/test/SemaCUDA/exceptions-host-device.cu [new file with mode: 0644]
clang/test/SemaCUDA/exceptions.cu [new file with mode: 0644]