[CUDA] Fix out-of-date comment.
authorJustin Lebar <jlebar@google.com>
Wed, 10 Aug 2016 00:40:46 +0000 (00:40 +0000)
committerJustin Lebar <jlebar@google.com>
Wed, 10 Aug 2016 00:40:46 +0000 (00:40 +0000)
LangOpts.CUDADisableTargetCallChecks no longer exists (it's effectively
always true now).

llvm-svn: 278184

clang/include/clang/Sema/Sema.h

index e51380f..36d0d00 100644 (file)
@@ -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.