Skip to content

Commit 0aea1f2

Browse files
committed
[mlir] Add missing ManagedStatic.h includes (NFC)
1 parent 30299b8 commit 0aea1f2

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

mlir/lib/Debug/CLOptionsSetup.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
#include "mlir/IR/MLIRContext.h"
1717
#include "mlir/Support/FileUtilities.h"
1818
#include "llvm/Support/CommandLine.h"
19+
#include "llvm/Support/ManagedStatic.h"
1920
#include "llvm/Support/ToolOutputFile.h"
2021

2122
using namespace mlir;

mlir/lib/IR/AsmPrinter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
#include "llvm/Support/CommandLine.h"
4444
#include "llvm/Support/Debug.h"
4545
#include "llvm/Support/Endian.h"
46+
#include "llvm/Support/ManagedStatic.h"
4647
#include "llvm/Support/Regex.h"
4748
#include "llvm/Support/SaveAndRestore.h"
4849
#include "llvm/Support/Threading.h"

mlir/lib/Pass/PassCrashRecovery.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include "llvm/ADT/SetVector.h"
2020
#include "llvm/Support/CommandLine.h"
2121
#include "llvm/Support/CrashRecoveryContext.h"
22+
#include "llvm/Support/ManagedStatic.h"
2223
#include "llvm/Support/Mutex.h"
2324
#include "llvm/Support/Signals.h"
2425
#include "llvm/Support/Threading.h"

mlir/lib/Tools/mlir-translate/Translation.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include "mlir/IR/Verifier.h"
1818
#include "mlir/Parser/Parser.h"
1919
#include "mlir/Tools/ParseUtilities.h"
20+
#include "llvm/Support/ManagedStatic.h"
2021
#include "llvm/Support/SourceMgr.h"
2122
#include <optional>
2223

0 commit comments

Comments
 (0)