summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-08-10 00:40:46 +0000
committerJustin Lebar <jlebar@google.com>2016-08-10 00:40:46 +0000
commit0af91f57cafb6061738adee13d0481c220df7310 (patch)
tree3bae74f15280e9f4b3b4921f6b9a927961a15ee9
parent66a2ab91751a5bc460525bd0729d35c893acc6d1 (diff)
downloadbcm5719-llvm-0af91f57cafb6061738adee13d0481c220df7310.tar.gz
bcm5719-llvm-0af91f57cafb6061738adee13d0481c220df7310.zip
[CUDA] Fix out-of-date comment.
LangOpts.CUDADisableTargetCallChecks no longer exists (it's effectively always true now). llvm-svn: 278184
-rw-r--r--clang/include/clang/Sema/Sema.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/include/clang/Sema/Sema.h b/clang/include/clang/Sema/Sema.h
index e51380f8159..36d0d008741 100644
--- a/clang/include/clang/Sema/Sema.h
+++ b/clang/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.
OpenPOWER on IntegriCloud