[llvm] r259855 - Fix build breakage introduced by r259846.

Easwaran Raman via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 4 16:45:02 PST 2016


Author: eraman
Date: Thu Feb  4 18:45:02 2016
New Revision: 259855

URL: http://llvm.org/viewvc/llvm-project?rev=259855&view=rev
Log:
Fix build breakage introduced by r259846.


Modified:
    llvm/trunk/include/llvm/ProfileData/ProfileCommon.h

Modified: llvm/trunk/include/llvm/ProfileData/ProfileCommon.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ProfileData/ProfileCommon.h?rev=259855&r1=259854&r2=259855&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ProfileData/ProfileCommon.h (original)
+++ llvm/trunk/include/llvm/ProfileData/ProfileCommon.h Thu Feb  4 18:45:02 2016
@@ -13,6 +13,7 @@
 //===----------------------------------------------------------------------===//
 
 #include <cstdint>
+#include <functional>
 #include <map>
 #include <vector>
 
@@ -23,7 +24,7 @@ namespace llvm {
 namespace IndexedInstrProf {
 struct Summary;
 }
-class InstrProfRecord;
+struct InstrProfRecord;
 ///// Profile summary computation ////
 // The 'show' command displays richer summary of the profile data. The profile
 // summary is one or more (Cutoff, MinBlockCount, NumBlocks) triplets. Given a




More information about the llvm-commits mailing list