[llvm] r258354 - Fix build warning.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 20 14:18:40 PST 2016
Oops. Thanks for the fix Evgeniy!
On Wed, Jan 20, 2016 at 2:02 PM, Evgeniy Stepanov via llvm-commits <
llvm-commits at lists.llvm.org> wrote:
> Author: eugenis
> Date: Wed Jan 20 16:02:07 2016
> New Revision: 258354
>
> URL: http://llvm.org/viewvc/llvm-project?rev=258354&view=rev
> Log:
> Fix build warning.
>
> error: field 'CCMgr' will be initialized after field 'IndirectStubsMgr'
> [-Werror,-Wreorder]
> : DL(TM.createDataLayout()), CCMgr(std::move(CCMgr)),
>
> Modified:
> llvm/trunk/lib/ExecutionEngine/Orc/OrcCBindingsStack.h
>
> Modified: llvm/trunk/lib/ExecutionEngine/Orc/OrcCBindingsStack.h
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/Orc/OrcCBindingsStack.h?rev=258354&r1=258353&r2=258354&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/ExecutionEngine/Orc/OrcCBindingsStack.h (original)
> +++ llvm/trunk/lib/ExecutionEngine/Orc/OrcCBindingsStack.h Wed Jan 20
> 16:02:07 2016
> @@ -89,8 +89,9 @@ public:
> OrcCBindingsStack(TargetMachine &TM,
> std::unique_ptr<CompileCallbackMgr> CCMgr,
> IndirectStubsManagerBuilder IndirectStubsMgrBuilder)
> - : DL(TM.createDataLayout()), CCMgr(std::move(CCMgr)),
> + : DL(TM.createDataLayout()),
> IndirectStubsMgr(IndirectStubsMgrBuilder()),
> + CCMgr(std::move(CCMgr)),
> ObjectLayer(),
> CompileLayer(ObjectLayer, orc::SimpleCompiler(TM)),
> CODLayer(CompileLayer,
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160120/3d9a164d/attachment.html>
More information about the llvm-commits
mailing list