Fix debug build: static constexpr data member must have a definition (until C...
authorMehdi Amini <aminim@google.com>
Mon, 20 May 2019 06:09:29 +0000 (23:09 -0700)
committerMehdi Amini <joker.eph@gmail.com>
Mon, 20 May 2019 20:48:36 +0000 (13:48 -0700)
--

PiperOrigin-RevId: 248990338

mlir/lib/Transforms/DialectConversion.cpp

index 9c428d4..ff53880 100644 (file)
@@ -90,6 +90,8 @@ struct ProducerGenerator {
   UnknownLoc loc;
 };
 
+constexpr StringLiteral ProducerGenerator::kProducerName;
+
 //===----------------------------------------------------------------------===//
 // DialectConversionRewriter
 //===----------------------------------------------------------------------===//