Home
last modified time | relevance | path

Searched refs:getMemberDecl (Results 1 – 25 of 44) sorted by relevance

12

/external/v8/tools/clang/blink_gc_plugin/
DCheckTraceVisitor.cpp23 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()
DCheckDispatchVisitor.cpp22 if (CXXMethodDecl* fn = dyn_cast<CXXMethodDecl>(member->getMemberDecl())) { in VisitMemberExpr()
DCheckFinalizerVisitor.cpp102 FieldDecl* field = dyn_cast<FieldDecl>(member->getMemberDecl()); in VisitMemberExpr()
/external/clang/lib/Sema/
DScopeInfo.cpp72 D = ME->getMemberDecl(); in getBaseInfo()
234 VD = dyn_cast<VarDecl>(ME->getMemberDecl()); in getPotentialVariableCapture()
DSemaOpenMP.cpp1519 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 …]
DSemaExpr.cpp3776 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 …]
DSemaChecking.cpp6862 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/
Db_frontend_action.cc136 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/
DRecursiveASTVisitorTest.cpp105 Match(ME->getMemberDecl()->getNameAsString(), ME->getLocStart()); in VisitMemberExpr()
/external/clang/lib/Index/
DIndexBody.cpp93 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/
DIdenticalExprChecker.cpp485 return MemberStmt1->getMemberDecl() == MemberStmt2->getMemberDecl(); in isIdenticalStmt()
DMallocOverflowSecurityChecker.cpp146 return ME->getMemberDecl(); in getDecl()
/external/clang/lib/AST/
DExprClassification.cpp460 return (isa<FunctionDecl>(E->getMemberDecl()) in ClassifyMemberExpr()
477 NamedDecl *Member = E->getMemberDecl(); in ClassifyMemberExpr()
DExpr.cpp79 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()
DExprConstant.cpp4365 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()
DASTDumper.cpp2037 OS << " " << (Node->isArrow() ? "->" : ".") << *Node->getMemberDecl(); in VisitMemberExpr()
2038 dumpPointer(Node->getMemberDecl()); in VisitMemberExpr()
DStmtPrinter.cpp1546 ? dyn_cast<FieldDecl>(ParentMember->getMemberDecl()) : nullptr; in VisitMemberExpr()
1551 if (FieldDecl *FD = dyn_cast<FieldDecl>(Node->getMemberDecl())) in VisitMemberExpr()
/external/clang/lib/CodeGen/
DCGClass.cpp1245 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/
DTransRetainReleaseDealloc.cpp304 return ME->getMemberDecl(); in getReferencedDecl()
/external/clang/lib/Analysis/
DReachableCode.cpp203 return isConfigurationValue(cast<MemberExpr>(S)->getMemberDecl(), PP); in isConfigurationValue()
DUninitializedValues.cpp382 if (VarDecl *VD = dyn_cast<VarDecl>(ME->getMemberDecl())) { in classify()
DThreadSafetyCommon.cpp340 cast<ValueDecl>(ME->getMemberDecl()->getCanonicalDecl()); in translateMemberExpr()
/external/clang/include/clang/AST/
DExpr.h2411 ValueDecl *getMemberDecl() const { return MemberDecl; } in getMemberDecl() function
2417 return DeclAccessPair::make(getMemberDecl(), in getFoundDecl()
2418 getMemberDecl()->getAccess()); in getFoundDecl()
/external/clang/tools/libclang/
DCXCursor.cpp1504 MD = dyn_cast_or_null<CXXMethodDecl>(ME->getMemberDecl())) in clang_Cursor_isDynamicCall()
/external/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h795 return matchesDecl(Node.getMemberDecl(), Finder, Builder); in matchesSpecialized()

12