Skip to content

Commit cdbb203

Browse files
usx95vbvictor
andauthored
Remove braces.
Co-authored-by: Baranov Victor <bar.victor.2002@gmail.com>
1 parent e18ae65 commit cdbb203

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/lib/Analysis/LifetimeSafety.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,8 @@ class OriginManager {
139139

140140
OriginID get(const Expr &E) {
141141
// Origin of DeclRefExpr is that of the declaration it refers to.
142-
if (const auto *DRE = dyn_cast<DeclRefExpr>(&E)) {
142+
if (const auto *DRE = dyn_cast<DeclRefExpr>(&E))
143143
return get(*DRE->getDecl());
144-
}
145144
auto It = ExprToOriginID.find(&E);
146145
// TODO: This should be an assert(It != ExprToOriginID.end()). The current
147146
// implementation falls back to getOrCreate to avoid crashing on

0 commit comments

Comments
 (0)