mirror of
https://github.com/intel/llvm.git
synced 2026-01-25 19:44:38 +08:00
Cleanups for OSS build.
PiperOrigin-RevId: 238999629
This commit is contained in:
committed by
jpienaar
parent
c3b0c6a0dc
commit
1156b2df35
@@ -56,7 +56,7 @@ protected:
|
||||
bool properlyDominates(const Block *a, const Block *b);
|
||||
|
||||
/// A mapping of regions to their base dominator tree.
|
||||
DenseMap<const Region *, std::unique_ptr<base>> dominanceInfos;
|
||||
llvm::DenseMap<const Region *, std::unique_ptr<base>> dominanceInfos;
|
||||
};
|
||||
} // end namespace detail
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace mlir {
|
||||
class Block;
|
||||
class Dialect;
|
||||
class Instruction;
|
||||
class OperationState;
|
||||
struct OperationState;
|
||||
class OpAsmParser;
|
||||
class OpAsmParserResult;
|
||||
class OpAsmPrinter;
|
||||
|
||||
@@ -154,7 +154,6 @@ public:
|
||||
!std::is_same<typename T::ImplType, DefaultTypeStorage>::value, T>::type
|
||||
get(MLIRContext *ctx, unsigned kind, Args &&... args) {
|
||||
using ImplType = typename T::ImplType;
|
||||
using KeyTy = typename ImplType::KeyTy;
|
||||
|
||||
// Construct a value of the derived key type.
|
||||
auto derivedKey = getKey<ImplType>(args...);
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#define MLIR_TRANSFORMS_PASSES_H
|
||||
|
||||
#include "mlir/Support/LLVM.h"
|
||||
#include <functional>
|
||||
#include <limits>
|
||||
|
||||
namespace mlir {
|
||||
|
||||
@@ -218,7 +218,7 @@ static OptResult processFile(std::unique_ptr<MemoryBuffer> ownedBuffer) {
|
||||
unsigned lineNo;
|
||||
StringRef substring;
|
||||
SMLoc fileLoc;
|
||||
bool matched = false;
|
||||
bool matched;
|
||||
};
|
||||
SmallVector<ExpectedDiag, 2> expectedDiags;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user