[PATCH] D87563: [Sema] Improve overload resolution
Mark de Wever via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 1 04:46:32 PST 2020
Mordante updated this revision to Diff 302140.
Mordante added a comment.
- No longer store the `InitListExpr` instead store the size difference between the array and initializer list.
- Removed the dead code for P0388.
- Don't add overloads where the initializer list has more elements than the array to be initialized.
- Since the size validation is simpler now it's directly in `CompareImplicitConversionSequences` instead of the helper class `CompareListInitializationSequences`.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87563/new/
https://reviews.llvm.org/D87563
Files:
clang/include/clang/Sema/Overload.h
clang/lib/Sema/SemaOverload.cpp
clang/test/SemaCXX/overload-call.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87563.302140.patch
Type: text/x-patch
Size: 5499 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201101/7ebd41b0/attachment.bin>
More information about the cfe-commits
mailing list