[llvm] r244156 - Add <numeric> header for use of std::accumulate().

Cong Hou congh at google.com
Wed Aug 5 15:13:43 PDT 2015


Author: conghou
Date: Wed Aug  5 17:13:43 2015
New Revision: 244156

URL: http://llvm.org/viewvc/llvm-project?rev=244156&view=rev
Log:
Add <numeric> header for use of std::accumulate().


Modified:
    llvm/trunk/include/llvm/CodeGen/MachineBranchProbabilityInfo.h

Modified: llvm/trunk/include/llvm/CodeGen/MachineBranchProbabilityInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineBranchProbabilityInfo.h?rev=244156&r1=244155&r2=244156&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/MachineBranchProbabilityInfo.h (original)
+++ llvm/trunk/include/llvm/CodeGen/MachineBranchProbabilityInfo.h Wed Aug  5 17:13:43 2015
@@ -18,6 +18,7 @@
 #include "llvm/Pass.h"
 #include "llvm/Support/BranchProbability.h"
 #include <climits>
+#include <numeric>
 
 namespace llvm {
 




More information about the llvm-commits mailing list