Skip to content

Commit

Permalink
rtlil: indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
widlarizer committed Sep 11, 2024
1 parent 22fb8e4 commit a4ead4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/rtlil.h
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ namespace RTLIL
struct RTLIL::Const
{
short flags;
private:
private:
typedef std::vector<RTLIL::State> bitvectype;
enum class backing_tag: bool { bits, string };
// Do not access the union or tag even in Const methods unless necessary
Expand All @@ -691,7 +691,7 @@ struct RTLIL::Const
log_assert(is_str() && "malformed Const union");
return *get_if_str();
}
public:
public:
Const() : flags(RTLIL::CONST_FLAG_NONE), tag(backing_tag::bits), bits_(std::vector<RTLIL::State>()) {}
Const(const std::string &str);
Const(int val, int width = 32);
Expand Down

0 comments on commit a4ead4f

Please sign in to comment.