Skip to content

Commit dd53bfa

Browse files
cor3ntinGeorgeARM
authored andcommitted
[Clang][NFC] Fix typos introduced in llvm#138307
1 parent 3311e15 commit dd53bfa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/include/clang/Sema/Overload.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ class Sema;
362362

363363
/// Whether the source expression was originally a single element
364364
/// braced-init-list. Such a conversion is not a perfect match,
365-
/// as we prefer a std::list_initializer constructor over an exact match
365+
/// as we prefer a std::initializer_list constructor over an exact match
366366
/// constructor.
367367
LLVM_PREFERRED_TYPE(bool)
368368
unsigned FromBracedInitList : 1;
@@ -420,7 +420,7 @@ class Sema;
420420
if (!isIdentityConversion())
421421
return false;
422422

423-
// We might prefer a std::initializer constructor,
423+
// We might prefer a std::initializer_list constructor,
424424
// so this sequence cannot be perfect
425425
if (FromBracedInitList)
426426
return false;

0 commit comments

Comments
 (0)