]> granicus.if.org Git - clang/commitdiff
[CUDA] Minor comment nits.
authorJustin Lebar <jlebar@google.com>
Wed, 10 Aug 2016 00:40:43 +0000 (00:40 +0000)
committerJustin Lebar <jlebar@google.com>
Wed, 10 Aug 2016 00:40:43 +0000 (00:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@278183 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaOverload.cpp

index 090fab7d357784122f758cffc98d954d6f9a58cc..ff820251776c49966a7f2c1f03ed5baf2e82c7ad 100644 (file)
@@ -8769,8 +8769,8 @@ OverloadCandidateSet::BestViableFunction(Sema &S, SourceLocation Loc,
   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