Home
last modified time | relevance | path

Searched defs:VD (Results 1 – 25 of 76) sorted by relevance

1234

/external/clang/lib/Analysis/
DPseudoConstantAnalysis.cpp40 bool PseudoConstantAnalysis::isPseudoConstant(const VarDecl *VD) { in isPseudoConstant()
56 bool PseudoConstantAnalysis::wasReferenced(const VarDecl *VD) { in wasReferenced()
125 const VarDecl *VD = dyn_cast<VarDecl>(LHSDecl); in RunAnalysis() local
159 const VarDecl *VD = dyn_cast<VarDecl>(D); in RunAnalysis() local
178 const VarDecl *VD = dyn_cast<VarDecl>(*I); in RunAnalysis() local
204 if (const VarDecl *VD = dyn_cast<VarDecl>(BDR->getDecl())) { in RunAnalysis() local
215 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in RunAnalysis() local
DLiveVariables.cpp67 void VisitVarDecl(VarDecl* VD) { in VisitVarDecl()
212 VarDecl* VD = 0; in BlockStmt_VisitObjCForCollectionStmt() local
245 if (VarDecl* VD = dyn_cast<VarDecl>(DR->getDecl())) { in VisitUnaryOperator() local
292 if (VarDecl* VD = dyn_cast<VarDecl>(*DI)) { in VisitDeclStmt() local
DAnalysisContext.cpp323 bool IsTrackedDecl(const VarDecl *VD) { in IsTrackedDecl()
336 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in VisitDeclRefExpr() local
347 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in VisitBlockDeclRefExpr() local
DCFG.cpp33 if (VarDecl* VD = dyn_cast<VarDecl>(D)) in GetEndLoc() local
182 void addVar(VarDecl* VD) { in addVar()
752 if (VarDecl* VD = dyn_cast<VarDecl>(*DI)) in addLocalScopeForDeclStmt() local
761 LocalScope* CFGBuilder::addLocalScopeForVarDecl(VarDecl* VD, in addLocalScopeForVarDecl()
1370 VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl()); in VisitDeclSubExpr() local
1433 if (VarDecl* VD = I->getConditionVariable()) { in VisitIfStmt() local
1519 if (VarDecl *VD = I->getConditionVariable()) { in VisitIfStmt() local
1616 if (VarDecl* VD = F->getConditionVariable()) in VisitForStmt() local
1657 if (VarDecl *VD = F->getConditionVariable()) { in VisitForStmt() local
1906 if (VarDecl* VD = W->getConditionVariable()) { in VisitWhileStmt() local
[all …]
/external/clang/lib/AST/
DStmtIterator.cpp44 if (VarDecl* VD = dyn_cast<VarDecl>(decl)) in NextVA() local
51 if (VarDecl* VD = dyn_cast<VarDecl>(*DGI)) in NextVA() local
92 if (VarDecl* VD = dyn_cast<VarDecl>(D)) { in HandleDecl() local
142 VarDecl* VD = cast<VarDecl>(*DGI); in GetDeclExpr() local
148 if (VarDecl* VD = dyn_cast<VarDecl>(decl)) { in GetDeclExpr() local
/external/clang/lib/StaticAnalyzer/Checkers/
DDeadStoresChecker.cpp137 void CheckVarDecl(VarDecl* VD, Expr* Ex, Expr* Val, in CheckVarDecl()
158 if (VarDecl* VD = dyn_cast<VarDecl>(DR->getDecl())) in CheckDeclRef() local
162 bool isIncrement(VarDecl* VD, BinaryOperator* B) { in isIncrement()
201 if (VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in ObserveStmt() local
280 if (VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) { in ObserveStmt() local
329 if (VarDecl* VD = dyn_cast<VarDecl>(DR->getDecl())) { in VisitUnaryOperator() local
DUndefCapturedBlockVarChecker.cpp36 const VarDecl *VD){ in FindBlockDeclRefExpr()
69 const VarDecl *VD = VR->getDecl(); in checkPostStmt() local
DIdempotentOperationChecker.cpp468 const VarDecl *VD = dyn_cast<VarDecl>(LHS_DR->getDecl()); in isSelfAssign() local
493 const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()); in isUnused() local
512 const VarDecl *VD = dyn_cast<VarDecl>(LHS_DR->getDecl()); in isTruncationExtensionAssignment() local
706 const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()); in isConstantOrPseudoConstant() local
726 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in containsNonLocalVarDecl() local
DDereferenceChecker.cpp50 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in AddDerefSource() local
147 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in checkLocation() local
DUndefinedAssignmentChecker.cpp70 const VarDecl* VD = dyn_cast<VarDecl>(DS->getSingleDecl()); in checkBind() local
DVLASizeChecker.cpp41 const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl()); in checkPreStmt() local
DIteratorsChecker.cpp282 const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl()); in handleAssign() local
307 const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl()); in handleAssign() local
372 const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl()); in getRegion() local
509 const VarDecl* VD = dyn_cast<VarDecl>(D); in checkPreStmt() local
DLLVMConventionsChecker.cpp143 if (VarDecl *VD = dyn_cast<VarDecl>(*I)) in VisitDeclStmt() local
147 void StringRefCheckerVisitor::VisitVarDecl(VarDecl *VD) { in VisitVarDecl()
DMallocChecker.cpp404 const VarDecl *VD; in SummarizeRegion() local
418 const VarDecl *VD; in SummarizeRegion() local
433 const VarDecl *VD; in SummarizeRegion() local
/external/clang/test/CodeGenCXX/
Dmangle-alias-template.cpp20 Vec<double> VD; in z() local
/external/clang/lib/StaticAnalyzer/Core/
DCheckerHelpers.cpp55 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in containsStaticLocal() local
DBugReporterVisitors.cpp161 const VarDecl *VD = cast<VarDecl>(DS->getSingleDecl()); in VisitNode() local
321 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in registerTrackNullOrUndefValue() local
440 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) { in registerVarDeclsLastStore() local
/external/clang/include/clang/Analysis/Visitors/
DCFGRecStmtDeclVisitor.h51 if (VarDecl* VD = dyn_cast<VarDecl>(D)) in VisitDeclStmt() local
/external/clang/lib/ARCMigrate/
DTransAPIUses.cpp106 if (VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) in VisitObjCMessageExpr() local
DTransBlockObjCVariable.cpp115 bool isAlreadyChecked(VarDecl *VD) { in isAlreadyChecked()
/external/clang/tools/libclang/
DCXType.cpp129 if (ValueDecl *VD = dyn_cast<ValueDecl>(D)) in clang_getCursorType() local
397 if (ValueDecl *VD = dyn_cast<ValueDecl>(D)) in clang_getDeclObjCTypeEncoding() local
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp208 ValueDecl *VD = DRE->getDecl(); in CheckFallThrough() local
423 static bool DiagnoseUninitializedUse(Sema &S, const VarDecl *VD, in DiagnoseUninitializedUse()
480 static void SuggestInitializationFixit(Sema &S, const VarDecl *VD) { in SuggestInitializationFixit()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DStore.h92 virtual Loc getLValueVar(const VarDecl *VD, const LocationContext *LC) { in getLValueVar()
/external/clang/lib/CodeGen/
DCGExpr.cpp179 if (const VarDecl *VD = dyn_cast_or_null<VarDecl>(InitializedDecl)) { in CreateReferenceTemporary() local
448 const VarDecl *VD = dyn_cast_or_null<VarDecl>(InitializedDecl); in EmitReferenceBindingToExpr() local
1219 if (const VarDecl *VD = dyn_cast<VarDecl>(Exp->getDecl())) { in setObjCGCLValueClass() local
1299 const Expr *E, const VarDecl *VD) { in EmitGlobalVarDeclLValue()
1340 const ValueDecl *VD = cast<ValueDecl>(ND); in EmitDeclRefLValue() local
1345 if (const VarDecl *VD = dyn_cast<VarDecl>(ND)) { in EmitDeclRefLValue() local
1781 if (VarDecl *VD = dyn_cast<VarDecl>(ND)) in EmitMemberExpr() local
/external/clang/lib/Rewrite/
DRewriteObjC.cpp1637 ValueDecl *VD = cast<ValueDecl>(DR->getDecl()); in RewriteObjCForCollectionStmt() local
2247 if (VarDecl *VD = dyn_cast<VarDecl>(Dcl)) { in RewriteObjCQualifiedInterfaceTypes() local
2397 ValueDecl *VD) { in RewriteBlockPointerTypeVariable()
3179 VarDecl *VD = VarDecl::Create(*Context, TUDecl, SourceLocation(), in RewriteObjCProtocolExpr() local
4131 ValueDecl *VD, bool def) { in RewriteByRefString()
4140 static bool HasLocalVariableExternalStorage(ValueDecl *VD) { in HasLocalVariableExternalStorage()
4448 ValueDecl *VD = Exp->getDecl(); in SynthesizeBlockLiterals() local
4750 ValueDecl *VD; in RewriteBlockDeclRefExpr() local
4793 ValueDecl *VD = DRE->getDecl(); in RewriteLocalVariableExternalStorage() local
4953 if (VarDecl *VD = dyn_cast<VarDecl>(ND)) in RewriteBlockPointerDecl() local
[all …]

1234