[PATCH] D134175: [clang][Interp] Implement record instance functions and returning struct types
Timm Bäder via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 19 04:26:34 PDT 2022
tbaeder created this revision.
tbaeder added reviewers: aaron.ballman, erichkeane, shafik, tahonermann.
Herald added a project: All.
tbaeder requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Continuation of https://reviews.llvm.org/D134057. Implement passing a `This` pointer to instance functions as well as handling the RVO pointer. For the latter, I'm sure there are a lot of details left, but for now this works pretty well.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D134175
Files:
clang/lib/AST/Interp/ByteCodeEmitter.cpp
clang/lib/AST/Interp/ByteCodeExprGen.cpp
clang/lib/AST/Interp/ByteCodeExprGen.h
clang/lib/AST/Interp/ByteCodeStmtGen.cpp
clang/lib/AST/Interp/Disasm.cpp
clang/lib/AST/Interp/EvalEmitter.cpp
clang/lib/AST/Interp/Function.cpp
clang/lib/AST/Interp/Function.h
clang/lib/AST/Interp/Interp.cpp
clang/lib/AST/Interp/InterpFrame.cpp
clang/lib/AST/Interp/InterpFrame.h
clang/lib/AST/Interp/Pointer.h
clang/test/AST/Interp/records.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134175.461184.patch
Type: text/x-patch
Size: 19519 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220919/43905518/attachment-0001.bin>
More information about the cfe-commits
mailing list