Add YS_FALLTHROUGH macro to mark case fall-through
authorXiretza <xiretza@xiretza.xyz>
Mon, 4 May 2020 19:12:30 +0000 (21:12 +0200)
committerXiretza <xiretza@xiretza.xyz>
Thu, 7 May 2020 11:39:34 +0000 (13:39 +0200)
commit695150b0378528233837348b598033b137b8a949
treedf1720c84ac61299984dde8a0c0ac3bf52c99924
parenta299e606f864942c7edf90c4ad3998f4f4a346cf
Add YS_FALLTHROUGH macro to mark case fall-through

C++17 introduced [[fallthrough]], GCC and clang had their own vendored
attributes before that. MSVC doesn't seem to have such a warning at all.
backends/cxxrtl/cxxrtl.cc
backends/firrtl/firrtl.cc
frontends/ast/genrtlil.cc
frontends/ast/simplify.cc
kernel/yosys.h