[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
Wed Sep 28 06:20:39 PDT 2022
tbaeder added inline comments.
================
Comment at: clang/test/AST/Interp/records.cpp:52
static_assert(!ints2.c, "");
constexpr Ints ints3 = getInts();
----------------
aaron.ballman wrote:
> Can you think of a reasonable way for us to test that you're handling the RVO pointer properly?
I think this is tested already by any function returning a non-primitive value, i.e. a struct or an array, e.g. `getInts()` above.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134175/new/
https://reviews.llvm.org/D134175
More information about the cfe-commits
mailing list