From fb661b795c29918ed7fc539b07b793250b8475ac Mon Sep 17 00:00:00 2001 From: Johannes Doerfert Date: Wed, 14 Aug 2019 22:32:29 +0000 Subject: [PATCH] [Attributor] Try to fix "missing field 'RetInsts' initializer" warning http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/35674/steps/build_Lld/logs/stdio git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368938 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/IPO/Attributor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/IPO/Attributor.cpp b/lib/Transforms/IPO/Attributor.cpp index aac00d5b994..b49e64426e8 100644 --- a/lib/Transforms/IPO/Attributor.cpp +++ b/lib/Transforms/IPO/Attributor.cpp @@ -735,7 +735,7 @@ ChangeStatus AAReturnedValuesImpl::updateImpl(Attributor &A) { // Callback for all "return intructions" live in the associated function. auto CheckReturnInst = [this, &VisitReturnedValue, &Changed](Instruction &I) { ReturnInst &Ret = cast(I); - RVState RVS({ReturnedValues, false}); + RVState RVS({ReturnedValues, false, {}}); RVS.RetInsts.insert(&Ret); Changed |= RVS.Changed; return VisitReturnedValue(*Ret.getReturnValue(), RVS); -- 2.40.0