[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[csmith-dev] vector<Variable*> and vector<const Variable*>
I have noticed that both the types 'vector<Variable*>’ and ‘ vector<const Variable*>’ are used a lot in csmith.
There is even at least one function VariableSelector::expand_struct_union_vars that is overloaded based on these
two types, but the implementation of the two overloaded versions do exactly the same.
What is the rationale for having both vectors of ‘Variable*' and ‘const Variable*’?