From 37b3c1775b65b0fb29c1119cd9ec6e5d7fdc473e Mon Sep 17 00:00:00 2001 From: Michael Kruse Date: Wed, 1 Aug 2018 00:48:01 +0000 Subject: [JSONExporter] Try to appease buildbot. NFC. The compiler does not seem to able move a local variable in the function's return statement. llvm-svn: 338466 --- polly/lib/Exchange/JSONExporter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'polly') diff --git a/polly/lib/Exchange/JSONExporter.cpp b/polly/lib/Exchange/JSONExporter.cpp index 7e7728003e0..423768bdeed 100644 --- a/polly/lib/Exchange/JSONExporter.cpp +++ b/polly/lib/Exchange/JSONExporter.cpp @@ -173,7 +173,7 @@ static json::Value getJSON(Scop &S) { } root["statements"] = std::move(Statements); - return root; + return json::Value(std::move(root)); } static void exportScop(Scop &S) { -- cgit v1.2.1