r278184 - [CUDA] Fix out-of-date comment.

Justin Lebar via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 9 17:40:46 PDT 2016


Author: jlebar
Date: Tue Aug  9 19:40:46 2016
New Revision: 278184

URL: http://llvm.org/viewvc/llvm-project?rev=278184&view=rev
Log:
[CUDA] Fix out-of-date comment.

LangOpts.CUDADisableTargetCallChecks no longer exists (it's effectively
always true now).

Modified:
    cfe/trunk/include/clang/Sema/Sema.h

Modified: cfe/trunk/include/clang/Sema/Sema.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Sema/Sema.h?rev=278184&r1=278183&r2=278184&view=diff
==============================================================================
--- cfe/trunk/include/clang/Sema/Sema.h (original)
+++ cfe/trunk/include/clang/Sema/Sema.h Tue Aug  9 19:40:46 2016
@@ -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.




More information about the cfe-commits mailing list