diff options
| author | Albert Magyar | 2020-07-21 17:40:16 -0700 |
|---|---|---|
| committer | GitHub | 2020-07-21 17:40:16 -0700 |
| commit | 473a13877c60ba9fb13de47542a8397412c2b967 (patch) | |
| tree | 159cec6aa6ece2e87ceffbdc56a553fe71d0726b /core/src/main/scala/chisel3/When.scala | |
| parent | 4a0e828cfe76e0d3bd6c4a0cc593589fe74ed0ba (diff) | |
| parent | e5568f55a6a149adfd19ad04b264a69078288f86 (diff) | |
Merge pull request #1519 from freechipsproject/no-scalastyle
Remove scalastyle configurations
Diffstat (limited to 'core/src/main/scala/chisel3/When.scala')
| -rw-r--r-- | core/src/main/scala/chisel3/When.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/main/scala/chisel3/When.scala b/core/src/main/scala/chisel3/When.scala index ea243bbe..b24bdb35 100644 --- a/core/src/main/scala/chisel3/When.scala +++ b/core/src/main/scala/chisel3/When.scala @@ -9,7 +9,7 @@ import chisel3.internal.Builder.pushCommand import chisel3.internal.firrtl._ import chisel3.internal.sourceinfo.{SourceInfo} -object when { // scalastyle:ignore object.name +object when { /** Create a `when` condition block, where whether a block of logic is * executed or not depends on the conditional. * @@ -28,7 +28,7 @@ object when { // scalastyle:ignore object.name * }}} */ - def apply(cond: => Bool)(block: => Any)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): WhenContext = { // scalastyle:ignore line.size.limit + def apply(cond: => Bool)(block: => Any)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): WhenContext = { new WhenContext(sourceInfo, Some(() => cond), block) } } @@ -51,7 +51,7 @@ final class WhenContext(sourceInfo: SourceInfo, cond: Option[() => Bool], block: * declaration and assignment of the Bool node of the predicate in * the correct place. */ - def elsewhen (elseCond: => Bool)(block: => Any)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): WhenContext = { // scalastyle:ignore line.size.limit + def elsewhen (elseCond: => Bool)(block: => Any)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): WhenContext = { new WhenContext(sourceInfo, Some(() => elseCond), block, firrtlDepth + 1) } |
