| /minix3/external/bsd/llvm/dist/clang/test/Index/ |
| H A D | file-refs-subscripting.m | 43 // CHECK-NEXT: DeclRefExpr=index:22:18 =[26:16 - 26:21] 48 // CHECK-NEXT: DeclRefExpr=p:22:28 =[25:21 - 25:22] 49 // CHECK-NEXT: DeclRefExpr=p:22:28 =[25:24 - 25:25] 52 // CHECK-NEXT: DeclRefExpr=key:31:13 54 // CHECK-NEXT: DeclRefExpr=key:31:13 =[33:26 - 33:29] 55 // CHECK-NEXT: DeclRefExpr=key:31:13 =[34:14 - 34:17] 56 // CHECK-NEXT: DeclRefExpr=key:31:13 =[35:27 - 35:30] 57 // CHECK-NEXT: DeclRefExpr=key:31:13 =[35:43 - 35:46] 60 // CHECK-NEXT: DeclRefExpr=newObject:32:6 62 // CHECK-NEXT: DeclRefExpr=newObject:32:6 =[34:21 - 34:30] [all …]
|
| H A D | annotate-subscripting.m | 39 // CHECK: Identifier: "array" [24:3 - 24:8] DeclRefExpr=array:23:19 52 // CHECK: Identifier: "p" [25:21 - 25:22] DeclRefExpr=p:22:28 54 // CHECK: Identifier: "p" [25:24 - 25:25] DeclRefExpr=p:22:28 58 // CHECK: Identifier: "array" [26:10 - 26:15] DeclRefExpr=array:23:19 60 // CHECK: Identifier: "index" [26:16 - 26:21] DeclRefExpr=index:22:18 64 // CHECK: Identifier: "oldObject" [33:3 - 33:12] DeclRefExpr=oldObject:32:17 66 // CHECK: Identifier: "dictionary" [33:15 - 33:25] DeclRefExpr=dictionary:30:24 68 // CHECK: Identifier: "key" [33:26 - 33:29] DeclRefExpr=key:31:13 71 // CHECK: Identifier: "dictionary" [34:3 - 34:13] DeclRefExpr=dictionary:30:24 73 // CHECK: Identifier: "key" [34:14 - 34:17] DeclRefExpr=key:31:13 [all …]
|
| H A D | index-subscripting-literals.m | 44 …ference]: kind: variable | name: idx | USR: c:@idx | lang: C | cursor: DeclRefExpr=idx:22:5 | loc:… 45 …tyReference]: kind: variable | name: p | USR: c:@p | lang: C | cursor: DeclRefExpr=p:23:4 | loc: 2… 49 …tyReference]: kind: variable | name: p | USR: c:@p | lang: C | cursor: DeclRefExpr=p:23:4 | loc: 2… 50 …tyReference]: kind: variable | name: p | USR: c:@p | lang: C | cursor: DeclRefExpr=p:23:4 | loc: 2… 51 …ference]: kind: variable | name: idx | USR: c:@idx | lang: C | cursor: DeclRefExpr=idx:22:5 | loc:… 56 …ference]: kind: variable | name: key | USR: c:@key | lang: C | cursor: DeclRefExpr=key:32:11 | loc… 58 …ference]: kind: variable | name: key | USR: c:@key | lang: C | cursor: DeclRefExpr=key:32:11 | loc… 59 …nd: variable | name: newObject | USR: c:@newObject | lang: C | cursor: DeclRefExpr=newObject:33:4 … 63 …ference]: kind: variable | name: key | USR: c:@key | lang: C | cursor: DeclRefExpr=key:32:11 | loc… 64 …nd: variable | name: newObject | USR: c:@newObject | lang: C | cursor: DeclRefExpr=newObject:33:4 … [all …]
|
| H A D | annotate-literals.m | 47 // CHECK-LITERALS: Identifier: "o1" [33:19 - 33:21] DeclRefExpr=o1:32:30 49 // CHECK-LITERALS: Identifier: "o2" [33:23 - 33:25] DeclRefExpr=o2:32:44 57 // CHECK-LITERALS: Identifier: "k1" [34:16 - 34:18] DeclRefExpr=k1:32:23 59 // CHECK-LITERALS: Identifier: "o1" [34:21 - 34:23] DeclRefExpr=o1:32:30 61 // CHECK-LITERALS: Identifier: "k2" [35:16 - 35:18] DeclRefExpr=k2:32:37 63 // CHECK-LITERALS: Identifier: "o2" [35:21 - 35:23] DeclRefExpr=o2:32:44 65 // CHECK-LITERALS: Identifier: "k3" [36:16 - 36:18] DeclRefExpr=k3:32:51
|
| H A D | c-index-getCursor-test.m | 122 // CHECK: [46:10 - 46:13] DeclRefExpr=bee:45:8 141 // CHECK: [49:2 - 49:3] DeclRefExpr=d:48:13 143 // CHECK: [49:6 - 49:7] DeclRefExpr=c:47:12 146 // CHECK: [50:3 - 50:4] DeclRefExpr=d:48:13 150 // CHECK: [51:3 - 51:6] DeclRefExpr=bee:45:8 153 // CHECK: [51:27 - 51:30] DeclRefExpr=bee:45:8 157 // CHECK: [52:3 - 52:7] DeclRefExpr=main:44:5 159 // CHECK: [52:8 - 52:16] DeclRefExpr=someEnum:41:3 162 // CHECK: [52:33 - 52:36] DeclRefExpr=bee:45:8
|
| H A D | boxed-exprs.m | 15 // CHECK-CURSOR: 7:19 DeclRefExpr=glob_str:4:13 Extent=[7:19 - 7:27] Spelling=glob_str ([7:19 - 7:2… 19 // CHECK-CURSOR2: 9:19 DeclRefExpr=cs:8:38 Extent=[9:19 - 9:21] Spelling=cs ([9:19 - 9:21])
|
| /minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DeadStoresChecker.cpp | 54 bool VisitDeclRefExpr(DeclRefExpr *DR) { in VisitDeclRefExpr() 229 void CheckDeclRef(const DeclRefExpr *DR, const Expr *Val, DeadStoreKind dsk, in CheckDeclRef() 245 const DeclRefExpr *DR; in isIncrement() 247 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getLHS()->IgnoreParenCasts()))) in isIncrement() 251 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getRHS()->IgnoreParenCasts()))) in isIncrement() 272 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(B->getLHS())) in observeStmt() 288 if (const DeclRefExpr *RhsDR = dyn_cast<DeclRefExpr>(RHS)) in observeStmt() 310 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(Ex)) in observeStmt() 358 if (const DeclRefExpr *DRE = in observeStmt() 359 dyn_cast<DeclRefExpr>(E->IgnoreParenCasts())) in observeStmt() [all …]
|
| H A D | CStringSyntaxChecker.cpp | 40 if (const DeclRefExpr *D1 = dyn_cast<DeclRefExpr>(A1->IgnoreParenCasts())) in sameDecl() 41 if (const DeclRefExpr *D2 = dyn_cast<DeclRefExpr>(A2->IgnoreParenCasts())) in sameDecl() 75 if (const DeclRefExpr *D = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts())) in getPrintableName()
|
| H A D | UndefCapturedBlockVarChecker.cpp | 37 static const DeclRefExpr *FindBlockDeclRefExpr(const Stmt *S, in FindBlockDeclRefExpr() 39 if (const DeclRefExpr *BR = dyn_cast<DeclRefExpr>(S)) in FindBlockDeclRefExpr() 46 const DeclRefExpr *BR = FindBlockDeclRefExpr(child, VD); in FindBlockDeclRefExpr()
|
| H A D | MallocOverflowSecurityChecker.cpp | 91 else if (isa<DeclRefExpr>(e) || isa<MemberExpr>(e)) in CheckMallocArgument() 135 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E)) { in CheckExpr() 139 if (const DeclRefExpr *DR_i = dyn_cast<DeclRefExpr>(i->variable)) { in CheckExpr()
|
| H A D | CheckSecuritySyntaxOnly.cpp | 185 static const DeclRefExpr* 194 if (const DeclRefExpr *lhs = getIncrementedVar(B->getLHS(), x, y)) in getIncrementedVar() 197 if (const DeclRefExpr *rhs = getIncrementedVar(B->getRHS(), x, y)) in getIncrementedVar() 203 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(expr)) { in getIncrementedVar() 250 const DeclRefExpr *drLHS = in checkLoopConditionForFloat() 251 dyn_cast<DeclRefExpr>(B->getLHS()->IgnoreParenLValueCasts()); in checkLoopConditionForFloat() 252 const DeclRefExpr *drRHS = in checkLoopConditionForFloat() 253 dyn_cast<DeclRefExpr>(B->getRHS()->IgnoreParenLValueCasts()); in checkLoopConditionForFloat() 269 const DeclRefExpr *drInc = getIncrementedVar(increment, vdLHS, vdRHS); in checkLoopConditionForFloat() 277 const DeclRefExpr *drCond = vdLHS == drInc->getDecl() ? drLHS : drRHS; in checkLoopConditionForFloat()
|
| H A D | IdenticalExprChecker.cpp | 208 const DeclRefExpr *DeclRef1 = dyn_cast<DeclRefExpr>(LHS); in checkComparisonOp() 209 const DeclRefExpr *DeclRef2 = dyn_cast<DeclRefExpr>(RHS); in checkComparisonOp() 441 const DeclRefExpr *DeclRef1 = cast<DeclRefExpr>(Stmt1); in isIdenticalStmt() 442 const DeclRefExpr *DeclRef2 = cast<DeclRefExpr>(Stmt2); in isIdenticalStmt()
|
| /minix3/external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| H A D | CheckerHelpers.cpp | 36 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S); in containsEnum() 52 const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(S); in containsStaticLocal()
|
| /minix3/external/bsd/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGStmtOpenMP.cpp | 182 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl()); in EmitOMPFirstprivateClause() 183 auto *VD = cast<VarDecl>(cast<DeclRefExpr>(IInit)->getDecl()); in EmitOMPFirstprivateClause() 192 auto VDInit = cast<VarDecl>(cast<DeclRefExpr>(*InitsRef)->getDecl()); in EmitOMPFirstprivateClause() 226 auto *OrigVD = cast<VarDecl>(cast<DeclRefExpr>(*IRef)->getDecl()); in EmitOMPPrivateClause() 227 auto VD = cast<VarDecl>(cast<DeclRefExpr>(IInit)->getDecl()); in EmitOMPPrivateClause() 353 if (LocalDeclMap.lookup(cast<DeclRefExpr>((*IC))->getDecl())) { in EmitOMPSimdFinal() 390 auto VD = cast<VarDecl>(cast<DeclRefExpr>(E)->getDecl()); in EmitPrivateLoopCounters() 458 const VarDecl *IVDecl = cast<VarDecl>(cast<DeclRefExpr>(IVExpr)->getDecl()); in EmitOMPSimdDirective() 465 if (auto LIExpr = dyn_cast<DeclRefExpr>(S.getLastIteration())) { in EmitOMPSimdDirective() 505 const DeclRefExpr *Helper) { in EmitOMPHelperVar() [all …]
|
| H A D | CGCUDARuntime.cpp | 42 if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CE->getSubExpr())) { in EmitCUDAKernelCallExpr()
|
| /minix3/external/bsd/llvm/dist/clang/lib/Sema/ |
| H A D | ScopeInfo.cpp | 61 D = cast<DeclRefExpr>(E)->getDecl(); in getBaseInfo() 137 const DeclRefExpr *DRE) in WeakObjectProfileTy() 190 else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in markSafeWeakUse() 223 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)) in getPotentialVariableCapture()
|
| /minix3/external/bsd/llvm/dist/clang/lib/Analysis/ |
| H A D | PseudoConstantAnalysis.cpp | 70 if (const DeclRefExpr *DR = dyn_cast<DeclRefExpr>(E)) in getDecl() 201 const DeclRefExpr *DR = cast<DeclRefExpr>(Head); in RunAnalysis()
|
| H A D | UninitializedValues.cpp | 268 const DeclRefExpr *dr; 270 FindVarResult(const VarDecl *vd, const DeclRefExpr *dr) : vd(vd), dr(dr) {} in FindVarResult() 272 const DeclRefExpr *getDeclRefExpr() const { return dr; } in getDeclRefExpr() 293 if (const DeclRefExpr *DRE = in findVar() 294 dyn_cast<DeclRefExpr>(stripCasts(DC->getParentASTContext(), E))) in findVar() 315 llvm::DenseMap<const DeclRefExpr*, Class> Classification; 334 Class get(const DeclRefExpr *DRE) const { in get() 335 llvm::DenseMap<const DeclRefExpr*, Class>::const_iterator I in get() 349 static const DeclRefExpr *getSelfInitExpr(VarDecl *VD) { in getSelfInitExpr() 351 const DeclRefExpr *DRE in getSelfInitExpr() [all …]
|
| H A D | LiveVariables.cpp | 90 llvm::DenseMap<const DeclRefExpr *, unsigned> inAssignment; 208 void VisitDeclRefExpr(DeclRefExpr *DR); 341 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(LHS)) in VisitBinaryOperator() 370 void TransferFunctions::VisitDeclRefExpr(DeclRefExpr *DR) { in VisitDeclRefExpr() 386 DeclRefExpr *DR = nullptr; in VisitObjCForCollectionStmt() 393 else if ((DR = dyn_cast<DeclRefExpr>(cast<Expr>(element)->IgnoreParens()))) { in VisitObjCForCollectionStmt() 437 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(UO->getSubExpr()->IgnoreParens())) in VisitUnaryOperator() 525 if (const DeclRefExpr *DR = in computeLiveness() 526 dyn_cast<DeclRefExpr>(BO->getLHS()->IgnoreParens())) { in computeLiveness()
|
| /minix3/external/bsd/llvm/dist/clang/lib/ARCMigrate/ |
| H A D | TransProtectedScope.cpp | 27 SmallVectorImpl<DeclRefExpr *> &Refs; 30 LocalRefsCollector(SmallVectorImpl<DeclRefExpr *> &refs) in LocalRefsCollector() 33 bool VisitDeclRefExpr(DeclRefExpr *E) { in VisitDeclRefExpr() 99 SmallVector<DeclRefExpr *, 16> LocalRefs; 182 DeclRefExpr *DRE = LocalRefs[i]; in hasVarReferencedOutside()
|
| H A D | TransBlockObjCVariable.cpp | 52 if (DeclRefExpr * in TraverseImplicitCastExpr() 53 ref = dyn_cast<DeclRefExpr>(castE->getSubExpr())) { in TraverseImplicitCastExpr() 66 bool VisitDeclRefExpr(DeclRefExpr *E) { in VisitDeclRefExpr()
|
| H A D | TransAutoreleasePool.cpp | 57 if (DeclRefExpr *DE = dyn_cast<DeclRefExpr>(instance)) { in VisitObjCMessageExpr() 189 if (DeclRefExpr *dref = dyn_cast<DeclRefExpr>(bop->getLHS())) { in VisitCompoundStmt() 263 bool VisitDeclRefExpr(DeclRefExpr *E) { in VisitDeclRefExpr() 309 isa<DeclRefExpr>(retS->getRetValue()->IgnoreParenCasts())) && in handlePoolScope() 380 if (DeclRefExpr *dref = dyn_cast<DeclRefExpr>(rec)) in isPoolDrain()
|
| H A D | TransGCCalls.cpp | 47 if (DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(CEE)) { in VisitCallExpr()
|
| H A D | TransARCAssign.cpp | 49 DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()); in VisitBinaryOperator()
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/Analysis/Analyses/ |
| H A D | LiveVariables.h | 27 class DeclRefExpr; variable 68 virtual void observerKill(const DeclRefExpr *DR) {} in observerKill()
|