[all-commits] [llvm/llvm-project] ddda8d: [clang][bytecode] Fix reading union template param...
Yanzuo Liu via All-commits
all-commits at lists.llvm.org
Thu Feb 5 07:38:21 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ddda8d7d259826e9a686469d531787ea223d727d
https://github.com/llvm/llvm-project/commit/ddda8d7d259826e9a686469d531787ea223d727d
Author: Yanzuo Liu <zwuis at outlook.com>
Date: 2026-02-05 (Thu, 05 Feb 2026)
Changed paths:
M clang/lib/AST/ByteCode/Compiler.cpp
M clang/test/AST/ByteCode/cxx20.cpp
Log Message:
-----------
[clang][bytecode] Fix reading union template parameter object (#179899)
Before this patch, reading union template parameter object will trigger
diagnostics saying it's not initialized. This patch fixes this issue.
Reading union template parameter with no active fields, class type
fields, or bit-fields is handled as a drive-by.
AI usage: The implementation was generated by AI and modified by me
afterwards.
Assisted-by: GPT-5.2
---------
Co-authored-by: Timm Baeder <tbaeder at redhat.com>
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