diff options
author | Sebastian Redl <sebastian.redl@getdesigned.at> | 2012-01-23 22:09:39 +0000 |
---|---|---|
committer | Sebastian Redl <sebastian.redl@getdesigned.at> | 2012-01-23 22:09:39 +0000 |
commit | b832f6dea893f25b40500a04781286236281cb20 (patch) | |
tree | 4150adcc5c9abc204366eb0e52c74040cdb88952 /lib/Sema/SemaOverload.cpp | |
parent | 05b7846d871fb0d3229e4b30fa5935bc858f3547 (diff) |
Minor fixups for auto deduction of initializer lists.
Fix some review comments.
Add a test for deduction when std::initializer_list isn't available yet.
Fix redundant error messages. This fixes and outstanding FIXME too.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148735 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaOverload.cpp')
-rw-r--r-- | lib/Sema/SemaOverload.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaOverload.cpp b/lib/Sema/SemaOverload.cpp index 931573bb29..fac3c26d0e 100644 --- a/lib/Sema/SemaOverload.cpp +++ b/lib/Sema/SemaOverload.cpp @@ -4111,7 +4111,7 @@ TryListConversion(Sema &S, InitListExpr *From, QualType ToType, Result.setBad(BadConversionSequence::no_conversion, From, ToType); Result.setListInitializationSequence(); - // We need a complete type for what follows. Incomplete types can bever be + // We need a complete type for what follows. Incomplete types can never be // initialized from init lists. if (S.RequireCompleteType(From->getLocStart(), ToType, S.PDiag())) return Result; |