kernel: fix formatting (thanks @boqwxp)
authorEddie Hung <eddie@fpgeh.com>
Mon, 16 Mar 2020 19:58:55 +0000 (12:58 -0700)
committerEddie Hung <eddie@fpgeh.com>
Thu, 2 Apr 2020 14:14:08 +0000 (07:14 -0700)
kernel/rtlil.h

index 2d490e6350ee4147bf27b8c048ea93efe0ded09d..e12d9d0495d9a9b37aee70c2bcd50dc1061b2a09 100644 (file)
@@ -363,12 +363,10 @@ namespace RTLIL
 
                template<typename... Args>
                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<int>{ (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<int>{ (result = result || in(args), 0)... };
+                       return result;
                }
 
                bool in(IdString rhs) const { return *this == rhs; }