File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
clang/lib/StaticAnalyzer/Checkers/WebKit Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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 ());
You can’t perform that action at this time.
0 commit comments