[Mlir-commits] [mlir] 70e6ed1 - Add '#include <functional>` to PassManager.h.
Alexander Belyaev
llvmlistbot at llvm.org
Thu Feb 13 05:43:33 PST 2020
Author: Alexander Belyaev
Date: 2020-02-13T14:43:21+01:00
New Revision: 70e6ed1db709584c6f0ca5f2c7904c74c962dec7
URL: https://github.com/llvm/llvm-project/commit/70e6ed1db709584c6f0ca5f2c7904c74c962dec7
DIFF: https://github.com/llvm/llvm-project/commit/70e6ed1db709584c6f0ca5f2c7904c74c962dec7.diff
LOG: Add '#include <functional>` to PassManager.h.
Summary:
On some platforms the build fails "std::function is not found". The include is used in
PassManager::IRPrinterConfig::enableIRPrinting.
Differential Revision: https://reviews.llvm.org/D74469
Added:
Modified:
mlir/include/mlir/Pass/PassManager.h
Removed:
################################################################################
diff --git a/mlir/include/mlir/Pass/PassManager.h b/mlir/include/mlir/Pass/PassManager.h
index e99734bc94ac..c770177c517b 100644
--- a/mlir/include/mlir/Pass/PassManager.h
+++ b/mlir/include/mlir/Pass/PassManager.h
@@ -14,6 +14,7 @@
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/iterator.h"
+#include <functional>
#include <vector>
namespace llvm {
More information about the Mlir-commits
mailing list