Skip to content

Commit ac3c298

Browse files
committed
fixup! fixup! Update clang/lib/Analysis/FlowSensitive/Value.cpp
clang format
1 parent d08fdac commit ac3c298

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

clang/lib/Analysis/FlowSensitive/Value.cpp

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,16 @@ static bool areEquivalentIndirectionValues(const Value &Val1,
2727
}
2828

2929
bool areEquivalentValues(const Value &Val1, const Value &Val2) {
30-
if (&Val1 == &Val2) return true;
31-
if (Val1.getKind() != Val2.getKind()) return false;
30+
if (&Val1 == &Val2)
31+
return true;
32+
if (Val1.getKind() != Val2.getKind())
33+
return false;
3234
// If values are distinct and have properties, we don't consider them equal,
3335
// leaving equality up to the user model.
34-
if (!Val1.properties().empty() || !Val2.properties().empty()) return false;
35-
if (isa<TopBoolValue>(&Val1)) return true;
36+
if (!Val1.properties().empty() || !Val2.properties().empty())
37+
return false;
38+
if (isa<TopBoolValue>(&Val1))
39+
return true;
3640
return areEquivalentIndirectionValues(Val1, Val2);
3741
}
3842

0 commit comments

Comments
 (0)