diff options
| author | Justin Lebar <jlebar@google.com> | 2016-08-10 00:40:46 +0000 | 
|---|---|---|
| committer | Justin Lebar <jlebar@google.com> | 2016-08-10 00:40:46 +0000 | 
| commit | 0af91f57cafb6061738adee13d0481c220df7310 (patch) | |
| tree | 3bae74f15280e9f4b3b4921f6b9a927961a15ee9 /clang | |
| parent | 66a2ab91751a5bc460525bd0729d35c893acc6d1 (diff) | |
| download | bcm5719-llvm-0af91f57cafb6061738adee13d0481c220df7310.tar.gz bcm5719-llvm-0af91f57cafb6061738adee13d0481c220df7310.zip | |
[CUDA] Fix out-of-date comment.
LangOpts.CUDADisableTargetCallChecks no longer exists (it's effectively
always true now).
llvm-svn: 278184
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/include/clang/Sema/Sema.h | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/clang/include/clang/Sema/Sema.h b/clang/include/clang/Sema/Sema.h index e51380f8159..36d0d008741 100644 --- a/clang/include/clang/Sema/Sema.h +++ b/clang/include/clang/Sema/Sema.h @@ -9143,8 +9143,7 @@ public:      CFP_Never,      // Invalid caller/callee combination.      CFP_WrongSide,  // Calls from host-device to host or device                      // function that do not match current compilation -                    // mode. Only in effect if -                    // LangOpts.CUDADisableTargetCallChecks is true. +                    // mode.      CFP_HostDevice, // Any calls to host/device functions.      CFP_SameSide,   // Calls from host-device to host or device                      // function matching current compilation mode. | 

