From: Eddie Hung Date: Mon, 16 Mar 2020 19:58:55 +0000 (-0700) Subject: kernel: fix formatting (thanks @boqwxp) X-Git-Tag: working-ls180~697^2~2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=18d85b88aed1b8ee3994f30cd60c143a57fe91d5;p=yosys.git kernel: fix formatting (thanks @boqwxp) --- diff --git a/kernel/rtlil.h b/kernel/rtlil.h index 2d490e635..e12d9d049 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -363,12 +363,10 @@ namespace RTLIL template bool in(Args... args) const { - //return in(first) || in(rest...); - - // Credit: https://articles.emptycrate.com/2016/05/14/folds_in_cpp11_ish.html - bool result = false; - (void) std::initializer_list{ (result = result || in(args), 0)... }; - return result; + // Credit: https://articles.emptycrate.com/2016/05/14/folds_in_cpp11_ish.html + bool result = false; + (void) std::initializer_list{ (result = result || in(args), 0)... }; + return result; } bool in(IdString rhs) const { return *this == rhs; }