Skip to content

Commit 5b9e8fe

Browse files
committed
Fix formatting
1 parent 5c03226 commit 5b9e8fe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

clang/lib/StaticAnalyzer/Checkers/WebKit/UncountedLambdaCapturesChecker.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ class UncountedLambdaCapturesChecker
105105
return true;
106106
}
107107

108-
LambdaExpr* findLambdaInArg(Expr* E) {
108+
LambdaExpr *findLambdaInArg(Expr* E) {
109109
if (auto *Lambda = dyn_cast_or_null<LambdaExpr>(E))
110110
return Lambda;
111111
auto *TempExpr = dyn_cast_or_null<CXXBindTemporaryExpr>(E);
@@ -130,7 +130,7 @@ class UncountedLambdaCapturesChecker
130130
auto *VD = dyn_cast_or_null<VarDecl>(DRE->getDecl());
131131
if (!VD)
132132
return nullptr;
133-
auto* Init = VD->getInit();
133+
auto *Init = VD->getInit();
134134
if (!Init)
135135
return nullptr;
136136
TempExpr = dyn_cast<CXXBindTemporaryExpr>(Init->IgnoreParenCasts());
@@ -202,7 +202,7 @@ class UncountedLambdaCapturesChecker
202202
}
203203

204204
bool protectThis(const ValueDecl *ValueDecl) const {
205-
auto* VD = dyn_cast<VarDecl>(ValueDecl);
205+
auto *VD = dyn_cast<VarDecl>(ValueDecl);
206206
if (!VD)
207207
return false;
208208
auto *Init = VD->getInit()->IgnoreParenCasts();
@@ -214,7 +214,7 @@ class UncountedLambdaCapturesChecker
214214
auto *CE = dyn_cast_or_null<CXXConstructExpr>(BTE->getSubExpr());
215215
if (!CE)
216216
return false;
217-
auto* Ctor = CE->getConstructor();
217+
auto *Ctor = CE->getConstructor();
218218
if (!Ctor)
219219
return false;
220220
auto clsName = safeGetName(Ctor->getParent());

0 commit comments

Comments
 (0)