During the initialization process, more than one error may be encountered, but
Clang reports only one of them. This patch makes Clang report all errors.
Depends on D93962
Paths
| Differential D93955
[Sema] Add support for reporting multiple errors during initialization Needs ReviewPublic Authored by nullptr.cpp on Dec 31 2020, 1:42 AM. This revision needs review, but there are no reviewers specified.
Details
Summary During the initialization process, more than one error may be encountered, but Depends on D93962
Diff Detail
Event Timelinenullptr.cpp created this revision. nullptr.cpp added a parent revision: D92936: [Sema] Fix deleted function problem in implicitly movable test. Comment ActionsUpdate nullptr.cpp added a parent revision: D93962: [Sema] Fix the program state in reference initialization. Comment ActionsSeparate out D93962 • Quuxplusone added inline comments.
Revision Contents
Diff 314176 clang/include/clang/Sema/Initialization.h
clang/lib/Sema/SemaCast.cpp
clang/lib/Sema/SemaInit.cpp
clang/test/SemaCXX/diagnostic-overload-resolution.cpp
|