parent
df99d8aa0a
commit
25ad22c6af
|
@ -2490,7 +2490,9 @@ struct SingleValueFlowForwardAnalyzer : ValueFlowForwardAnalyzer {
|
|||
virtual bool isAlias(const Token* tok) const OVERRIDE {
|
||||
if (value.isLifetimeValue())
|
||||
return false;
|
||||
for(const auto& m:{std::ref(getVars()), std::ref(getAliasedVars())}) {
|
||||
for (const auto& m: {
|
||||
std::ref(getVars()), std::ref(getAliasedVars())
|
||||
}) {
|
||||
for (const auto& p:m.get()) {
|
||||
nonneg int varid = p.first;
|
||||
const Variable* var = p.second;
|
||||
|
|
Loading…
Reference in New Issue