[llvm] r255578 - A better attempt to add a missing include

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 14 15:34:36 PST 2015


Author: rafael
Date: Mon Dec 14 17:34:35 2015
New Revision: 255578

URL: http://llvm.org/viewvc/llvm-project?rev=255578&view=rev
Log:
A better attempt to add a missing include

Modified:
    llvm/trunk/include/llvm/Transforms/IPO/FunctionImport.h
    llvm/trunk/lib/Transforms/IPO/FunctionImport.cpp

Modified: llvm/trunk/include/llvm/Transforms/IPO/FunctionImport.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/IPO/FunctionImport.h?rev=255578&r1=255577&r2=255578&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Transforms/IPO/FunctionImport.h (original)
+++ llvm/trunk/include/llvm/Transforms/IPO/FunctionImport.h Mon Dec 14 17:34:35 2015
@@ -11,6 +11,7 @@
 #define LLVM_FUNCTIONIMPORT_H
 
 #include "llvm/ADT/StringMap.h"
+#include <functional>
 
 namespace llvm {
 class LLVMContext;

Modified: llvm/trunk/lib/Transforms/IPO/FunctionImport.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/FunctionImport.cpp?rev=255578&r1=255577&r2=255578&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/FunctionImport.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/FunctionImport.cpp Mon Dec 14 17:34:35 2015
@@ -25,7 +25,6 @@
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/SourceMgr.h"
 
-#include <functional>
 #include <map>
 
 using namespace llvm;




More information about the llvm-commits mailing list