File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments