We pass these as pointers, so we need to be careful not to emit pointers to pointers when we emit visit DeclRefExprs pointing to parameters.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D153695
[clang][Interp] Fix passing parameters of composite type ClosedPublic Authored by tbaeder on Jun 24 2023, 3:39 AM.
Details Summary We pass these as pointers, so we need to be careful not to emit pointers to pointers when we emit visit DeclRefExprs pointing to parameters.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Jul 5 2023, 7:08 AM This revision was landed with ongoing or failed builds.Aug 17 2023, 3:08 AM Closed by commit rG89361e2b98a9: [clang][Interp] Fix passing parameters of composite type (authored by tbaeder). · Explain Why This revision was automatically updated to reflect the committed changes. tbaeder marked 3 inline comments as done.
Revision Contents
Diff 534187 clang/lib/AST/Interp/ByteCodeEmitter.h
clang/lib/AST/Interp/ByteCodeEmitter.cpp
clang/lib/AST/Interp/ByteCodeExprGen.cpp
clang/lib/AST/Interp/ByteCodeStmtGen.cpp
clang/lib/AST/Interp/Context.h
clang/lib/AST/Interp/Context.cpp
clang/lib/AST/Interp/EvalEmitter.h
clang/test/AST/Interp/lambda.cpp
clang/test/AST/Interp/records.cpp
|
I don't understand the additional comment,