[all-commits] [llvm/llvm-project] af16a4: Improve error message for constexpr constructors o...

Nouman Amir via All-commits all-commits at lists.llvm.org
Tue Oct 3 12:06:27 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: af16a4e131c1383c1b023f9384f0d73a3d207a2f
      https://github.com/llvm/llvm-project/commit/af16a4e131c1383c1b023f9384f0d73a3d207a2f
  Author: Nouman Amir <noumanamir453 at gmail.com>
  Date:   2023-10-03 (Tue, 03 Oct 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p3.cpp

  Log Message:
  -----------
  Improve error message for constexpr constructors of virtual base classes

The changes are for better diagnostic/error-messages. The error message
of Clang, MSVC, and GCC were compared and MSVC gives more detailed
error message so that is used now.

Fixes https://github.com/llvm/llvm-project/issues/64843
Differential Revision: https://reviews.llvm.org/D158540




More information about the All-commits mailing list