Internals: Update to clang-format-11 (#3021)

This commit is contained in:
Geza Lore
2021-06-14 14:50:40 -04:00
committed by GitHub
parent 2705715bb1
commit c75a686081
12 changed files with 60 additions and 53 deletions
+5 -7
View File
@@ -110,13 +110,11 @@ class EmitCConstPool final : EmitCBaseVisitor {
UASSERT_OBJ(dtypep, nodep, "Array initializer has non-array dtype");
const uint32_t size = dtypep->elementsConst();
const uint32_t elemBytes = dtypep->subDTypep()->widthTotalBytes();
const uint32_t tabMod = dtypep->subDTypep()->isString()
? 1 // String
: elemBytes <= 2
? 8 // CData, SData
: elemBytes <= 4 ? 4 // IData
: elemBytes <= 8 ? 2 // QData
: 1;
const uint32_t tabMod = dtypep->subDTypep()->isString() ? 1 // String
: elemBytes <= 2 ? 8 // CData, SData
: elemBytes <= 4 ? 4 // IData
: elemBytes <= 8 ? 2 // QData
: 1;
VL_RESTORER(m_inUnpacked);
VL_RESTORER(m_unpackedWord);
m_inUnpacked = true;