Home
last modified time | relevance | path

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

12

/external/clang/lib/Sema/
DScopeInfo.cpp71 D = ME->getMemberDecl(); in getBaseInfo()
231 VD = dyn_cast<VarDecl>(ME->getMemberDecl()); in getPotentialVariableCapture()
DSemaExpr.cpp3700 D = ME->getMemberDecl(); in CheckAlignOfExpr()
4973 NDecl = cast<MemberExpr>(NakedFn)->getMemberDecl(); in ActOnCallExpr()
8602 return Mem->getMemberDecl(); in getCompareDecl()
9207 if (!isa<FieldDecl>(ME->getMemberDecl())) return false; in IsReadonlyMessage()
9287 const ValueDecl *VD = ME->getMemberDecl(); in DiagnoseConstAssignment()
9502 if (ML && MR && ML->getMemberDecl() == MR->getMemberDecl()) { in CheckIdentityFieldAssignment()
10247 return ME->getMemberDecl(); in getDeclFromExpr()
13379 Var = dyn_cast<VarDecl>(ME->getMemberDecl()); in UpdateMarkingForLValueToRValue()
13408 Var = cast<VarDecl>(ME->getMemberDecl()); in CleanupVarDeclMarking()
13559 CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(ME->getMemberDecl()); in MarkExprReferenced()
[all …]
DSemaChecking.cpp5966 if (M->getMemberDecl()->getType()->isReferenceType()) in EvalVal()
7582 if (!M->getMemberDecl()->getType()->isReferenceType()) in CheckForReference()
7693 D = M->getMemberDecl(); in DiagnoseAlwaysNonNullPointer()
8025 return ME->getMemberDecl(); in getObject()
8576 ND = dyn_cast<NamedDecl>(ME->getMemberDecl()); in CheckArrayAccess()
8661 ND = dyn_cast<NamedDecl>(ME->getMemberDecl()); in CheckArrayAccess()
9469 if (LHSME->getMemberDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
9470 RHSME->getMemberDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
DSemaDeclCXX.cpp2305 FieldDecl *FD = dyn_cast<FieldDecl>(ME->getMemberDecl()); in IsInitListMemberExprInitialized()
2342 if (isa<EnumConstantDecl>(ME->getMemberDecl())) in HandleMemberExpr()
2355 if (isa<VarDecl>(SubME->getMemberDecl())) in HandleMemberExpr()
2358 if (FieldDecl *FD = dyn_cast<FieldDecl>(SubME->getMemberDecl())) in HandleMemberExpr()
2374 ValueDecl* FoundVD = FieldME->getMemberDecl(); in HandleMemberExpr()
2577 if (FieldDecl *FD = dyn_cast<FieldDecl>(ME->getMemberDecl())) in VisitBinaryOperator()
3449 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.cpp1476 MD = dyn_cast_or_null<CXXMethodDecl>(ME->getMemberDecl())) in clang_Cursor_isDynamicCall()
/external/clang/lib/StaticAnalyzer/Checkers/
DIdenticalExprChecker.cpp487 return MemberStmt1->getMemberDecl() == MemberStmt2->getMemberDecl(); in isIdenticalStmt()
DMallocOverflowSecurityChecker.cpp146 const Decl *getDecl(const MemberExpr *ME) { return ME->getMemberDecl(); } in getDecl()
/external/clang/lib/CodeGen/
DCGClass.cpp1248 FieldDecl *Field = dyn_cast<FieldDecl>(ME->getMemberDecl()); in getMemcpyableField()
1257 if (dyn_cast<FieldDecl>(ME2->getMemberDecl()) != Field) in getMemcpyableField()
1267 FieldDecl *Field = dyn_cast<FieldDecl>(IOA->getMemberDecl()); in getMemcpyableField()
1271 if (!Arg0 || Field != dyn_cast<FieldDecl>(Arg0->getMemberDecl())) in getMemcpyableField()
1287 FieldDecl *Field = dyn_cast<FieldDecl>(ME->getMemberDecl()); in getMemcpyableField()
1297 if (!ME2 || Field != dyn_cast<FieldDecl>(ME2->getMemberDecl())) in getMemcpyableField()
2667 if (const ValueDecl *VD = dyn_cast<ValueDecl>(ME->getMemberDecl())) in CanDevirtualizeMemberFunctionCall()
/external/clang/lib/AST/
DExprClassification.cpp459 return (isa<FunctionDecl>(E->getMemberDecl()) in ClassifyMemberExpr()
476 NamedDecl *Member = E->getMemberDecl(); in ClassifyMemberExpr()
DExpr.cpp79 if (FieldDecl *Field = dyn_cast<FieldDecl>(ME->getMemberDecl())) { in skipRValueSubobjectAdjustments()
1216 return ME->getMemberDecl(); in getCalleeDecl()
1401 D = ME->getMemberDecl(); in UnaryExprOrTypeTraitExpr()
2433 assert(isa<CXXMethodDecl>(mem->getMemberDecl())); in findBoundMemberType()
2434 return mem->getMemberDecl()->getType(); in findBoundMemberType()
3441 if (FieldDecl *Field = dyn_cast<FieldDecl>(MemRef->getMemberDecl())) in getSourceBitField()
DExprConstant.cpp4218 Member = ME->getMemberDecl(); in handleCallExpr()
4316 const FieldDecl *FD = dyn_cast<FieldDecl>(E->getMemberDecl()); in VisitMemberExpr()
4480 const ValueDecl *MD = E->getMemberDecl(); in VisitMemberExpr()
4481 if (const FieldDecl *FD = dyn_cast<FieldDecl>(E->getMemberDecl())) { in VisitMemberExpr()
4750 if (const VarDecl *VD = dyn_cast<VarDecl>(E->getMemberDecl())) { in VisitMemberExpr()
4756 if (const CXXMethodDecl *MD = dyn_cast<CXXMethodDecl>(E->getMemberDecl())) { in VisitMemberExpr()
5079 return Info.Ctx.getDeclAlign(ME->getMemberDecl(), in GetAlignOfExpr()
6078 if (CheckReferencedDecl(E, E->getMemberDecl())) { in VisitMemberExpr()
6361 if (auto *FD = dyn_cast<FieldDecl>(ME->getMemberDecl())) { in isDesignatorAtObjectEnd()
6364 } else if (auto *IFD = dyn_cast<IndirectFieldDecl>(ME->getMemberDecl())) { in isDesignatorAtObjectEnd()
DStmtPrinter.cpp1416 ? dyn_cast<FieldDecl>(ParentMember->getMemberDecl()) : nullptr; in VisitMemberExpr()
1421 if (FieldDecl *FD = dyn_cast<FieldDecl>(Node->getMemberDecl())) in VisitMemberExpr()
DASTDumper.cpp1890 OS << " " << (Node->isArrow() ? "->" : ".") << *Node->getMemberDecl(); in VisitMemberExpr()
1891 dumpPointer(Node->getMemberDecl()); in VisitMemberExpr()
DStmtProfile.cpp724 VisitDecl(S->getMemberDecl()); in VisitMemberExpr()
DExprCXX.cpp545 return cast<CXXMethodDecl>(MemExpr->getMemberDecl()); in getMethodDecl()
/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.h2448 ValueDecl *getMemberDecl() const { return MemberDecl; } in getMemberDecl() function
2454 return DeclAccessPair::make(getMemberDecl(), in getFoundDecl()
2455 getMemberDecl()->getAccess()); in getFoundDecl()
/external/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h727 return matchesDecl(Node.getMemberDecl(), Finder, Builder); in matchesSpecialized()
DASTMatchers.h3619 return InnerMatcher.matches(*Node.getMemberDecl(), Finder, Builder); in AST_MATCHER_P()
/external/clang/lib/Serialization/
DASTWriterStmt.cpp583 Writer.AddDeclRef(E->getMemberDecl(), Record); in VisitMemberExpr()
588 E->getMemberDecl()->getDeclName(), Record); in VisitMemberExpr()

12