summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Lebar <jlebar@google.com>2016-08-10 00:40:43 +0000
committerJustin Lebar <jlebar@google.com>2016-08-10 00:40:43 +0000
commit66a2ab91751a5bc460525bd0729d35c893acc6d1 (patch)
tree32eee2ce9398a44fe3ead220cb73e530488da7ca
parent1c06bb107bb915b26d7800138569351851d1ec69 (diff)
downloadbcm5719-llvm-66a2ab91751a5bc460525bd0729d35c893acc6d1.tar.gz
bcm5719-llvm-66a2ab91751a5bc460525bd0729d35c893acc6d1.zip
[CUDA] Minor comment nits.
llvm-svn: 278183
-rw-r--r--clang/lib/Sema/SemaOverload.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaOverload.cpp b/clang/lib/Sema/SemaOverload.cpp
index 090fab7d357..ff820251776 100644
--- a/clang/lib/Sema/SemaOverload.cpp
+++ b/clang/lib/Sema/SemaOverload.cpp
@@ -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
OpenPOWER on IntegriCloud