[all-commits] [llvm/llvm-project] e9988c: [clang][Sema] Propagate qualifiers during derived-...

Antonio Frighetto via All-commits all-commits at lists.llvm.org
Wed Mar 19 01:09:56 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e9988c36ed788b2d1ce00b028bed51169bd8b02c
      https://github.com/llvm/llvm-project/commit/e9988c36ed788b2d1ce00b028bed51169bd8b02c
  Author: Antonio Frighetto <me at antoniofrighetto.com>
  Date:   2025-03-19 (Wed, 19 Mar 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaExpr.cpp
    M clang/test/CodeGenCXX/derived-to-base.cpp
    A clang/test/SemaCXX/derived-to-base-propagate-qualifiers.cpp

  Log Message:
  -----------
  [clang][Sema] Propagate qualifiers during derived-to-base conversion

When accessing a field member through a derived-to-base conversion,
ensure qualifiers are propagated to the base class subobject.

Fixes: https://github.com/llvm/llvm-project/issues/127683.



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