/external/clang/lib/Analysis/ |
D | PseudoConstantAnalysis.cpp | 40 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
|
D | LiveVariables.cpp | 67 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
|
D | AnalysisContext.cpp | 323 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
|
D | CFG.cpp | 33 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/ |
D | StmtIterator.cpp | 44 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/ |
D | DeadStoresChecker.cpp | 137 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
|
D | UndefCapturedBlockVarChecker.cpp | 36 const VarDecl *VD){ in FindBlockDeclRefExpr() 69 const VarDecl *VD = VR->getDecl(); in checkPostStmt() local
|
D | IdempotentOperationChecker.cpp | 468 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
|
D | DereferenceChecker.cpp | 50 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
|
D | UndefinedAssignmentChecker.cpp | 70 const VarDecl* VD = dyn_cast<VarDecl>(DS->getSingleDecl()); in checkBind() local
|
D | VLASizeChecker.cpp | 41 const VarDecl *VD = dyn_cast<VarDecl>(DS->getSingleDecl()); in checkPreStmt() local
|
D | IteratorsChecker.cpp | 282 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
|
D | LLVMConventionsChecker.cpp | 143 if (VarDecl *VD = dyn_cast<VarDecl>(*I)) in VisitDeclStmt() local 147 void StringRefCheckerVisitor::VisitVarDecl(VarDecl *VD) { in VisitVarDecl()
|
D | MallocChecker.cpp | 404 const VarDecl *VD; in SummarizeRegion() local 418 const VarDecl *VD; in SummarizeRegion() local 433 const VarDecl *VD; in SummarizeRegion() local
|
/external/clang/test/CodeGenCXX/ |
D | mangle-alias-template.cpp | 20 Vec<double> VD; in z() local
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CheckerHelpers.cpp | 55 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) in containsStaticLocal() local
|
D | BugReporterVisitors.cpp | 161 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/ |
D | CFGRecStmtDeclVisitor.h | 51 if (VarDecl* VD = dyn_cast<VarDecl>(D)) in VisitDeclStmt() local
|
/external/clang/lib/ARCMigrate/ |
D | TransAPIUses.cpp | 106 if (VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl())) in VisitObjCMessageExpr() local
|
D | TransBlockObjCVariable.cpp | 115 bool isAlreadyChecked(VarDecl *VD) { in isAlreadyChecked()
|
/external/clang/tools/libclang/ |
D | CXType.cpp | 129 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/ |
D | AnalysisBasedWarnings.cpp | 208 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/ |
D | Store.h | 92 virtual Loc getLValueVar(const VarDecl *VD, const LocationContext *LC) { in getLValueVar()
|
/external/clang/lib/CodeGen/ |
D | CGExpr.cpp | 179 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/ |
D | RewriteObjC.cpp | 1637 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 …]
|