[all-commits] [llvm/llvm-project] d0a038: [Clang] Ignore invalid base classes (#147213)

Shashi Shankar via All-commits all-commits at lists.llvm.org
Thu Jul 10 04:32:03 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d0a038296ea7037454a0b1414aa38f56fbcdc759
      https://github.com/llvm/llvm-project/commit/d0a038296ea7037454a0b1414aa38f56fbcdc759
  Author: Shashi Shankar <shashishankar1687 at gmail.com>
  Date:   2025-07-10 (Thu, 10 Jul 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Parse/ParseDeclCXX.cpp
    A clang/test/SemaCXX/invalid-base-inheritance.cpp

  Log Message:
  -----------
  [Clang] Ignore invalid base classes (#147213)

When building a RecordDecl, ignore invalid base classes. This solves crashes later on and leads to better recovery.

Fixes #147186



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list