[MLIR] Add includes to PointerLikeTypeTraits where needed.

Summary:
This is to ensure that the template declaration is seen before
any template specialization.

Reviewers: mravishankar, antiagainst, rriddle!

Differential Revision: https://reviews.llvm.org/D75442
This commit is contained in:
Stephan Herhut 2020-03-02 11:34:25 +01:00
parent 3ae2fc7a8b
commit 56ac9d30d3
10 changed files with 10 additions and 0 deletions

View File

@ -15,6 +15,7 @@
#include "mlir/Dialect/SPIRV/SPIRVTypes.h"
#include "mlir/IR/Function.h"
#include "llvm/Support/PointerLikeTypeTraits.h"
namespace mlir {
class OpBuilder;

View File

@ -12,6 +12,7 @@
#include "mlir/IR/AttributeSupport.h"
#include "llvm/ADT/APFloat.h"
#include "llvm/ADT/Sequence.h"
#include "llvm/Support/PointerLikeTypeTraits.h"
namespace mlir {
class AffineMap;

View File

@ -18,6 +18,7 @@
#include "mlir/IR/FunctionSupport.h"
#include "mlir/IR/OpDefinition.h"
#include "mlir/IR/SymbolTable.h"
#include "llvm/Support/PointerLikeTypeTraits.h"
namespace mlir {
//===--------------------------------------------------------------------===//

View File

@ -12,6 +12,7 @@
#include "mlir/Support/LLVM.h"
#include "llvm/ADT/DenseMapInfo.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/PointerLikeTypeTraits.h"
namespace mlir {
class MLIRContext;

View File

@ -15,6 +15,7 @@
#define MLIR_IR_LOCATION_H
#include "mlir/IR/Attributes.h"
#include "llvm/Support/PointerLikeTypeTraits.h"
namespace mlir {

View File

@ -14,6 +14,7 @@
#define MLIR_IR_MODULE_H
#include "mlir/IR/SymbolTable.h"
#include "llvm/Support/PointerLikeTypeTraits.h"
namespace mlir {
class ModuleTerminatorOp;

View File

@ -20,6 +20,7 @@
#define MLIR_IR_OPDEFINITION_H
#include "mlir/IR/Operation.h"
#include "llvm/Support/PointerLikeTypeTraits.h"
#include <type_traits>
namespace mlir {

View File

@ -21,6 +21,7 @@
#include "mlir/IR/Value.h"
#include "mlir/Support/LogicalResult.h"
#include "llvm/ADT/PointerUnion.h"
#include "llvm/Support/PointerLikeTypeTraits.h"
#include "llvm/Support/TrailingObjects.h"
#include <memory>

View File

@ -12,6 +12,7 @@
#include "mlir/IR/TypeSupport.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/DenseMapInfo.h"
#include "llvm/Support/PointerLikeTypeTraits.h"
namespace mlir {
class FloatType;

View File

@ -16,6 +16,7 @@
#include "mlir/IR/Types.h"
#include "mlir/IR/UseDefLists.h"
#include "mlir/Support/LLVM.h"
#include "llvm/Support/PointerLikeTypeTraits.h"
namespace mlir {
class AsmState;