r278183 - [CUDA] Minor comment nits.

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


Author: jlebar
Date: Tue Aug  9 19:40:43 2016
New Revision: 278183

URL: http://llvm.org/viewvc/llvm-project?rev=278183&view=rev
Log:
[CUDA] Minor comment nits.

Modified:
    cfe/trunk/lib/Sema/SemaOverload.cpp

Modified: cfe/trunk/lib/Sema/SemaOverload.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaOverload.cpp?rev=278183&r1=278182&r2=278183&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaOverload.cpp (original)
+++ cfe/trunk/lib/Sema/SemaOverload.cpp Tue Aug  9 19:40:43 2016
@@ -8769,8 +8769,8 @@ OverloadCandidateSet::BestViableFunction
   std::transform(begin(), end(), std::back_inserter(Candidates),
                  [](OverloadCandidate &Cand) { return &Cand; });
 
-  // [CUDA] HD->H or HD->D calls are technically not allowed by CUDA
-  // but accepted by both clang and NVCC. However during a particular
+  // [CUDA] HD->H or HD->D calls are technically not allowed by CUDA but
+  // are accepted by both clang and NVCC. However, during a particular
   // compilation mode only one call variant is viable. We need to
   // exclude non-viable overload candidates from consideration based
   // only on their host/device attributes. Specifically, if one




More information about the cfe-commits mailing list