[all-commits] [llvm/llvm-project] 3e5fc8: [C23] Fix treating unnamed records nested in diffe...

Volodymyr Sapsai via All-commits all-commits at lists.llvm.org
Tue Oct 14 16:14:51 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3e5fc80dfe7536f8fcbd50fc58f7cc66e0bf8f16
      https://github.com/llvm/llvm-project/commit/3e5fc80dfe7536f8fcbd50fc58f7cc66e0bf8f16
  Author: Volodymyr Sapsai <vsapsai at apple.com>
  Date:   2025-10-14 (Tue, 14 Oct 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/ASTStructuralEquivalence.cpp
    M clang/test/C/C23/n3037.c

  Log Message:
  -----------
  [C23] Fix treating unnamed records nested in different types as compatible. (#162933)

Don't compare and accept unnamed records from different types only
because they are defined in `RecordDecl` `DeclContext`. During recursive
comparison don't reject unnamed records defined inside other ordered
containers like Objective-C classes.

rdar://161592007



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