Cleanups for OSS build.

PiperOrigin-RevId: 238999629
This commit is contained in:
Jacques Pienaar
2019-03-18 09:26:20 -07:00
committed by jpienaar
parent c3b0c6a0dc
commit 1156b2df35
5 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -35,7 +35,7 @@ namespace mlir {
class Block;
class Dialect;
class Instruction;
class OperationState;
struct OperationState;
class OpAsmParser;
class OpAsmParserResult;
class OpAsmPrinter;

View File

@@ -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...);

View File

@@ -24,6 +24,7 @@
#define MLIR_TRANSFORMS_PASSES_H
#include "mlir/Support/LLVM.h"
#include <functional>
#include <limits>
namespace mlir {

View File

@@ -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;