Apply 'make format'
This commit is contained in:
parent
7c8d5a7468
commit
d5ec5a0eb0
|
|
@ -52,11 +52,11 @@ VL_DEFINE_DEBUG_FUNCTIONS;
|
||||||
// Determines if a class is used with randomization
|
// Determines if a class is used with randomization
|
||||||
|
|
||||||
enum ClassRandom : uint8_t {
|
enum ClassRandom : uint8_t {
|
||||||
NONE, // randomize() is not called
|
NONE, // randomize() is not called
|
||||||
IS_RANDOMIZED, // randomize() is called
|
IS_RANDOMIZED, // randomize() is called
|
||||||
IS_RANDOMIZED_INLINE, // randomize() with args is called
|
IS_RANDOMIZED_INLINE, // randomize() with args is called
|
||||||
IS_STD_RANDOMIZED, // std::randomize() is called
|
IS_STD_RANDOMIZED, // std::randomize() is called
|
||||||
IS_RANDOMIZED_GLOBAL, // randomize() is called with global constraints
|
IS_RANDOMIZED_GLOBAL, // randomize() is called with global constraints
|
||||||
IS_RANDOMIZED_INLINE_GLOBAL, // randomize() with args and global constraints
|
IS_RANDOMIZED_INLINE_GLOBAL, // randomize() with args and global constraints
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -242,7 +242,7 @@ class RandomizeMarkVisitor final : public VNVisitor {
|
||||||
|
|
||||||
// Clone constraints from nested rand class members
|
// Clone constraints from nested rand class members
|
||||||
void cloneNestedConstraintsRecurse(AstVarRef* rootVarRefp, AstClass* classp,
|
void cloneNestedConstraintsRecurse(AstVarRef* rootVarRefp, AstClass* classp,
|
||||||
const std::vector<AstVar*>& pathToClass) {
|
const std::vector<AstVar*>& pathToClass) {
|
||||||
if (!classp) return;
|
if (!classp) return;
|
||||||
for (AstNode* memberNodep = classp->membersp(); memberNodep;
|
for (AstNode* memberNodep = classp->membersp(); memberNodep;
|
||||||
memberNodep = memberNodep->nextp()) {
|
memberNodep = memberNodep->nextp()) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue