[PATCH] D22491: Added ThinLTO inlining statistics

Piotr Padlewski via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 29 10:40:25 PDT 2016


It seems like a bug in VS 2013. Did you try using 2015?

2016-07-29 7:36 GMT-07:00 Yaxun Liu <yaxun.liu at amd.com>:

> yaxunl added a subscriber: yaxunl.
> yaxunl added a comment.
>
> Hi,
>
> This commit caused build failure in Visual Studio 2013:
>
> 55>C:\p4\stg_win60\git-llvm-tot\llvm\include\llvm/Transforms/Utils/ImportedFunctionsInliningStatistics.h(51):
> error C2610:
> 'llvm::ImportedFunctionsInliningStatistics::InlineGraphNode::InlineGraphNode(llvm::ImportedFunctionsInliningStatistics::InlineGraphNode
> &&)' : is not a special member function which can be defaulted
> 55>C:\p4\stg_win60\git-llvm-tot\llvm\include\llvm/Transforms/Utils/ImportedFunctionsInliningStatistics.h(52):
> error C2610: 'llvm::ImportedFunctionsInliningStatistics::InlineGraphNode
> &llvm::ImportedFunctionsInliningStatistics::InlineGraphNode::operator
> =(llvm::ImportedFunctionsInliningStatistics::InlineGraphNode &&)' : is not
> a special member function which can be defaulted
> 59>  CGOpenMPRuntime.cpp
> 58>  clangBasic.vcxproj ->
> C:\p4\stg_win60\git-llvm-tot\build\Debug\lib\clangBasic.lib
> 56>C:\p4\stg_win60\git-llvm-tot\llvm\include\llvm/Transforms/Utils/ImportedFunctionsInliningStatistics.h(51):
> error C2610:
> 'llvm::ImportedFunctionsInliningStatistics::InlineGraphNode::InlineGraphNode(llvm::ImportedFunctionsInliningStatistics::InlineGraphNode
> &&)' : is not a special member function which can be defaulted
> (C:\p4\stg_win60\git-llvm-tot\llvm\lib\Transforms\IPO\InlineSimple.cpp)
> 56>C:\p4\stg_win60\git-llvm-tot\llvm\include\llvm/Transforms/Utils/ImportedFunctionsInliningStatistics.h(52):
> error C2610: 'llvm::ImportedFunctionsInliningStatistics::InlineGraphNode
> &llvm::ImportedFunctionsInliningStatistics::InlineGraphNode::operator
> =(llvm::ImportedFunctionsInliningStatistics::InlineGraphNode &&)' : is not
> a special member function which can be defaulted
> (C:\p4\stg_win60\git-llvm-tot\llvm\lib\Transforms\IPO\InlineSimple.cpp)
> 56>C:\p4\stg_win60\git-llvm-tot\llvm\include\llvm/Transforms/Utils/ImportedFunctionsInliningStatistics.h(51):
> error C2610:
> 'llvm::ImportedFunctionsInliningStatistics::InlineGraphNode::InlineGraphNode(llvm::ImportedFunctionsInliningStatistics::InlineGraphNode
> &&)' : is not a special member function which can be defaulted
> (C:\p4\stg_win60\git-llvm-tot\llvm\lib\Transforms\IPO\InlineAlways.cpp)
> 56>C:\p4\stg_win60\git-llvm-tot\llvm\include\llvm/Transforms/Utils/ImportedFunctionsInliningStatistics.h(52):
> error C2610: 'llvm::ImportedFunctionsInliningStatistics::InlineGraphNode
> &llvm::ImportedFunctionsInliningStatistics::InlineGraphNode::operator
> =(llvm::ImportedFunctionsInliningStatistics::InlineGraphNode &&)' : is not
> a special member function which can be defaulted
> (C:\p4\stg_win60\git-llvm-tot\llvm\lib\Transforms\IPO\InlineAlways.cpp)
> 56>C:\p4\stg_win60\git-llvm-tot\llvm\include\llvm/Transforms/Utils/ImportedFunctionsInliningStatistics.h(51):
> error C2610:
> 'llvm::ImportedFunctionsInliningStatistics::InlineGraphNode::InlineGraphNode(llvm::ImportedFunctionsInliningStatistics::InlineGraphNode
> &&)' : is not a special member function which can be defaulted
> (C:\p4\stg_win60\git-llvm-tot\llvm\lib\Transforms\IPO\Inliner.cpp)
> 56>C:\p4\stg_win60\git-llvm-tot\llvm\include\llvm/Transforms/Utils/ImportedFunctionsInliningStatistics.h(52):
> error C2610: 'llvm::ImportedFunctionsInliningStatistics::InlineGraphNode
> &llvm::ImportedFunctionsInliningStatistics::InlineGraphNode::operator
> =(llvm::ImportedFunctionsInliningStatistics::InlineGraphNode &&)' : is not
> a special member function which can be defaulted
> (C:\p4\stg_win60\git-llvm-tot\llvm\lib\Transforms\IPO\Inliner.cpp)
>
>
> Repository:
>   rL LLVM
>
> https://reviews.llvm.org/D22491
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160729/993ce9fe/attachment.html>


More information about the llvm-commits mailing list