diff options
Diffstat (limited to 'mlir')
| -rw-r--r-- | mlir/lib/IR/StandardTypes.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mlir/lib/IR/StandardTypes.cpp b/mlir/lib/IR/StandardTypes.cpp index c14a6b8978d..036fd09f410 100644 --- a/mlir/lib/IR/StandardTypes.cpp +++ b/mlir/lib/IR/StandardTypes.cpp @@ -31,6 +31,9 @@ using namespace mlir::detail; // Integer Type //===----------------------------------------------------------------------===// +// static constexpr must have a definition (until in C++17 and inline variable). +constexpr unsigned IntegerType::kMaxWidth; + /// Verify the construction of an integer type. LogicalResult IntegerType::verifyConstructionInvariants( llvm::Optional<Location> loc, MLIRContext *context, unsigned width) { |

