Home
last modified time | relevance | path

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

12

/external/clang/lib/StaticAnalyzer/Checkers/
DMallocOverflowSecurityChecker.cpp147 const Decl *EmeMD = ME->getMemberDecl(); in CheckExpr()
151 if (ME_i->getMemberDecl() == EmeMD) in CheckExpr()
DIdenticalExprChecker.cpp468 return MemberStmt1->getMemberDecl() == MemberStmt2->getMemberDecl(); in isIdenticalStmt()
/external/clang/lib/Sema/
DScopeInfo.cpp68 D = ME->getMemberDecl(); in getBaseInfo()
228 VD = dyn_cast<VarDecl>(ME->getMemberDecl()); in getPotentialVariableCapture()
DSemaExpr.cpp3702 D = ME->getMemberDecl(); in CheckAlignOfExpr()
4809 NDecl = cast<MemberExpr>(NakedFn)->getMemberDecl(); in ActOnCallExpr()
8345 return Mem->getMemberDecl(); in getCompareDecl()
8946 if (!isa<FieldDecl>(ME->getMemberDecl())) return false; in IsReadonlyMessage()
9026 const ValueDecl *VD = ME->getMemberDecl(); in DiagnoseConstAssignment()
9238 if (ML && MR && ML->getMemberDecl() == MR->getMemberDecl()) { in CheckIdentityFieldAssignment()
9969 return ME->getMemberDecl(); in getDeclFromExpr()
13116 Var = dyn_cast<VarDecl>(ME->getMemberDecl()); in UpdateMarkingForLValueToRValue()
13147 Var = cast<VarDecl>(ME->getMemberDecl()); in CleanupVarDeclMarking()
13298 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(ME->getMemberDecl()); in MarkExprReferenced()
[all …]
DSemaChecking.cpp5475 if (M->getMemberDecl()->getType()->isReferenceType()) in EvalVal()
6982 if (!M->getMemberDecl()->getType()->isReferenceType()) in CheckForReference()
7073 D = M->getMemberDecl(); in DiagnoseAlwaysNonNullPointer()
7407 return ME->getMemberDecl(); in getObject()
7949 ND = dyn_cast<NamedDecl>(ME->getMemberDecl()); in CheckArrayAccess()
8034 ND = dyn_cast<NamedDecl>(ME->getMemberDecl()); in CheckArrayAccess()
8898 if (LHSME->getMemberDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
8899 RHSME->getMemberDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
DSemaDeclCXX.cpp2328 FieldDecl *FD = dyn_cast<FieldDecl>(ME->getMemberDecl()); in IsInitListMemberExprInitialized()
2365 if (isa<EnumConstantDecl>(ME->getMemberDecl())) in HandleMemberExpr()
2378 if (isa<VarDecl>(SubME->getMemberDecl())) in HandleMemberExpr()
2381 if (FieldDecl *FD = dyn_cast<FieldDecl>(SubME->getMemberDecl())) in HandleMemberExpr()
2397 ValueDecl* FoundVD = FieldME->getMemberDecl(); in HandleMemberExpr()
2600 if (FieldDecl *FD = dyn_cast<FieldDecl>(ME->getMemberDecl())) in VisitBinaryOperator()
3466 ValueDecl *Referenced = cast<MemberExpr>(MemRef)->getMemberDecl(); in RefersToRValueRef()
/external/clang/unittests/Tooling/
DRecursiveASTVisitorTest.cpp106 Match(ME->getMemberDecl()->getNameAsString(), ME->getLocStart()); in VisitMemberExpr()
/external/clang/tools/libclang/
DIndexBody.cpp48 IndexCtx.handleReference(E->getMemberDecl(), E->getMemberLoc(), in VisitMemberExpr()
DCXCursor.cpp1439 MD = dyn_cast_or_null<CXXMethodDecl>(ME->getMemberDecl())) in clang_Cursor_isDynamicCall()
/external/clang/lib/CodeGen/
DCGClass.cpp1117 FieldDecl *Field = dyn_cast<FieldDecl>(ME->getMemberDecl()); in getMemcpyableField()
1126 if (dyn_cast<FieldDecl>(ME2->getMemberDecl()) != Field) in getMemcpyableField()
1138 FieldDecl *Field = dyn_cast<FieldDecl>(IOA->getMemberDecl()); in getMemcpyableField()
1142 if (!Arg0 || Field != dyn_cast<FieldDecl>(Arg0->getMemberDecl())) in getMemcpyableField()
1158 FieldDecl *Field = dyn_cast<FieldDecl>(ME->getMemberDecl()); in getMemcpyableField()
1168 if (!ME2 || Field != dyn_cast<FieldDecl>(ME2->getMemberDecl())) in getMemcpyableField()
2285 if (const ValueDecl *VD = dyn_cast<ValueDecl>(ME->getMemberDecl())) in CanDevirtualizeMemberFunctionCall()
/external/clang/lib/AST/
DExprClassification.cpp451 return (isa<FunctionDecl>(E->getMemberDecl()) in ClassifyMemberExpr()
468 NamedDecl *Member = E->getMemberDecl(); in ClassifyMemberExpr()
DExpr.cpp79 if (FieldDecl *Field = dyn_cast<FieldDecl>(ME->getMemberDecl())) { in skipRValueSubobjectAdjustments()
1179 return ME->getMemberDecl(); in getCalleeDecl()
1364 D = ME->getMemberDecl(); in UnaryExprOrTypeTraitExpr()
2393 assert(isa<CXXMethodDecl>(mem->getMemberDecl())); in findBoundMemberType()
2394 return mem->getMemberDecl()->getType(); in findBoundMemberType()
3347 if (FieldDecl *Field = dyn_cast<FieldDecl>(MemRef->getMemberDecl())) in getSourceBitField()
DStmtPrinter.cpp1260 ? dyn_cast<FieldDecl>(ParentMember->getMemberDecl()) : nullptr; in VisitMemberExpr()
1265 if (FieldDecl *FD = dyn_cast<FieldDecl>(Node->getMemberDecl())) in VisitMemberExpr()
DASTDumper.cpp1833 OS << " " << (Node->isArrow() ? "->" : ".") << *Node->getMemberDecl(); in VisitMemberExpr()
1834 dumpPointer(Node->getMemberDecl()); in VisitMemberExpr()
DExprConstant.cpp4106 Member = ME->getMemberDecl(); in VisitCallExpr()
4205 const FieldDecl *FD = dyn_cast<FieldDecl>(E->getMemberDecl()); in VisitMemberExpr()
4359 const ValueDecl *MD = E->getMemberDecl(); in VisitMemberExpr()
4360 if (const FieldDecl *FD = dyn_cast<FieldDecl>(E->getMemberDecl())) { in VisitMemberExpr()
4628 if (const VarDecl *VD = dyn_cast<VarDecl>(E->getMemberDecl())) { in VisitMemberExpr()
4634 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(E->getMemberDecl())) { in VisitMemberExpr()
4956 return Info.Ctx.getDeclAlign(ME->getMemberDecl(), in GetAlignOfExpr()
5949 if (CheckReferencedDecl(E, E->getMemberDecl())) { in VisitMemberExpr()
DStmtProfile.cpp635 VisitDecl(S->getMemberDecl()); in VisitMemberExpr()
DExprCXX.cpp545 return cast<CXXMethodDecl>(MemExpr->getMemberDecl()); in getMethodDecl()
/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()
DUninitializedValues.cpp382 if (VarDecl *VD = dyn_cast<VarDecl>(ME->getMemberDecl())) { in classify()
DThreadSafetyCommon.cpp347 const ValueDecl *D = ME->getMemberDecl(); in translateMemberExpr()
/external/clang/include/clang/AST/
DExpr.h2409 ValueDecl *getMemberDecl() const { return MemberDecl; } in getMemberDecl() function
2415 return DeclAccessPair::make(getMemberDecl(), in getFoundDecl()
2416 getMemberDecl()->getAccess()); in getFoundDecl()
/external/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h711 return matchesDecl(Node.getMemberDecl(), Finder, Builder); in matchesSpecialized()
DASTMatchers.h3200 return InnerMatcher.matches(*Node.getMemberDecl(), Finder, Builder); in AST_MATCHER_P()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp553 Writer.AddDeclRef(E->getMemberDecl(), Record); in VisitMemberExpr()
558 E->getMemberDecl()->getDeclName(), Record); in VisitMemberExpr()

12