[PATCH] D141775: [Clang] Export CanPassInRegisters as a type trait
Erich Keane via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 17 06:19:44 PST 2023
erichkeane added inline comments.
================
Comment at: clang/lib/Sema/SemaExprCXX.cpp:5387
+ return RD->canPassInRegisters();
+ return true;
}
----------------
Is there good reason to return true for all non-record types? Should we instead be limiting the types that can make it this far?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141775/new/
https://reviews.llvm.org/D141775
More information about the cfe-commits
mailing list