| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | 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()
|
| H A D | StmtCXX.h | 384 return cast<VarDecl>(cast<DeclStmt>(getPromiseDeclStmt())->getSingleDecl()); in getPromiseDecl()
|
| H A D | Stmt.h | 1326 const Decl *getSingleDecl() const { return DG.getSingleDecl(); } in getSingleDecl() function 1327 Decl *getSingleDecl() { return DG.getSingleDecl(); } in getSingleDecl() function
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | StmtCXX.cpp | 67 VarDecl *RangeDecl = dyn_cast_or_null<VarDecl>(RangeStmt->getSingleDecl()); in getRangeInit() 77 Decl *LV = cast<DeclStmt>(getLoopVarStmt())->getSingleDecl(); in getLoopVariable()
|
| H A D | Stmt.cpp | 984 return cast<VarDecl>(DS->getSingleDecl()); in getConditionVariable() 1037 return cast<VarDecl>(DS->getSingleDecl()); in getConditionVariable() 1102 return cast<VarDecl>(DS->getSingleDecl()); in getConditionVariable() 1163 return cast<VarDecl>(DS->getSingleDecl()); in getConditionVariable()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | VLASizeChecker.cpp | 261 const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl()); in checkPreStmt() 265 else if (const auto *TND = dyn_cast<TypedefNameDecl>(DS->getSingleDecl())) in checkPreStmt()
|
| H A D | UndefinedAssignmentChecker.cpp | 88 const VarDecl *VD = cast<VarDecl>(DS->getSingleDecl()); in checkBind()
|
| H A D | NullabilityChecker.cpp | 1154 auto *VD = dyn_cast<VarDecl>(DS->getSingleDecl()); in matchValueExprForBind() 1190 auto *VD = dyn_cast<VarDecl>(DS->getSingleDecl()); in isARCNilInitializedLocal()
|
| H A D | BasicObjCFoundationChecks.cpp | 897 const VarDecl *ElemDecl = cast<VarDecl>(DS->getSingleDecl()); in checkElementNonNil()
|
| /openbsd-src/gnu/llvm/clang/lib/ARCMigrate/ |
| H A D | TransRetainReleaseDealloc.cpp | 230 if (DS->isSingleDecl() && DS->getSingleDecl() == RefD) { in isPlusOneAssignToVar() 370 VarDecl *VD = dyn_cast_or_null<VarDecl>(DeclS->getSingleDecl()); in checkForGCDOrXPC()
|
| H A D | TransAutoreleasePool.cpp | 171 if (VarDecl *VD = dyn_cast<VarDecl>(DclS->getSingleDecl())) { in VisitCompoundStmt()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
| H A D | CheckerHelpers.cpp | 96 VD = cast<VarDecl>(PD->getSingleDecl()); in parseAssignment()
|
| H A D | ExprEngineObjC.cpp | 118 const VarDecl *elemD = cast<VarDecl>(DS->getSingleDecl()); in VisitObjCForCollectionStmt()
|
| H A D | BugReporterVisitors.cpp | 939 if (const auto *VD = dyn_cast<VarDecl>(DS->getSingleDecl())) in matchAssignment() 1251 if (DS->getSingleDecl() != VR->getDecl()) in isInitializationOfVar() 1322 const auto *VD = cast<VarDecl>(DS->getSingleDecl()); in showBRDiagnostics() 1552 const auto *Decl = DS->getSingleDecl(); in VisitNode()
|
| /openbsd-src/gnu/llvm/clang/lib/Analysis/ |
| H A D | ConstructionContext.cpp | 111 assert(!cast<VarDecl>(DS->getSingleDecl())->getType().getCanonicalType() in createBoundTemporaryFromLayers()
|
| H A D | LiveVariables.cpp | 255 if (const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl())) { in Visit() 423 VD = cast<VarDecl>(DS->getSingleDecl()); in VisitObjCForCollectionStmt()
|
| H A D | UninitializedValues.cpp | 689 const auto *VD = cast<VarDecl>(DS->getSingleDecl()); in VisitObjCForCollectionStmt()
|
| H A D | CFG.cpp | 2938 if (const auto *TND = dyn_cast<TypedefNameDecl>(DS->getSingleDecl())) { in VisitDeclSubExpr() 2956 VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl()); in VisitDeclSubExpr() 5433 DeclMap[cast<DeclStmt>(stmt)->getSingleDecl()] = P; in StmtPrinterHelper() 5538 VarDecl *VD = cast<VarDecl>(DS->getSingleDecl()); in VisitDeclStmt()
|
| H A D | Consumed.cpp | 844 if (const auto *Var = dyn_cast_or_null<VarDecl>(DeclS->getSingleDecl())) in VisitDeclStmt()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Analysis/ |
| H A D | ConstructionContext.h | 330 const auto *Var = cast<VarDecl>(DS->getSingleDecl()); in getArrayInitLoop()
|
| /openbsd-src/gnu/llvm/clang/lib/Parse/ |
| H A D | ParseTemplate.cpp | 208 return D.get().getSingleDecl(); in ParseSingleDeclarationAfterTemplate() 219 return usingDeclPtr.get().getSingleDecl(); in ParseSingleDeclarationAfterTemplate()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGCoroutine.cpp | 355 VarDecl const*VD = static_cast<VarDecl const*>(PM->getSingleDecl()); in addCopy()
|
| /openbsd-src/gnu/llvm/clang/lib/Analysis/FlowSensitive/ |
| H A D | Transfer.cpp | 214 const auto &D = *cast<VarDecl>(S->getSingleDecl()); in VisitDeclStmt()
|
| H A D | DataflowEnvironment.cpp | 189 getFieldsAndGlobalVars(*DS->getSingleDecl(), Fields, Vars); in getFieldsAndGlobalVars()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaStmt.cpp | 91 Decl *decl = DG.getSingleDecl(); in ActOnForEachDeclStmt() 2297 VarDecl *D = dyn_cast<VarDecl>(DS->getSingleDecl()); in ActOnObjCForCollectionStmt() 2509 Decl *LoopVar = DS->getSingleDecl(); in ActOnCXXForRangeStmt() 2759 VarDecl *RangeVar = cast<VarDecl>(RangeDS->getSingleDecl()); in BuildCXXForRangeStmt() 2763 VarDecl *LoopVar = cast<VarDecl>(LoopVarDS->getSingleDecl()); in BuildCXXForRangeStmt()
|