Skip to content

Commit

Permalink
[FIRRTL] AnnotationDetails.h: be consistent, prefer constexpr [NFC] (#…
Browse files Browse the repository at this point in the history
…3432)

Also, squelch warnings about these being unused.
  • Loading branch information
dtzSiFive authored Jun 29, 2022
1 parent b560c21 commit 55f8a48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/circt/Dialect/FIRRTL/AnnotationDetails.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ constexpr const char *injectDUTHierarchyAnnoClass =
"sifive.enterprise.firrtl.InjectDUTHierarchyAnnotation";

// MemToRegOfVec Annotations
static const char *convertMemToRegOfVecAnnoClass =
constexpr const char *convertMemToRegOfVecAnnoClass =
"sifive.enterprise.firrtl.ConvertMemToRegOfVecAnnotation$";
static const char *excludeMemToRegAnnoClass =
constexpr const char *excludeMemToRegAnnoClass =
"sifive.enterprise.firrtl.ExcludeMemFromMemToRegOfVec";

// Instance Extraction
Expand Down

0 comments on commit 55f8a48

Please sign in to comment.