[clang] [clang][bytecode] Add InitLinkScope for temporary variables (PR #106552)
Timm Baeder via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 30 00:12:32 PDT 2024
tbaederr wrote:
@AaronBallman Can you confirm whether the following behavior is correct?
When a `CXXDefaultInitExpr` is the child node of an `InitListExpr`, all `CXXThisExpr` found within that `CXXDefaultInitExpr` point to the `InitListExpr` and not to the actual instance pointer of the current stack frame.
To properly implement this, I'd need to create a temporary variable whenever I encounter a `InitListExpr` though, which I'd like to avoid.
https://github.com/llvm/llvm-project/pull/106552
More information about the cfe-commits
mailing list