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

/external/clang/include/clang/AST/
H A DDeclGroup.h87 Decl *getSingleDecl() {
91 const Decl *getSingleDecl() const {
92 return const_cast<DeclGroupRef*>(this)->getSingleDecl();
H A DStmt.h461 const Decl *getSingleDecl() const { return DG.getSingleDecl(); } function in class:clang::DeclStmt
462 Decl *getSingleDecl() { return DG.getSingleDecl(); } function in class:clang::DeclStmt
/external/clang/lib/StaticAnalyzer/Checkers/
H A DUndefinedAssignmentChecker.cpp79 const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl());
H A DVLASizeChecker.cpp83 const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl());
H A DDereferenceChecker.cpp118 if (const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl()))
H A DBasicObjCFoundationChecks.cpp926 const VarDecl *ElemDecl = cast<VarDecl>(DS->getSingleDecl());
/external/clang/lib/ARCMigrate/
H A DTransRetainReleaseDealloc.cpp236 if (DS->isSingleDecl() && DS->getSingleDecl() == RefD) {
376 VarDecl *VD = dyn_cast_or_null<VarDecl>(DeclS->getSingleDecl());
H A DTransAutoreleasePool.cpp172 if (VarDecl *VD = dyn_cast<VarDecl>(DclS->getSingleDecl())) {
/external/clang/lib/StaticAnalyzer/Core/
H A DExprEngineObjC.cpp79 const VarDecl *elemD = cast<VarDecl>(DS->getSingleDecl());
H A DExprEngineCXX.cpp130 if (const VarDecl *Var = dyn_cast<VarDecl>(DS->getSingleDecl())) {
H A DBugReporterVisitors.cpp432 if (DS->getSingleDecl() != VR->getDecl())
605 const VarDecl *VD = cast<VarDecl>(DS->getSingleDecl());
H A DPathDiagnostic.cpp824 DS->getSingleDecl()->getLocation());
H A DExprEngine.cpp1536 const VarDecl *VD = cast<VarDecl>(DS->getSingleDecl());
/external/clang/lib/AST/
H A DStmt.cpp803 VarDecl *RangeDecl = dyn_cast_or_null<VarDecl>(RangeStmt->getSingleDecl());
813 Decl *LV = cast<DeclStmt>(getLoopVarStmt())->getSingleDecl();
837 return cast<VarDecl>(DS->getSingleDecl());
868 return cast<VarDecl>(DS->getSingleDecl());
895 return cast<VarDecl>(DS->getSingleDecl());
929 return cast<VarDecl>(DS->getSingleDecl());
/external/clang/lib/Analysis/
H A DLiveVariables.cpp292 if (const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl())) {
392 VD = cast<VarDecl>(DS->getSingleDecl());
H A DUninitializedValues.cpp627 const VarDecl *VD = cast<VarDecl>(DS->getSingleDecl());
H A DConsumed.cpp852 if (const VarDecl *Var = dyn_cast_or_null<VarDecl>(DeclS->getSingleDecl()))
H A DCFG.cpp1941 VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl());
3830 DeclMap[cast<DeclStmt>(stmt)->getSingleDecl()] = P;
3939 VarDecl *VD = cast<VarDecl>(DS->getSingleDecl());
/external/clang/lib/Sema/
H A DSemaStmt.cpp84 Decl *decl = DG.getSingleDecl();
1738 VarDecl *D = dyn_cast<VarDecl>(DS->getSingleDecl());
1917 Decl *LoopVar = DS->getSingleDecl();
2097 VarDecl *RangeVar = cast<VarDecl>(RangeDS->getSingleDecl());
2101 VarDecl *LoopVar = cast<VarDecl>(LoopVarDS->getSingleDecl());
H A DSemaOpenMP.cpp1396 if (auto Var = dyn_cast_or_null<VarDecl>(DS->getSingleDecl())) {
H A DTreeTransform.h1605 if (VarDecl *RangeVar = dyn_cast<VarDecl>(RangeStmt->getSingleDecl())) {
/external/clang/include/clang/ASTMatchers/
H A DASTMatchers.h2052 const Decl *FoundDecl = Node.getSingleDecl();
/external/clang/lib/CodeGen/
H A DCGObjC.cpp1437 variable = EmitAutoVarAlloca(*cast<VarDecl>(SD->getSingleDecl()));
1589 const VarDecl* D = cast<VarDecl>(SD->getSingleDecl());
/external/clang/lib/Rewrite/Frontend/
H A DRewriteModernObjC.cpp1734 NamedDecl* D = cast<NamedDecl>(DS->getSingleDecl());
H A DRewriteObjC.cpp1495 NamedDecl* D = cast<NamedDecl>(DS->getSingleDecl());

Completed in 3774 milliseconds