Home
last modified time | relevance | path

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

12

/external/clang/lib/Sema/
DScopeInfo.cpp64 D = ME->getMemberDecl(); in getBaseInfo()
207 VD = dyn_cast<VarDecl>(ME->getMemberDecl()); in getPotentialVariableCapture()
DSemaExpr.cpp3556 D = ME->getMemberDecl(); in CheckAlignOfExpr()
4569 NDecl = cast<MemberExpr>(NakedFn)->getMemberDecl(); in ActOnCallExpr()
7853 return Mem->getMemberDecl(); in getCompareDecl()
8447 if (!isa<FieldDecl>(ME->getMemberDecl())) return false; in IsReadonlyMessage()
8601 if (ML && MR && ML->getMemberDecl() == MR->getMemberDecl()) { in CheckIdentityFieldAssignment()
12385 Var = dyn_cast<VarDecl>(ME->getMemberDecl()); in UpdateMarkingForLValueToRValue()
12414 Var = cast<VarDecl>(ME->getMemberDecl()); in CleanupVarDeclMarking()
12557 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(ME->getMemberDecl()); in MarkExprReferenced()
12592 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(E->getMemberDecl())) in MarkMemberReferenced()
12598 MarkExprReferenced(*this, Loc, E->getMemberDecl(), E, OdrUse); in MarkMemberReferenced()
[all …]
DSemaChecking.cpp4777 if (M->getMemberDecl()->getType()->isReferenceType()) in EvalVal()
6225 if (!M->getMemberDecl()->getType()->isReferenceType()) in CheckForReference()
6296 D = M->getMemberDecl(); in DiagnoseAlwaysNonNullPointer()
6590 return ME->getMemberDecl(); in getObject()
7109 ND = dyn_cast<NamedDecl>(ME->getMemberDecl()); in CheckArrayAccess()
7194 ND = dyn_cast<NamedDecl>(ME->getMemberDecl()); in CheckArrayAccess()
/external/clang/lib/StaticAnalyzer/Checkers/
DMallocOverflowSecurityChecker.cpp147 const Decl * EmeMD = dyn_cast<MemberExpr>(E)->getMemberDecl(); in CheckExpr()
151 if (dyn_cast<MemberExpr>(i->variable)->getMemberDecl() == EmeMD) in CheckExpr()
DIdenticalExprChecker.cpp463 return MemberStmt1->getMemberDecl() == MemberStmt2->getMemberDecl(); in isIdenticalStmt()
/external/clang/tools/libclang/
DIndexBody.cpp48 IndexCtx.handleReference(E->getMemberDecl(), E->getMemberLoc(), in VisitMemberExpr()
DCXCursor.cpp1255 MD = dyn_cast_or_null<CXXMethodDecl>(ME->getMemberDecl())) in clang_Cursor_isDynamicCall()
/external/clang/lib/CodeGen/
DCGClass.cpp1025 FieldDecl *Field = dyn_cast<FieldDecl>(ME->getMemberDecl()); in getMemcpyableField()
1034 if (dyn_cast<FieldDecl>(ME2->getMemberDecl()) != Field) in getMemcpyableField()
1046 FieldDecl *Field = dyn_cast<FieldDecl>(IOA->getMemberDecl()); in getMemcpyableField()
1050 if (!Arg0 || Field != dyn_cast<FieldDecl>(Arg0->getMemberDecl())) in getMemcpyableField()
1066 FieldDecl *Field = dyn_cast<FieldDecl>(ME->getMemberDecl()); in getMemcpyableField()
1076 if (!ME2 || Field != dyn_cast<FieldDecl>(ME2->getMemberDecl())) in getMemcpyableField()
2059 if (const ValueDecl *VD = dyn_cast<ValueDecl>(ME->getMemberDecl())) in CanDevirtualizeMemberFunctionCall()
/external/clang/lib/AST/
DExprClassification.cpp448 return (isa<FunctionDecl>(E->getMemberDecl()) in ClassifyMemberExpr()
465 NamedDecl *Member = E->getMemberDecl(); in ClassifyMemberExpr()
DExpr.cpp79 if (FieldDecl *Field = dyn_cast<FieldDecl>(ME->getMemberDecl())) { in skipRValueSubobjectAdjustments()
1168 return ME->getMemberDecl(); in getCalleeDecl()
2338 assert(isa<CXXMethodDecl>(mem->getMemberDecl())); in findBoundMemberType()
2339 return mem->getMemberDecl()->getType(); in findBoundMemberType()
3257 if (FieldDecl *Field = dyn_cast<FieldDecl>(MemRef->getMemberDecl())) in getSourceBitField()
DStmtPrinter.cpp1173 ? dyn_cast<FieldDecl>(ParentMember->getMemberDecl()) : nullptr; in VisitMemberExpr()
1178 if (FieldDecl *FD = dyn_cast<FieldDecl>(Node->getMemberDecl())) in VisitMemberExpr()
DASTDumper.cpp1771 OS << " " << (Node->isArrow() ? "->" : ".") << *Node->getMemberDecl(); in VisitMemberExpr()
1772 dumpPointer(Node->getMemberDecl()); in VisitMemberExpr()
DExprConstant.cpp3993 Member = ME->getMemberDecl(); in VisitCallExpr()
4092 const FieldDecl *FD = dyn_cast<FieldDecl>(E->getMemberDecl()); in VisitMemberExpr()
4246 const ValueDecl *MD = E->getMemberDecl(); in VisitMemberExpr()
4247 if (const FieldDecl *FD = dyn_cast<FieldDecl>(E->getMemberDecl())) { in VisitMemberExpr()
4515 if (const VarDecl *VD = dyn_cast<VarDecl>(E->getMemberDecl())) { in VisitMemberExpr()
4521 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(E->getMemberDecl())) { in VisitMemberExpr()
5736 if (CheckReferencedDecl(E, E->getMemberDecl())) { in VisitMemberExpr()
6964 return Info.Ctx.getDeclAlign(ME->getMemberDecl(), in GetAlignOfExpr()
DStmtProfile.cpp497 VisitDecl(S->getMemberDecl()); in VisitMemberExpr()
DExprCXX.cpp552 return cast<CXXMethodDecl>(MemExpr->getMemberDecl()); in getMethodDecl()
/external/chromium_org/tools/clang/blink_gc_plugin/
DBlinkGCPlugin.cpp250 FieldDecl* field = dyn_cast<FieldDecl>(member->getMemberDecl()); in VisitMemberExpr()
290 if (CXXMethodDecl* fn = dyn_cast<CXXMethodDecl>(member->getMemberDecl())) { in VisitMemberExpr()
313 if (FieldDecl* field = dyn_cast<FieldDecl>(member->getMemberDecl())) { in VisitMemberExpr()
340 if (CXXMethodDecl* fn = dyn_cast<CXXMethodDecl>(member->getMemberDecl())) { in VisitMemberExpr()
/external/clang/unittests/Tooling/
DRecursiveASTVisitorTest.cpp607 Match(ME->getMemberDecl()->getNameAsString(), ME->getLocStart()); in VisitMemberExpr()
/external/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp314 return ME->getMemberDecl(); in getReferencedDecl()
/external/clang/lib/Analysis/
DReachableCode.cpp203 return isConfigurationValue(cast<MemberExpr>(S)->getMemberDecl(), PP); in isConfigurationValue()
DThreadSafetyCommon.cpp204 return new (Arena) til::Project(E, ME->getMemberDecl()); in translateMemberExpr()
DThreadSafety.cpp314 const NamedDecl *ND = ME->getMemberDecl(); in buildSExpr()
1464 return ME->getMemberDecl(); in getValueDecl()
/external/clang/include/clang/AST/
DExpr.h2407 ValueDecl *getMemberDecl() const { return MemberDecl; } in getMemberDecl() function
2413 return DeclAccessPair::make(getMemberDecl(), in getFoundDecl()
2414 getMemberDecl()->getAccess()); in getFoundDecl()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h2861 return InnerMatcher.matches(*Node.getMemberDecl(), Finder, Builder); in AST_MATCHER_P()
DASTMatchersInternal.h621 return matchesDecl(Node.getMemberDecl(), Finder, Builder); in matchesSpecialized()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp552 Writer.AddDeclRef(E->getMemberDecl(), Record); in VisitMemberExpr()
556 E->getMemberDecl()->getDeclName(), Record); in VisitMemberExpr()

12