Skip to content

Commit

Permalink
[FIRRTL] Chang typedef to using, NFC
Browse files Browse the repository at this point in the history
Change a `typedef foo bar` to a `using bar = foo` in the Grand Central
pass.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
  • Loading branch information
seldridge committed Jan 2, 2025
1 parent a237db5 commit ff847ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Dialect/FIRRTL/Transforms/GrandCentral.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<VerbatimType, Type> TypeSum;
using TypeSum = std::variant<VerbatimType, Type>;

/// Stores the information content of an ExtractGrandCentralAnnotation.
struct ExtractionInfo {
Expand Down

0 comments on commit ff847ed

Please sign in to comment.