Searched refs:CapturedVar (Results 1 – 5 of 5) sorted by relevance
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
D | UncountedLambdaCapturesChecker.cpp | 60 VarDecl *CapturedVar = C.getCapturedVar(); in visitLambdaExpr() local 61 if (auto *CapturedVarType = CapturedVar->getType().getTypePtrOrNull()) { in visitLambdaExpr() 64 reportBug(C, CapturedVar, CapturedVarType); in visitLambdaExpr() 71 void reportBug(const LambdaCapture &Capture, VarDecl *CapturedVar, in reportBug() argument 73 assert(CapturedVar); in reportBug()
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | NoEscapeCheck.cpp | 34 for (const BlockDecl::Capture &CapturedVar : EscapingBlockDecl->captures()) { in check() local 35 const VarDecl *Var = CapturedVar.getVariable(); in check()
|
/external/llvm-project/clang/include/clang/Sema/ |
D | ScopeInfo.h | 540 VarDecl *CapturedVar; member 579 : CapturedVar(Var), Loc(Loc), EllipsisLoc(EllipsisLoc), in Capture() 628 return CapturedVar; in getVariable()
|
/external/llvm-project/clang/lib/Sema/ |
D | TreeTransform.h | 12625 VarDecl *CapturedVar in TransformLambdaExpr() local 12628 if (!CapturedVar) { in TransformLambdaExpr() 12634 getSema().tryCaptureVariable(CapturedVar, C->getLocation(), Kind); in TransformLambdaExpr() 12646 VarDecl *CapturedVar in TransformLambdaExpr() local 12649 if (!CapturedVar || CapturedVar->isInvalidDecl()) { in TransformLambdaExpr() 12655 getSema().tryCaptureVariable(CapturedVar, C->getLocation(), Kind, in TransformLambdaExpr() 12725 VarDecl *CapturedVar = cast_or_null<VarDecl>( in SkipLambdaBody() local 12727 if (!CapturedVar || CapturedVar->isInvalidDecl()) in SkipLambdaBody() 12731 getSema().tryCaptureVariable(CapturedVar, C->getLocation()); in SkipLambdaBody()
|
/external/clang/lib/Sema/ |
D | TreeTransform.h | 10325 VarDecl *CapturedVar in TransformLambdaExpr() local 10328 if (!CapturedVar) { in TransformLambdaExpr() 10334 getSema().tryCaptureVariable(CapturedVar, C->getLocation(), Kind); in TransformLambdaExpr() 10346 VarDecl *CapturedVar in TransformLambdaExpr() local 10349 if (!CapturedVar || CapturedVar->isInvalidDecl()) { in TransformLambdaExpr() 10355 getSema().tryCaptureVariable(CapturedVar, C->getLocation(), Kind, in TransformLambdaExpr()
|