================
@@ -1604,6 +1725,11 @@ CodeGenFunction::EmitAutoVarAlloca(const VarDecl &D) {
allocaAlignment, D.getName(),
/*ArraySize=*/nullptr, &AllocaAddr);
+ if (IsRestrictExperimentalSupportEnabled()) {
+ llvm::StringRef CurScopeCode = ScopeCodes.back().first;
+ ConstructMetodataForScope(AllocaAddr, Ty, CurScopeCode);
----------------
erichkeane wrote:
Should be `Metadata`?
https://github.com/llvm/llvm-project/pull/173394
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits