/external/v8/tools/clang/blink_gc_plugin/ |
D | CheckTraceVisitor.cpp | 23 if (FieldDecl* field = dyn_cast<FieldDecl>(member->getMemberDecl())) in VisitMemberExpr() 129 if (FieldDecl* field = dyn_cast<FieldDecl>(member->getMemberDecl())) { in TraverseMemberExpr() 203 dyn_cast<FunctionDecl>(callee->getMemberDecl()); in CheckTraceBaseCall()
|
D | CheckDispatchVisitor.cpp | 22 if (CXXMethodDecl* fn = dyn_cast<CXXMethodDecl>(member->getMemberDecl())) { in VisitMemberExpr()
|
D | CheckFinalizerVisitor.cpp | 102 FieldDecl* field = dyn_cast<FieldDecl>(member->getMemberDecl()); in VisitMemberExpr()
|
/external/clang/lib/Sema/ |
D | ScopeInfo.cpp | 72 D = ME->getMemberDecl(); in getBaseInfo() 234 VD = dyn_cast<VarDecl>(ME->getMemberDecl()); in getPotentialVariableCapture()
|
D | SemaOpenMP.cpp | 1519 if (auto *FD = dyn_cast<FieldDecl>(E->getMemberDecl())) { in VisitMemberExpr() 4136 return SetLCDeclAndLB(ME->getMemberDecl(), ME, BO->getRHS()); in CheckInit() 4142 return SetLCDeclAndLB(ME->getMemberDecl(), ME, BO->getRHS()); in CheckInit() 4164 return SetLCDeclAndLB(ME->getMemberDecl(), ME, BO->getRHS()); in CheckInit() 4170 return SetLCDeclAndLB(ME->getMemberDecl(), ME, BO->getRHS()); in CheckInit() 4200 return getCanonicalDecl(ME->getMemberDecl()); in GetInitLCDecl() 4206 return getCanonicalDecl(ME->getMemberDecl()); in GetInitLCDecl() 8185 !isa<FieldDecl>(ME->getMemberDecl()))) { in getPrivateItem() 8198 return std::make_pair(DE ? DE->getDecl() : ME->getMemberDecl(), false); in getPrivateItem() 8876 E->getMemberDecl() == Field) { in TransformMemberExpr() [all …]
|
D | SemaExpr.cpp | 3776 D = ME->getMemberDecl(); in CheckAlignOfExpr() 5232 NDecl = cast<MemberExpr>(NakedFn)->getMemberDecl(); in ActOnCallExpr() 9038 return Mem->getMemberDecl(); in getCompareDecl() 9644 if (!isa<FieldDecl>(ME->getMemberDecl())) return false; in IsReadonlyMessage() 9733 const ValueDecl *VD = ME->getMemberDecl(); in DiagnoseConstAssignment() 9951 if (ML && MR && ML->getMemberDecl() == MR->getMemberDecl()) { in CheckIdentityFieldAssignment() 10763 return ME->getMemberDecl(); in getDeclFromExpr() 13815 Var = dyn_cast<VarDecl>(ME->getMemberDecl()); in UpdateMarkingForLValueToRValue() 13844 Var = cast<VarDecl>(ME->getMemberDecl()); in CleanupVarDeclMarking() 14005 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(ME->getMemberDecl()); in MarkExprReferenced() [all …]
|
D | SemaChecking.cpp | 6862 if (M->getMemberDecl()->getType()->isReferenceType()) in EvalVal() 8599 if (!M->getMemberDecl()->getType()->isReferenceType()) in CheckForReference() 8712 D = M->getMemberDecl(); in DiagnoseAlwaysNonNullPointer() 9058 return ME->getMemberDecl(); in getObject() 9599 ND = dyn_cast<NamedDecl>(ME->getMemberDecl()); in CheckArrayAccess() 9684 ND = dyn_cast<NamedDecl>(ME->getMemberDecl()); in CheckArrayAccess() 10490 if (LHSME->getMemberDecl()->getCanonicalDecl() != in DiagnoseSelfMove() 10491 RHSME->getMemberDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
|
/external/bcc/src/cc/frontends/clang/ |
D | b_frontend_action.cc | 136 tuple<Decl *, int> pt = make_tuple(M->getMemberDecl(), nb_derefs_); in VisitMemberExpr() 224 tuple<Decl *, int> pt = make_tuple(M->getMemberDecl(), nb_derefs_); in VisitMemberExpr() 238 StringRef memb_name = Memb->getMemberDecl()->getName(); in VisitCallExpr() 287 StringRef memb_name = Memb->getMemberDecl()->getName(); in assignsExtPtr() 750 StringRef memb_name = Memb->getMemberDecl()->getName(); in VisitCallExpr() 1015 if (FieldDecl *F = dyn_cast<FieldDecl>(Memb->getMemberDecl())) { in VisitBinaryOperator() 1045 if (FieldDecl *F = dyn_cast<FieldDecl>(Memb->getMemberDecl())) { in VisitImplicitCastExpr()
|
/external/clang/unittests/Tooling/ |
D | RecursiveASTVisitorTest.cpp | 105 Match(ME->getMemberDecl()->getNameAsString(), ME->getLocStart()); in VisitMemberExpr()
|
/external/clang/lib/Index/ |
D | IndexBody.cpp | 93 if (auto *CXXMD = dyn_cast_or_null<CXXMethodDecl>(ME->getMemberDecl())) in getRolesForRef() 145 return IndexCtx.handleReference(E->getMemberDecl(), Loc, in VisitMemberExpr()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | IdenticalExprChecker.cpp | 485 return MemberStmt1->getMemberDecl() == MemberStmt2->getMemberDecl(); in isIdenticalStmt()
|
D | MallocOverflowSecurityChecker.cpp | 146 return ME->getMemberDecl(); in getDecl()
|
/external/clang/lib/AST/ |
D | ExprClassification.cpp | 460 return (isa<FunctionDecl>(E->getMemberDecl()) in ClassifyMemberExpr() 477 NamedDecl *Member = E->getMemberDecl(); in ClassifyMemberExpr()
|
D | Expr.cpp | 79 if (FieldDecl *Field = dyn_cast<FieldDecl>(ME->getMemberDecl())) { in skipRValueSubobjectAdjustments() 1204 return ME->getMemberDecl(); in getCalleeDecl() 1387 D = ME->getMemberDecl(); in UnaryExprOrTypeTraitExpr() 2280 assert(isa<CXXMethodDecl>(mem->getMemberDecl())); in findBoundMemberType() 2281 return mem->getMemberDecl()->getType(); in findBoundMemberType() 3300 if (FieldDecl *Field = dyn_cast<FieldDecl>(MemRef->getMemberDecl())) in getSourceBitField()
|
D | ExprConstant.cpp | 4365 Member = ME->getMemberDecl(); in handleCallExpr() 4463 const FieldDecl *FD = dyn_cast<FieldDecl>(E->getMemberDecl()); in VisitMemberExpr() 4636 const ValueDecl *MD = E->getMemberDecl(); in VisitMemberExpr() 4637 if (const FieldDecl *FD = dyn_cast<FieldDecl>(E->getMemberDecl())) { in VisitMemberExpr() 4906 if (const VarDecl *VD = dyn_cast<VarDecl>(E->getMemberDecl())) { in VisitMemberExpr() 4912 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(E->getMemberDecl())) { in VisitMemberExpr() 5235 return Info.Ctx.getDeclAlign(ME->getMemberDecl(), in GetAlignOfExpr() 6262 if (CheckReferencedDecl(E, E->getMemberDecl())) { in VisitMemberExpr() 6636 if (auto *FD = dyn_cast<FieldDecl>(ME->getMemberDecl())) { in isDesignatorAtObjectEnd() 6640 } else if (auto *IFD = dyn_cast<IndirectFieldDecl>(ME->getMemberDecl())) { in isDesignatorAtObjectEnd()
|
D | ASTDumper.cpp | 2037 OS << " " << (Node->isArrow() ? "->" : ".") << *Node->getMemberDecl(); in VisitMemberExpr() 2038 dumpPointer(Node->getMemberDecl()); in VisitMemberExpr()
|
D | StmtPrinter.cpp | 1546 ? dyn_cast<FieldDecl>(ParentMember->getMemberDecl()) : nullptr; in VisitMemberExpr() 1551 if (FieldDecl *FD = dyn_cast<FieldDecl>(Node->getMemberDecl())) in VisitMemberExpr()
|
/external/clang/lib/CodeGen/ |
D | CGClass.cpp | 1245 FieldDecl *Field = dyn_cast<FieldDecl>(ME->getMemberDecl()); in getMemcpyableField() 1254 if (dyn_cast<FieldDecl>(ME2->getMemberDecl()) != Field) in getMemcpyableField() 1264 FieldDecl *Field = dyn_cast<FieldDecl>(IOA->getMemberDecl()); in getMemcpyableField() 1268 if (!Arg0 || Field != dyn_cast<FieldDecl>(Arg0->getMemberDecl())) in getMemcpyableField() 1284 FieldDecl *Field = dyn_cast<FieldDecl>(ME->getMemberDecl()); in getMemcpyableField() 1294 if (!ME2 || Field != dyn_cast<FieldDecl>(ME2->getMemberDecl())) in getMemcpyableField() 2879 if (const ValueDecl *VD = dyn_cast<ValueDecl>(ME->getMemberDecl())) in CanDevirtualizeMemberFunctionCall()
|
/external/clang/lib/ARCMigrate/ |
D | TransRetainReleaseDealloc.cpp | 304 return ME->getMemberDecl(); in getReferencedDecl()
|
/external/clang/lib/Analysis/ |
D | ReachableCode.cpp | 203 return isConfigurationValue(cast<MemberExpr>(S)->getMemberDecl(), PP); in isConfigurationValue()
|
D | UninitializedValues.cpp | 382 if (VarDecl *VD = dyn_cast<VarDecl>(ME->getMemberDecl())) { in classify()
|
D | ThreadSafetyCommon.cpp | 340 cast<ValueDecl>(ME->getMemberDecl()->getCanonicalDecl()); in translateMemberExpr()
|
/external/clang/include/clang/AST/ |
D | Expr.h | 2411 ValueDecl *getMemberDecl() const { return MemberDecl; } in getMemberDecl() function 2417 return DeclAccessPair::make(getMemberDecl(), in getFoundDecl() 2418 getMemberDecl()->getAccess()); in getFoundDecl()
|
/external/clang/tools/libclang/ |
D | CXCursor.cpp | 1504 MD = dyn_cast_or_null<CXXMethodDecl>(ME->getMemberDecl())) in clang_Cursor_isDynamicCall()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchersInternal.h | 795 return matchesDecl(Node.getMemberDecl(), Finder, Builder); in matchesSpecialized()
|