[all-commits] [llvm/llvm-project] 6769a8: [C23] Handle type compatibility of unnamed records...

Aaron Ballman via All-commits all-commits at lists.llvm.org
Thu May 29 03:59:56 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6769a836e97d5a09b239f78a8fd63cf4dac1fe13
      https://github.com/llvm/llvm-project/commit/6769a836e97d5a09b239f78a8fd63cf4dac1fe13
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2025-05-29 (Thu, 29 May 2025)

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

  Log Message:
  -----------
  [C23] Handle type compatibility of unnamed records (#141783)

At the top-level, both types need to have a tag in order for them to be
compatible within the same TU in C23. An unnamed structure has no tag,
so it cannot be compatible with another type within the TU.

Fixes #141724



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