mirror of
https://github.com/verilator/verilator.git
synced 2025-01-05 22:27:35 +00:00
Merge cleanups from 'develop-v5'. No functional change
This commit is contained in:
parent
80b73859a2
commit
11b0d36ba2
@ -1,6 +1,6 @@
|
||||
// -*- mode: C++; c-file-style: "cc-mode" -*-
|
||||
//*************************************************************************
|
||||
// DESCRIPTION: Verilator: Block code ordering
|
||||
// DESCRIPTION: Verilator: Ordering constraint graph
|
||||
//
|
||||
// Code available from: https://verilator.org
|
||||
//
|
||||
|
@ -302,11 +302,12 @@ int V3ParseGrammar::s_modTypeImpNum = 0;
|
||||
|
||||
#define APPLY_STRENGTH_TO_LIST(beginp, strengthSpecNodep, typeToCast) \
|
||||
{ \
|
||||
if (AstStrengthSpec* specp = VN_CAST(strengthSpecNodep, StrengthSpec)) \
|
||||
if (AstStrengthSpec* specp = VN_CAST(strengthSpecNodep, StrengthSpec)) { \
|
||||
for (auto* nodep = beginp; nodep; nodep = nodep->nextp()) { \
|
||||
auto* const assignp = VN_AS(nodep, typeToCast); \
|
||||
assignp->strengthSpecp(nodep == beginp ? specp : specp->cloneTree(false)); \
|
||||
} \
|
||||
} \
|
||||
}
|
||||
|
||||
static void ERRSVKWD(FileLine* fileline, const string& tokname) {
|
||||
|
Loading…
Reference in New Issue
Block a user