Skip to content

Commit 0a7d7a6

Browse files
committed
Update comments; fix typos
1 parent 714c40d commit 0a7d7a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/lib/Sema/SemaOverload.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13456,8 +13456,8 @@ Sema::resolveAddressOfSingleOverloadCandidate(Expr *E, DeclAccessPair &Pair) {
1345613456
Result = FD;
1345713457
};
1345813458

13459-
// We have more than one result - see if it is more constrained than the
13460-
// previous one.
13459+
// We have more than one result - see if it is more
13460+
// partial-ordering-constrained than the previous one.
1346113461
if (Result) {
1346213462
// Check CUDA preference first. If the candidates have differennt CUDA
1346313463
// preference, choose the one with higher CUDA preference. Otherwise,
@@ -13472,7 +13472,7 @@ Sema::resolveAddressOfSingleOverloadCandidate(Expr *E, DeclAccessPair &Pair) {
1347213472
continue;
1347313473
}
1347413474
}
13475-
// FD has the same CUDA prefernece than Result. Continue check
13475+
// FD has the same CUDA preference than Result. Continue to check
1347613476
// constraints.
1347713477

1347813478
// C++ [over.over]p5:

0 commit comments

Comments
 (0)