| /freebsd-head/contrib/llvm-project/clang/include/clang/AST/ |
| HD | DeclGroup.h | 83 Decl *getSingleDecl() { in getSingleDecl() function 87 const Decl *getSingleDecl() const { in getSingleDecl() function 88 return const_cast<DeclGroupRef*>(this)->getSingleDecl(); in getSingleDecl()
|
| HD | StmtCXX.h | 388 return cast<VarDecl>(cast<DeclStmt>(getPromiseDeclStmt())->getSingleDecl()); in getPromiseDecl()
|
| HD | Stmt.h | 1512 const Decl *getSingleDecl() const { return DG.getSingleDecl(); } in getSingleDecl() function 1513 Decl *getSingleDecl() { return DG.getSingleDecl(); } in getSingleDecl() function
|
| /freebsd-head/contrib/llvm-project/clang/lib/AST/ |
| HD | StmtCXX.cpp | 68 VarDecl *RangeDecl = dyn_cast_or_null<VarDecl>(RangeStmt->getSingleDecl()); in getRangeInit() 78 Decl *LV = cast<DeclStmt>(getLoopVarStmt())->getSingleDecl(); in getLoopVariable()
|
| HD | Stmt.cpp | 986 return cast<VarDecl>(DS->getSingleDecl()); in getConditionVariable() 1039 return cast<VarDecl>(DS->getSingleDecl()); in getConditionVariable() 1104 return cast<VarDecl>(DS->getSingleDecl()); in getConditionVariable() 1165 return cast<VarDecl>(DS->getSingleDecl()); in getConditionVariable()
|
| /freebsd-head/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| HD | VLASizeChecker.cpp | 273 const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl()); in checkPreStmt() 277 else if (const auto *TND = dyn_cast<TypedefNameDecl>(DS->getSingleDecl())) in checkPreStmt()
|
| HD | UndefinedAssignmentChecker.cpp | 82 const VarDecl *VD = cast<VarDecl>(DS->getSingleDecl()); in checkBind()
|
| HD | NullabilityChecker.cpp | 1196 auto *VD = dyn_cast<VarDecl>(DS->getSingleDecl()); in matchValueExprForBind() 1232 auto *VD = dyn_cast<VarDecl>(DS->getSingleDecl()); in isARCNilInitializedLocal()
|
| HD | BasicObjCFoundationChecks.cpp | 902 const VarDecl *ElemDecl = cast<VarDecl>(DS->getSingleDecl()); in checkElementNonNil()
|
| /freebsd-head/contrib/llvm-project/clang/lib/ARCMigrate/ |
| HD | TransRetainReleaseDealloc.cpp | 230 if (DS->isSingleDecl() && DS->getSingleDecl() == RefD) { in isPlusOneAssignToVar() 370 VarDecl *VD = dyn_cast_or_null<VarDecl>(DeclS->getSingleDecl()); in checkForGCDOrXPC()
|
| HD | TransAutoreleasePool.cpp | 171 if (VarDecl *VD = dyn_cast<VarDecl>(DclS->getSingleDecl())) { in VisitCompoundStmt()
|
| /freebsd-head/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| HD | CheckerHelpers.cpp | 97 VD = cast<VarDecl>(PD->getSingleDecl()); in parseAssignment()
|
| HD | ExprEngineObjC.cpp | 118 const VarDecl *elemD = cast<VarDecl>(DS->getSingleDecl()); in VisitObjCForCollectionStmt()
|
| HD | BugReporterVisitors.cpp | 969 if (const auto *VD = dyn_cast<VarDecl>(DS->getSingleDecl())) in matchAssignment() 1281 if (DS->getSingleDecl() != VR->getDecl()) in isInitializationOfVar() 1352 const auto *VD = cast<VarDecl>(DS->getSingleDecl()); in showBRDiagnostics() 1581 const auto *Decl = DS->getSingleDecl(); in VisitNode()
|
| HD | ExprEngineCXX.cpp | 137 const auto *Var = cast<VarDecl>(DS->getSingleDecl()); in computeObjectUnderConstruction()
|
| /freebsd-head/contrib/llvm-project/clang/lib/Analysis/ |
| HD | ConstructionContext.cpp | 111 assert(!cast<VarDecl>(DS->getSingleDecl())->getType().getCanonicalType() in createBoundTemporaryFromLayers()
|
| HD | LiveVariables.cpp | 255 if (const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl())) { in Visit() 423 VD = cast<VarDecl>(DS->getSingleDecl()); in VisitObjCForCollectionStmt()
|
| HD | UninitializedValues.cpp | 685 const auto *VD = cast<VarDecl>(DS->getSingleDecl()); in VisitObjCForCollectionStmt()
|
| HD | CFG.cpp | 2942 if (const auto *TND = dyn_cast<TypedefNameDecl>(DS->getSingleDecl())) { in VisitDeclSubExpr() 2960 VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl()); in VisitDeclSubExpr() 5439 DeclMap[cast<DeclStmt>(stmt)->getSingleDecl()] = P; in StmtPrinterHelper() 5544 VarDecl *VD = cast<VarDecl>(DS->getSingleDecl()); in VisitDeclStmt()
|
| HD | PathDiagnostic.cpp | 790 DS->getSingleDecl()->getLocation()); in genRange()
|
| HD | Consumed.cpp | 844 if (const auto *Var = dyn_cast_or_null<VarDecl>(DeclS->getSingleDecl())) in VisitDeclStmt()
|
| /freebsd-head/contrib/llvm-project/clang/lib/CodeGen/ |
| HD | CGCoroutine.cpp | 529 VarDecl const*VD = static_cast<VarDecl const*>(PM->getSingleDecl()); in addCopy() 701 auto *GroVarDecl = cast<VarDecl>(GroDeclStmt->getSingleDecl()); in EmitGroAlloca()
|
| /freebsd-head/contrib/llvm-project/clang/include/clang/Analysis/ |
| HD | ConstructionContext.h | 330 const auto *Var = cast<VarDecl>(DS->getSingleDecl()); in getArrayInitLoop()
|
| /freebsd-head/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
| HD | Transfer.cpp | 227 const auto &D = *cast<VarDecl>(S->getSingleDecl()); in VisitDeclStmt()
|
| /freebsd-head/contrib/llvm-project/clang/lib/Sema/ |
| HD | SemaStmt.cpp | 97 Decl *decl = DG.getSingleDecl(); in ActOnForEachDeclStmt() 2361 Decl *LoopVar = DS->getSingleDecl(); in ActOnCXXForRangeStmt() 2610 VarDecl *RangeVar = cast<VarDecl>(RangeDS->getSingleDecl()); in BuildCXXForRangeStmt() 2614 VarDecl *LoopVar = cast<VarDecl>(LoopVarDS->getSingleDecl()); in BuildCXXForRangeStmt()
|