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