| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | DeclGroup.h | 84 Decl *getSingleDecl() { in getSingleDecl() function 88 const Decl *getSingleDecl() const { in getSingleDecl() function 89 return const_cast<DeclGroupRef*>(this)->getSingleDecl(); in getSingleDecl()
|
| H A D | StmtCXX.h | 371 return cast<VarDecl>(cast<DeclStmt>(getPromiseDeclStmt())->getSingleDecl()); in getPromiseDecl()
|
| H A D | Stmt.h | 1158 const Decl *getSingleDecl() const { return DG.getSingleDecl(); } in getSingleDecl() function 1159 Decl *getSingleDecl() { return DG.getSingleDecl(); } in getSingleDecl() function
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | StmtCXX.cpp | 68 VarDecl *RangeDecl = dyn_cast_or_null<VarDecl>(RangeStmt->getSingleDecl()); in getRangeInit() 78 Decl *LV = cast<DeclStmt>(getLoopVarStmt())->getSingleDecl(); in getLoopVariable()
|
| H A D | Stmt.cpp | 868 return cast<VarDecl>(DS->getSingleDecl()); in getConditionVariable() 907 return cast<VarDecl>(DS->getSingleDecl()); in getConditionVariable() 969 return cast<VarDecl>(DS->getSingleDecl()); in getConditionVariable() 1025 return cast<VarDecl>(DS->getSingleDecl()); in getConditionVariable()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| H A D | CheckerHelpers.cpp | 95 VD = dyn_cast_or_null<VarDecl>(PD->getSingleDecl()); in parseAssignment()
|
| H A D | ExprEngineObjC.cpp | 122 const VarDecl *elemD = cast<VarDecl>(DS->getSingleDecl()); in VisitObjCForCollectionStmt()
|
| H A D | BugReporterVisitors.cpp | 731 if (const auto *VD = dyn_cast<VarDecl>(DS->getSingleDecl())) in matchAssignment() 1043 if (DS->getSingleDecl() != VR->getDecl()) in isInitializationOfVar() 1087 const auto *VD = cast<VarDecl>(DS->getSingleDecl()); in showBRDiagnostics()
|
| H A D | ExprEngineCXX.cpp | 128 const auto *Var = cast<VarDecl>(DS->getSingleDecl()); in prepareForObjectConstruction()
|
| H A D | PathDiagnostic.cpp | 916 DS->getSingleDecl()->getLocation()); in genRange()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | UndefinedAssignmentChecker.cpp | 89 const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl()); in checkBind()
|
| H A D | VLASizeChecker.cpp | 85 const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl()); in checkPreStmt()
|
| H A D | NullabilityChecker.cpp | 1000 auto *VD = dyn_cast<VarDecl>(DS->getSingleDecl()); in matchValueExprForBind() 1036 auto *VD = dyn_cast<VarDecl>(DS->getSingleDecl()); in isARCNilInitializedLocal()
|
| H A D | BasicObjCFoundationChecks.cpp | 896 const VarDecl *ElemDecl = cast<VarDecl>(DS->getSingleDecl()); in checkElementNonNil()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| H A D | TransRetainReleaseDealloc.cpp | 231 if (DS->isSingleDecl() && DS->getSingleDecl() == RefD) { in isPlusOneAssignToVar() 371 VarDecl *VD = dyn_cast_or_null<VarDecl>(DeclS->getSingleDecl()); in checkForGCDOrXPC()
|
| H A D | TransAutoreleasePool.cpp | 172 if (VarDecl *VD = dyn_cast<VarDecl>(DclS->getSingleDecl())) { in VisitCompoundStmt()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/ |
| H A D | ConstructionContext.cpp | 112 assert(!cast<VarDecl>(DS->getSingleDecl())->getType().getCanonicalType() in createBoundTemporaryFromLayers()
|
| H A D | LiveVariables.cpp | 298 if (const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl())) { in Visit() 442 VD = cast<VarDecl>(DS->getSingleDecl()); in VisitObjCForCollectionStmt()
|
| H A D | UninitializedValues.cpp | 705 const auto *VD = cast<VarDecl>(DS->getSingleDecl()); in VisitObjCForCollectionStmt()
|
| H A D | Consumed.cpp | 845 if (const auto *Var = dyn_cast_or_null<VarDecl>(DeclS->getSingleDecl())) in VisitDeclStmt()
|
| H A D | CFG.cpp | 2665 VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl()); in VisitDeclSubExpr() 4811 DeclMap[cast<DeclStmt>(stmt)->getSingleDecl()] = P; in StmtPrinterHelper() 4916 VarDecl *VD = cast<VarDecl>(DS->getSingleDecl()); in VisitDeclStmt()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGCoroutine.cpp | 357 VarDecl const*VD = static_cast<VarDecl const*>(PM->getSingleDecl()); in addCopy() 496 auto *GroVarDecl = cast<VarDecl>(GroDeclStmt->getSingleDecl()); in EmitGroAlloca()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 91 Decl *decl = DG.getSingleDecl(); in ActOnForEachDeclStmt() 1902 VarDecl *D = dyn_cast<VarDecl>(DS->getSingleDecl()); in ActOnObjCForCollectionStmt() 2101 Decl *LoopVar = DS->getSingleDecl(); in ActOnCXXForRangeStmt() 2357 VarDecl *RangeVar = cast<VarDecl>(RangeDS->getSingleDecl()); in BuildCXXForRangeStmt() 2361 VarDecl *LoopVar = cast<VarDecl>(LoopVarDS->getSingleDecl()); in BuildCXXForRangeStmt()
|
| H A D | SemaCoroutine.cpp | 556 cast<VarDecl>(cast<DeclStmt>(Move->second)->getSingleDecl()); in buildCoroutinePromise()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/ |
| H A D | ParseTemplate.cpp | 191 return usingDeclPtr.get().getSingleDecl(); in ParseSingleDeclarationAfterTemplate()
|