[all-commits] [llvm/llvm-project] 16a914: [clang][test] Update ByteCode test expectations af...

Aman Maurya via All-commits all-commits at lists.llvm.org
Thu Sep 17 13:28:33 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 16a9145bc71502f988674cddfbf61e6d4da79916
      https://github.com/llvm/llvm-project/commit/16a9145bc71502f988674cddfbf61e6d4da79916
  Author: Aman Maurya <amanmaurya9209 at gmail.com>
  Date:   2026-09-17 (Thu, 17 Sep 2026)

  Changed paths:
    M clang/test/AST/ByteCode/records.cpp
    M clang/test/SemaCXX/aggregate-default-member-initializers.cpp

  Log Message:
  -----------
  [clang][test] Update ByteCode test expectations after #219288 (#224389)

### Summary
Fixes CI test failures introduced in #219288:
- In `clang/test/AST/ByteCode/records.cpp`, resolves the existing
`FIXME: See #85601` by updating `static_assert(discarded() == 1)` to
`static_assert(discarded() == 0)` now that temporary destruction timing
in aggregate default member initialization is fixed.
- In `clang/test/SemaCXX/aggregate-default-member-initializers.cpp`,
removes outdated `bytecode-error` and `bytecode-note` annotations in the
`lifetime` namespace that caused `-verify` failures ("diagnostics
expected but not seen") under `-fexperimental-new-constant-interpreter`.

Fixes build breakages on `main` affecting pre-merge CI across subsequent
PRs.

Cc: @yronglin



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