]> granicus.if.org Git - clang/commitdiff
[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).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@278184 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Sema/Sema.h

index e51380f8159d2f7eeeb7d33c46f1fc4c596ed5ef..36d0d00874150bc41a612a529603d0c3bcae1e6e 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.