Home
last modified time | relevance | path

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

12

/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()
/external/clang/tools/libclang/
DIndexBody.cpp48 IndexCtx.handleReference(E->getMemberDecl(), E->getMemberLoc(), in VisitMemberExpr()
DCXCursor.cpp1223 MD = dyn_cast_or_null<CXXMethodDecl>(ME->getMemberDecl())) in clang_Cursor_isDynamicCall()
/external/clang/lib/Sema/
DScopeInfo.cpp58 D = ME->getMemberDecl(); in getBaseInfo()
DSemaExpr.cpp3358 D = ME->getMemberDecl(); in CheckAlignOfExpr()
4422 NDecl = cast<MemberExpr>(NakedFn)->getMemberDecl(); in ActOnCallExpr()
8051 if (!isa<FieldDecl>(ME->getMemberDecl())) return false; in IsReadonlyMessage()
8200 if (ML && MR && ML->getMemberDecl() == MR->getMemberDecl()) { in CheckIdentityFieldAssignment()
11698 Var = cast<VarDecl>(ME->getMemberDecl()); in CleanupVarDeclMarking()
11819 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(ME->getMemberDecl()); in MarkExprReferenced()
11854 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(E->getMemberDecl())) in MarkMemberReferenced()
11860 MarkExprReferenced(*this, Loc, E->getMemberDecl(), E, OdrUse); in MarkMemberReferenced()
12285 return resolveDecl(E, E->getMemberDecl()); in VisitMemberExpr()
12376 return resolveDecl(E, E->getMemberDecl()); in VisitMemberExpr()
[all …]
DSemaChecking.cpp4211 if (M->getMemberDecl()->getType()->isReferenceType()) in EvalVal()
5156 D = M->getMemberDecl(); in CheckImplicitConversion()
5729 return ME->getMemberDecl(); in getObject()
6240 ND = dyn_cast<NamedDecl>(ME->getMemberDecl()); in CheckArrayAccess()
6325 ND = dyn_cast<NamedDecl>(ME->getMemberDecl()); in CheckArrayAccess()
DSemaDeclCXX.cpp2076 if (isa<EnumConstantDecl>(ME->getMemberDecl())) in HandleValue()
2087 if (isa<VarDecl>(ME->getMemberDecl())) in HandleValue()
2090 if (FieldDecl *FD = dyn_cast<FieldDecl>(ME->getMemberDecl())) in HandleValue()
2097 if (VD == FieldME->getMemberDecl() && isa<CXXThisExpr>(Base)) { in HandleValue()
2932 ValueDecl *Referenced = cast<MemberExpr>(MemRef)->getMemberDecl(); in RefersToRValueRef()
/external/clang/lib/CodeGen/
DCGClass.cpp994 FieldDecl *Field = dyn_cast<FieldDecl>(ME->getMemberDecl()); in getMemcpyableField()
1003 if (dyn_cast<FieldDecl>(ME2->getMemberDecl()) != Field) in getMemcpyableField()
1015 FieldDecl *Field = dyn_cast<FieldDecl>(IOA->getMemberDecl()); in getMemcpyableField()
1019 if (!Arg0 || Field != dyn_cast<FieldDecl>(Arg0->getMemberDecl())) in getMemcpyableField()
1035 FieldDecl *Field = dyn_cast<FieldDecl>(ME->getMemberDecl()); in getMemcpyableField()
1045 if (!ME2 || Field != dyn_cast<FieldDecl>(ME2->getMemberDecl())) in getMemcpyableField()
DCGExprCXX.cpp139 if (const ValueDecl *VD = dyn_cast<ValueDecl>(ME->getMemberDecl())) in canDevirtualizeMemberFunctionCalls()
176 const CXXMethodDecl *MD = cast<CXXMethodDecl>(ME->getMemberDecl()); in EmitCXXMemberCallExpr()
DCGExpr.cpp601 if (const FieldDecl *FD = dyn_cast<FieldDecl>(ME->getMemberDecl())) { in isFlexibleArrayMemberExpr()
2410 NamedDecl *ND = E->getMemberDecl(); in EmitMemberExpr()
/external/clang/lib/AST/
DExprClassification.cpp449 return (isa<FunctionDecl>(E->getMemberDecl()) in ClassifyMemberExpr()
466 NamedDecl *Member = E->getMemberDecl(); in ClassifyMemberExpr()
DExpr.cpp78 if (FieldDecl *Field = dyn_cast<FieldDecl>(ME->getMemberDecl())) { in skipRValueSubobjectAdjustments()
1129 return ME->getMemberDecl(); in getCalleeDecl()
2276 assert(isa<CXXMethodDecl>(mem->getMemberDecl())); in findBoundMemberType()
2277 return mem->getMemberDecl()->getType(); in findBoundMemberType()
3158 if (FieldDecl *Field = dyn_cast<FieldDecl>(MemRef->getMemberDecl())) in getSourceBitField()
DStmtPrinter.cpp980 ? dyn_cast<FieldDecl>(ParentMember->getMemberDecl()) : NULL; in VisitMemberExpr()
985 if (FieldDecl *FD = dyn_cast<FieldDecl>(Node->getMemberDecl())) in VisitMemberExpr()
DASTDumper.cpp1642 OS << " " << (Node->isArrow() ? "->" : ".") << *Node->getMemberDecl(); in VisitMemberExpr()
1643 dumpPointer(Node->getMemberDecl()); in VisitMemberExpr()
DExprConstant.cpp3841 Member = ME->getMemberDecl(); in VisitCallExpr()
3940 const FieldDecl *FD = dyn_cast<FieldDecl>(E->getMemberDecl()); in VisitMemberExpr()
4094 const ValueDecl *MD = E->getMemberDecl(); in VisitMemberExpr()
4095 if (const FieldDecl *FD = dyn_cast<FieldDecl>(E->getMemberDecl())) { in VisitMemberExpr()
4363 if (const VarDecl *VD = dyn_cast<VarDecl>(E->getMemberDecl())) { in VisitMemberExpr()
4369 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(E->getMemberDecl())) { in VisitMemberExpr()
5592 if (CheckReferencedDecl(E, E->getMemberDecl())) { in VisitMemberExpr()
6754 return Info.Ctx.getDeclAlign(ME->getMemberDecl(), in GetAlignOfExpr()
DStmtProfile.cpp393 VisitDecl(S->getMemberDecl()); in VisitMemberExpr()
DExprCXX.cpp490 return cast<CXXMethodDecl>(MemExpr->getMemberDecl()); in getMethodDecl()
DItaniumMangle.cpp2723 ME->getQualifier(), 0, ME->getMemberDecl()->getDeclName(), in mangleExpression()
/external/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp314 return ME->getMemberDecl(); in getReferencedDecl()
/external/clang/include/clang/AST/
DExpr.h2377 ValueDecl *getMemberDecl() const { return MemberDecl; } in getMemberDecl() function
2383 return DeclAccessPair::make(getMemberDecl(), in getFoundDecl()
2384 getMemberDecl()->getAccess()); in getFoundDecl()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp556 Writer.AddDeclRef(E->getMemberDecl(), Record); in VisitMemberExpr()
560 E->getMemberDecl()->getDeclName(), Record); in VisitMemberExpr()
/external/clang/lib/Analysis/
DThreadSafety.cpp316 const NamedDecl *ND = ME->getMemberDecl(); in buildSExpr()
1795 return ME->getMemberDecl(); in getValueDecl()
/external/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h581 return matchesDecl(Node.getMemberDecl(), Finder, Builder); in matchesSpecialized()
DASTMatchers.h2806 return InnerMatcher.matches(*Node.getMemberDecl(), Finder, Builder); in AST_MATCHER_P()
/external/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp1717 ValueDecl *Member = M->getMemberDecl(); in VisitMemberExpr()

12