From 6df4a1084d80c71ea600fce6d43d17fbbd56c168 Mon Sep 17 00:00:00 2001 From: Justin Lebar Date: Wed, 10 Aug 2016 00:40:46 +0000 Subject: [PATCH] [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 --- include/clang/Sema/Sema.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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. -- 2.40.0