Home
last modified time | relevance | path

Searched refs:getSingleDecl (Results 1 – 25 of 29) sorted by relevance

12

/external/clang/include/clang/AST/
DDeclGroup.h86 Decl *getSingleDecl() { in getSingleDecl() function
90 const Decl *getSingleDecl() const { in getSingleDecl() function
91 return const_cast<DeclGroupRef*>(this)->getSingleDecl(); in getSingleDecl()
DStmtCXX.h337 return cast<VarDecl>(cast<DeclStmt>(getPromiseDeclStmt())->getSingleDecl()); in getPromiseDecl()
DStmt.h461 const Decl *getSingleDecl() const { return DG.getSingleDecl(); } in getSingleDecl() function
462 Decl *getSingleDecl() { return DG.getSingleDecl(); } in getSingleDecl() function
/external/clang/lib/AST/
DStmtCXX.cpp71 VarDecl *RangeDecl = dyn_cast_or_null<VarDecl>(RangeStmt->getSingleDecl()); in getRangeInit()
81 Decl *LV = cast<DeclStmt>(getLoopVarStmt())->getSingleDecl(); in getLoopVariable()
DStmt.cpp783 return cast<VarDecl>(DS->getSingleDecl()); in getConditionVariable()
814 return cast<VarDecl>(DS->getSingleDecl()); in getConditionVariable()
842 return cast<VarDecl>(DS->getSingleDecl()); in getConditionVariable()
876 return cast<VarDecl>(DS->getSingleDecl()); in getConditionVariable()
/external/clang/lib/StaticAnalyzer/Checkers/
DUndefinedAssignmentChecker.cpp79 const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl()); in checkBind()
DVLASizeChecker.cpp85 const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl()); in checkPreStmt()
DNullabilityChecker.cpp1024 auto *VD = dyn_cast<VarDecl>(DS->getSingleDecl()); in matchValueExprForBind()
1060 auto *VD = dyn_cast<VarDecl>(DS->getSingleDecl()); in isARCNilInitializedLocal()
DBasicObjCFoundationChecks.cpp924 const VarDecl *ElemDecl = cast<VarDecl>(DS->getSingleDecl()); in checkElementNonNil()
/external/clang/lib/StaticAnalyzer/Core/
DCheckerHelpers.cpp91 VD = dyn_cast_or_null<VarDecl>(PD->getSingleDecl()); in parseAssignment()
DExprEngineObjC.cpp79 const VarDecl *elemD = cast<VarDecl>(DS->getSingleDecl()); in VisitObjCForCollectionStmt()
DExprEngineCXX.cpp118 if (const auto *Var = dyn_cast<VarDecl>(DS->getSingleDecl())) { in getRegionForConstructedObject()
DBugReporterVisitors.cpp432 if (DS->getSingleDecl() != VR->getDecl()) in isInitializationOfVar()
605 const VarDecl *VD = cast<VarDecl>(DS->getSingleDecl()); in VisitNode()
DPathDiagnostic.cpp820 DS->getSingleDecl()->getLocation()); in genRange()
DExprEngine.cpp1689 const VarDecl *VD = cast<VarDecl>(DS->getSingleDecl()); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
/external/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp226 if (DS->isSingleDecl() && DS->getSingleDecl() == RefD) { in isPlusOneAssignToVar()
366 VarDecl *VD = dyn_cast_or_null<VarDecl>(DeclS->getSingleDecl()); in checkForGCDOrXPC()
DTransAutoreleasePool.cpp172 if (VarDecl *VD = dyn_cast<VarDecl>(DclS->getSingleDecl())) { in VisitCompoundStmt()
/external/clang/lib/Analysis/
DLiveVariables.cpp291 if (const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl())) { in Visit()
387 VD = cast<VarDecl>(DS->getSingleDecl()); in VisitObjCForCollectionStmt()
DUninitializedValues.cpp686 const VarDecl *VD = cast<VarDecl>(DS->getSingleDecl()); in VisitObjCForCollectionStmt()
DCFG.cpp2075 VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl()); in VisitDeclSubExpr()
4020 DeclMap[cast<DeclStmt>(stmt)->getSingleDecl()] = P; in StmtPrinterHelper()
4128 VarDecl *VD = cast<VarDecl>(DS->getSingleDecl()); in VisitDeclStmt()
DConsumed.cpp858 if (const VarDecl *Var = dyn_cast_or_null<VarDecl>(DeclS->getSingleDecl())) in VisitDeclStmt()
/external/clang/lib/Sema/
DSemaStmt.cpp90 Decl *decl = DG.getSingleDecl(); in ActOnForEachDeclStmt()
1785 VarDecl *D = dyn_cast<VarDecl>(DS->getSingleDecl()); in ActOnObjCForCollectionStmt()
1980 Decl *LoopVar = DS->getSingleDecl(); in ActOnCXXForRangeStmt()
2184 VarDecl *RangeVar = cast<VarDecl>(RangeDS->getSingleDecl()); in BuildCXXForRangeStmt()
2188 VarDecl *LoopVar = cast<VarDecl>(LoopVarDS->getSingleDecl()); in BuildCXXForRangeStmt()
DSemaTemplateInstantiateDecl.cpp2590 auto *NewDRD = cast<OMPDeclareReductionDecl>(DRD.get().getSingleDecl()); in VisitOMPDeclareReductionDecl()
/external/clang/lib/CodeGen/
DCGObjC.cpp1468 variable = EmitAutoVarAlloca(*cast<VarDecl>(SD->getSingleDecl())); in EmitObjCForCollectionStmt()
1625 const VarDecl* D = cast<VarDecl>(SD->getSingleDecl()); in EmitObjCForCollectionStmt()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h2792 const Decl *FoundDecl = Node.getSingleDecl(); in AST_MATCHER_P()

12