[clang] [CIR] Add pass_object_size hidden parameter support (PR #191482)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 15 12:10:30 PDT 2026
================
@@ -174,6 +174,11 @@ class CIRGenFunction : public CIRGenTypeCache {
ImplicitParamDecl *cxxStructorImplicitParamDecl{};
mlir::Value cxxStructorImplicitParamValue{};
+ /// If a ParmVarDecl had the pass_object_size attribute, this will contain a
+ /// mapping from said ParmVarDecl to its implicit "object_size" parameter.
+ llvm::SmallDenseMap<const ParmVarDecl *, const ImplicitParamDecl *, 2>
+ sizeArguments;
----------------
adams381 wrote:
Done.
https://github.com/llvm/llvm-project/pull/191482
More information about the cfe-commits
mailing list