diff --git a/lib/Dialect/FIRRTL/Transforms/GrandCentral.cpp b/lib/Dialect/FIRRTL/Transforms/GrandCentral.cpp index be074cc6fdb9..f936d8ff3410 100644 --- a/lib/Dialect/FIRRTL/Transforms/GrandCentral.cpp +++ b/lib/Dialect/FIRRTL/Transforms/GrandCentral.cpp @@ -520,7 +520,7 @@ struct VerbatimType { /// A sum type representing either a type encoded as a string (VerbatimType) /// or an actual mlir::Type. -typedef std::variant TypeSum; +using TypeSum = std::variant; /// Stores the information content of an ExtractGrandCentralAnnotation. struct ExtractionInfo {