summaryrefslogtreecommitdiff
path: root/polly
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2018-08-01 00:48:01 +0000
committerMichael Kruse <llvm@meinersbur.de>2018-08-01 00:48:01 +0000
commitbe52e07c1e04df626f9b715937e41e08a00120d5 (patch)
treeeb30582433f8de9f19db838fe843c5967aa2eef7 /polly
parentca576142b60a189f951c179a3d660ec76b32e7b1 (diff)
[JSONExporter] Try to appease buildbot. NFC.
The compiler does not seem to able move a local variable in the function's return statement.
Diffstat (limited to 'polly')
-rw-r--r--polly/lib/Exchange/JSONExporter.cpp2
1 files changed, 1 insertions, 1 deletions
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) {