[all-commits] [llvm/llvm-project] fecd93: [Clang] Fix UB in #131515 (#132091)
cor3ntin via All-commits
all-commits at lists.llvm.org
Wed Mar 19 14:32:17 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fecd937910f640663885e0434bfed80cf4574072
https://github.com/llvm/llvm-project/commit/fecd937910f640663885e0434bfed80cf4574072
Author: cor3ntin <corentinjabot at gmail.com>
Date: 2025-03-19 (Wed, 19 Mar 2025)
Changed paths:
M clang/include/clang/AST/ExprCXX.h
M clang/lib/AST/ExprCXX.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/test/SemaCXX/builtin-structured-binding-size.cpp
Log Message:
-----------
[Clang] Fix UB in #131515 (#132091)
It turns out trailing objects are uninitialized
and APValue assignment operator requires a fully initialized object.
Additionally, do some drive-by post-commit-review fixes.
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