aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/firrtl/options/phases/ConvertLegacyAnnotations.scala
diff options
context:
space:
mode:
authorJack Koenig2020-08-12 21:17:14 -0700
committerGitHub2020-08-13 04:17:14 +0000
commit39f510a9081d09d94d56eb89ceb97a678993fda1 (patch)
tree02dcadb37c768d5763f6eae87b84b5aeeead6df1 /src/main/scala/firrtl/options/phases/ConvertLegacyAnnotations.scala
parente1d3a0c64a48b4c9999ad59f15922db7c155c361 (diff)
Remove LegacyAnnotation and [most] MoultingYaml (#1833)
* Remove LegacyAnnotation and MoultingYaml It has been deprecated since 1.1 * Remove all uses of ConvertLegacyAnnotations Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Diffstat (limited to 'src/main/scala/firrtl/options/phases/ConvertLegacyAnnotations.scala')
-rw-r--r--src/main/scala/firrtl/options/phases/ConvertLegacyAnnotations.scala6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main/scala/firrtl/options/phases/ConvertLegacyAnnotations.scala b/src/main/scala/firrtl/options/phases/ConvertLegacyAnnotations.scala
index 559b5d28..d75acbb2 100644
--- a/src/main/scala/firrtl/options/phases/ConvertLegacyAnnotations.scala
+++ b/src/main/scala/firrtl/options/phases/ConvertLegacyAnnotations.scala
@@ -3,10 +3,9 @@
package firrtl.options.phases
import firrtl.AnnotationSeq
-import firrtl.annotations.LegacyAnnotation
import firrtl.options.{Dependency, Phase}
-/** Convert any [[firrtl.annotations.LegacyAnnotation LegacyAnnotation]]s to non-legacy variants */
+@deprecated("LegacyAnnotation has been removed, this is a no-op", "FIRRTL 1.4")
class ConvertLegacyAnnotations extends Phase {
override def prerequisites = Seq(Dependency[GetIncludes])
@@ -15,6 +14,5 @@ class ConvertLegacyAnnotations extends Phase {
override def invalidates(a: Phase) = false
- def transform(annotations: AnnotationSeq): AnnotationSeq = LegacyAnnotation.convertLegacyAnnos(annotations)
-
+ def transform(annotations: AnnotationSeq): AnnotationSeq = annotations
}