aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSchuyler Eldridge2020-06-19 00:23:23 -0400
committerSchuyler Eldridge2020-06-22 19:00:20 -0400
commit2d1e074a67483c136d5f0ed86e8ecf1b8505bc10 (patch)
tree52576850a9f00572c4c867970acfd17437c2e32a /src
parenta845a11458fb0feed337d416ff45a503c7771bb3 (diff)
Deprecate PreservesAll
Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/main/scala/firrtl/options/Phase.scala2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/scala/firrtl/options/Phase.scala b/src/main/scala/firrtl/options/Phase.scala
index 2d08318e..33e1dbb7 100644
--- a/src/main/scala/firrtl/options/Phase.scala
+++ b/src/main/scala/firrtl/options/Phase.scala
@@ -184,6 +184,8 @@ trait DependencyAPI[A <: DependencyAPI[A]] { this: TransformLike[_] =>
/** A trait indicating that no invalidations occur, i.e., all previous transforms are preserved
* @tparam A some [[TransformLike]]
*/
+@deprecated("Use an explicit `override def invalidates` returning false. This will be removed in FIRRTL 1.5.",
+ "FIRRTL 1.4")
trait PreservesAll[A <: DependencyAPI[A]] { this: DependencyAPI[A] =>
override final def invalidates(a: A): Boolean = false