apply make format
This commit is contained in:
parent
c9ec8730a9
commit
ccff993489
|
|
@ -244,8 +244,8 @@ private:
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename Elem>
|
template <typename Elem>
|
||||||
static typename std::enable_if<VlIsVlWide<Elem>::value, Elem>::type
|
static typename std::enable_if<VlIsVlWide<Elem>::value, Elem>::type blendElem(Elem cur,
|
||||||
blendElem(Elem cur, const Entry& e) {
|
const Entry& e) {
|
||||||
if (e.m_elemWidth == 0) return *static_cast<const Elem*>(e.m_rhsDatap);
|
if (e.m_elemWidth == 0) return *static_cast<const Elem*>(e.m_rhsDatap);
|
||||||
Elem res = cur;
|
Elem res = cur;
|
||||||
const Entry bitEntry{e.m_bitLsb, e.m_bitMsb, e.m_rhsLsb, e.m_rhsDatap, 0, 0, 0};
|
const Entry bitEntry{e.m_bitLsb, e.m_bitMsb, e.m_rhsLsb, e.m_rhsDatap, 0, 0, 0};
|
||||||
|
|
@ -366,7 +366,6 @@ public:
|
||||||
const std::size_t at = trimElementBitRange(lsb, bitLsb, bitMsb);
|
const std::size_t at = trimElementBitRange(lsb, bitLsb, bitMsb);
|
||||||
m_entries.insert(m_entries.begin() + at,
|
m_entries.insert(m_entries.begin() + at,
|
||||||
Entry{lsb, msb, rhsLsb, rhsDatap, bitLsb, bitMsb, elemWidth});
|
Entry{lsb, msb, rhsLsb, rhsDatap, bitLsb, bitMsb, elemWidth});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void release(int lsb, int msb) {
|
void release(int lsb, int msb) {
|
||||||
|
|
|
||||||
|
|
@ -1153,7 +1153,6 @@ class ForceConvertVisitor final : public VNVisitor {
|
||||||
const ForceState::ForceRangeInfo rangeInfo
|
const ForceState::ForceRangeInfo rangeInfo
|
||||||
= m_state.getForceRangeInfo(lhsp, releasedVarp, false);
|
= m_state.getForceRangeInfo(lhsp, releasedVarp, false);
|
||||||
|
|
||||||
|
|
||||||
const AstSel* const selLhsp = VN_CAST(lhsp, Sel);
|
const AstSel* const selLhsp = VN_CAST(lhsp, Sel);
|
||||||
const bool arrayBitSel
|
const bool arrayBitSel
|
||||||
= rangeInfo.m_hasArraySel && selLhsp && rangeInfo.m_arrayInfo.m_hasBitSel
|
= rangeInfo.m_hasArraySel && selLhsp && rangeInfo.m_arrayInfo.m_hasBitSel
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue