summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorDean Michael Berris <dberris@google.com>2017-01-12 07:43:54 +0000
committerDean Michael Berris <dberris@google.com>2017-01-12 07:43:54 +0000
commit0c6392d3bc1714ae87bbdee6e45e208b3d53391e (patch)
tree43fd8eeca4709155599912be1a7b12c6f6d90d92 /llvm
parent429bac891fdb0837c0e922d444f705a84943cc75 (diff)
downloadbcm5719-llvm-0c6392d3bc1714ae87bbdee6e45e208b3d53391e.tar.gz
bcm5719-llvm-0c6392d3bc1714ae87bbdee6e45e208b3d53391e.zip
[XRay] Include <numeric> for std::accumulate.
Fix-up following D24377. llvm-svn: 291750
Diffstat (limited to 'llvm')
-rw-r--r--llvm/tools/llvm-xray/xray-account.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/llvm-xray/xray-account.cc b/llvm/tools/llvm-xray/xray-account.cc
index ceb8885cadb..7c2b88cb790 100644
--- a/llvm/tools/llvm-xray/xray-account.cc
+++ b/llvm/tools/llvm-xray/xray-account.cc
@@ -13,6 +13,7 @@
#include <algorithm>
#include <cassert>
+#include <numeric>
#include <system_error>
#include <utility>
OpenPOWER on IntegriCloud