Function defined in a header should be inline. Found by modules build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207157 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Richard Smith 2014-04-24 23:14:32 +00:00
parent 1749b55006
commit 12da0f2bcd

View File

@ -346,7 +346,7 @@ namespace PBQP {
typedef Graph<RegAllocSolverImpl> Graph;
Solution solve(Graph& G) {
inline Solution solve(Graph& G) {
if (G.empty())
return Solution();
RegAllocSolverImpl RegAllocSolver(G);