Skip to content

Commit 5e97f6d

Browse files
committed
auto -> const auto &
1 parent 8c4ec72 commit 5e97f6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/StaticAnalyzer/Core/ExprEngine.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3768,7 +3768,7 @@ void ExprEngine::evalEagerlyAssumeBifurcation(ExplodedNodeSet &Dst,
37683768
SVal V = State->getSVal(Ex, Pred->getLocationContext());
37693769
std::optional<nonloc::SymbolVal> SEV = V.getAs<nonloc::SymbolVal>();
37703770
if (SEV && SEV->isExpression()) {
3771-
auto [TrueTag, FalseTag] = getEagerlyAssumeBifurcationTags();
3771+
const auto &[TrueTag, FalseTag] = getEagerlyAssumeBifurcationTags();
37723772

37733773
auto [StateTrue, StateFalse] = State->assume(*SEV);
37743774

0 commit comments

Comments
 (0)