astyle formatting

[ci skip]
This commit is contained in:
Daniel Marjamäki 2020-07-23 10:09:06 +02:00
parent df99d8aa0a
commit 25ad22c6af
4 changed files with 11 additions and 9 deletions

View File

@ -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;