[all-commits] [llvm/llvm-project] 9d6cec: [clang][Interp] Fix activating via indirect field ...
Timm Baeder via All-commits
all-commits at lists.llvm.org
Sat Aug 10 07:32:37 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9d6cec5f349d4e26ac8610565dbbe4678a965278
https://github.com/llvm/llvm-project/commit/9d6cec5f349d4e26ac8610565dbbe4678a965278
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2024-08-10 (Sat, 10 Aug 2024)
Changed paths:
M clang/lib/AST/Interp/Compiler.cpp
M clang/lib/AST/Interp/Interp.h
M clang/lib/AST/Interp/Opcodes.td
M clang/test/AST/Interp/unions.cpp
Log Message:
-----------
[clang][Interp] Fix activating via indirect field initializers (#102753)
Pointer::activate() propagates up anyway, so that is handled. But we
need to call activate() in any case since the parent might not be a
union, but the activate() is still needed. Always call it and hope that
the InUnion flag takes care of the potential performance problems.
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