From: Justin Lebar <jlebar@google.com>
Date: Wed, 10 Aug 2016 00:40:46 +0000 (+0000)
Subject: [CUDA] Fix out-of-date comment.
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6df4a1084d80c71ea600fce6d43d17fbbd56c168;p=clang

[CUDA] Fix out-of-date comment.

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
---

diff --git a/include/clang/Sema/Sema.h b/include/clang/Sema/Sema.h
index e51380f815..36d0d00874 100644
--- a/include/clang/Sema/Sema.h
+++ b/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.