[PATCH] D93955: [Sema] Add support for reporting multiple errors during initialization

Yang Fan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 31 01:42:07 PST 2020


nullptr.cpp created this revision.
nullptr.cpp requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93955

Files:
  clang/include/clang/Sema/Initialization.h
  clang/lib/Sema/SemaCast.cpp
  clang/lib/Sema/SemaInit.cpp
  clang/test/SemaCXX/diagnostic-overload-resolution.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93955.314176.patch
Type: text/x-patch
Size: 58784 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201231/78c2b647/attachment-0001.bin>


More information about the cfe-commits mailing list