[all-commits] [llvm/llvm-project] 40dc4d: [clang] fix serialization for SubstNonTypeTemplate...
Matheus Izvekov via All-commits
all-commits at lists.llvm.org
Fri Apr 11 12:51:47 PDT 2025
Branch: refs/heads/users/mizvekov/subst-pack-fix-serialization-final
Home: https://github.com/llvm/llvm-project
Commit: 40dc4d8e3a7c66b54a1b3ef3cedb7dbe3d4e131b
https://github.com/llvm/llvm-project/commit/40dc4d8e3a7c66b54a1b3ef3cedb7dbe3d4e131b
Author: Matheus Izvekov <mizvekov at gmail.com>
Date: 2025-04-11 (Fri, 11 Apr 2025)
Changed paths:
M clang/lib/Serialization/ASTReaderStmt.cpp
M clang/lib/Serialization/ASTWriterStmt.cpp
Log Message:
-----------
[clang] fix serialization for SubstNonTypeTemplateParmPackExpr
This fixes a PCM non-determinism regression reported here:
https://github.com/llvm/llvm-project/pull/134560#issuecomment-2797744370
There was a bit in `SubstNonTypeTemplateParmPackExpr` which we missed
to serialize, and that bit eventually propagates to
`SubstNonTypeTemplateParmExpr`.
As a drive by, improve serialization for PackIndex on SubstNonTypeTemplateParmExpr
by using the newly introduced UnsignedOrNone helpers.
There are no release notes since this regression was never released.
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