/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MallocOverflowSecurityChecker.cpp | 91 else if (isa<DeclRefExpr>(e) || isa<MemberExpr>(e)) in CheckMallocArgument() 145 else if (isa<MemberExpr>(E)) { in CheckExpr() 147 const Decl * EmeMD = dyn_cast<MemberExpr>(E)->getMemberDecl(); in CheckExpr() 150 if (isa<MemberExpr>(i->variable)) { in CheckExpr() 151 if (dyn_cast<MemberExpr>(i->variable)->getMemberDecl() == EmeMD) in CheckExpr()
|
D | DereferenceChecker.cpp | 71 const MemberExpr *ME = cast<MemberExpr>(Ex); in AddDerefSource() 132 const MemberExpr *M = cast<MemberExpr>(S); in reportBug()
|
D | VirtualCallChecker.cpp | 142 if (MemberExpr *CME = dyn_cast<MemberExpr>(CE->getCallee())) { in VisitCXXMemberCallExpr()
|
/external/clang/include/clang/AST/ |
D | EvaluatedExprVisitor.h | 46 void VisitMemberExpr(MemberExpr *E) { in VisitMemberExpr()
|
D | Expr.h | 2165 class MemberExpr : public Expr { 2222 return const_cast<MemberExpr *>(this)->getMemberQualifier(); in getMemberQualifier() 2226 MemberExpr(Expr *base, bool isarrow, ValueDecl *memberdecl, in MemberExpr() function 2245 MemberExpr(Expr *base, bool isarrow, ValueDecl *memberdecl, in MemberExpr() function 2257 static MemberExpr *Create(ASTContext &C, Expr *base, bool isarrow, 2322 return const_cast<MemberExpr*>(this)->getTemplateKWAndArgsInfo(); in getTemplateKWAndArgsInfo() 2372 return const_cast<MemberExpr *>(this)->getExplicitTemplateArgs(); in getExplicitTemplateArgs() 2441 static bool classof(const MemberExpr *) { return true; } in classof() argument
|
/external/clang/lib/AST/ |
D | Expr.cpp | 1015 if (MemberExpr *ME = dyn_cast<MemberExpr>(CEE)) in getCalleeDecl() 1179 MemberExpr *MemberExpr::Create(ASTContext &C, Expr *base, bool isarrow, in Create() 1189 std::size_t Size = sizeof(MemberExpr); in Create() 1202 void *Mem = C.Allocate(Size, llvm::alignOf<MemberExpr>()); in Create() 1203 MemberExpr *E = new (Mem) MemberExpr(base, isarrow, memberdecl, nameinfo, in Create() 1243 SourceRange MemberExpr::getSourceRange() const { in getSourceRange() 1246 SourceLocation MemberExpr::getLocStart() const { in getLocStart() 1260 SourceLocation MemberExpr::getLocEnd() const { in getLocEnd() 1897 Loc = cast<MemberExpr>(this)->getMemberLoc(); in isUnusedResultAWarning() 1899 R2 = cast<MemberExpr>(this)->getBase()->getSourceRange(); in isUnusedResultAWarning() [all …]
|
D | ExprClassification.cpp | 29 static Cl::Kinds ClassifyMemberExpr(ASTContext &Ctx, const MemberExpr *E); 208 return ClassifyMemberExpr(Ctx, cast<MemberExpr>(E)); in ClassifyInternal() 438 static Cl::Kinds ClassifyMemberExpr(ASTContext &Ctx, const MemberExpr *E) { in ClassifyMemberExpr()
|
D | StmtDumper.cpp | 147 void VisitMemberExpr(MemberExpr *Node); 477 void StmtDumper::VisitMemberExpr(MemberExpr *Node) { in VisitMemberExpr()
|
D | ExprCXX.cpp | 454 if (const MemberExpr *MemExpr = dyn_cast<MemberExpr>(Callee)) in getImplicitObjectArgument() 465 if (const MemberExpr *MemExpr = in getMethodDecl() 466 dyn_cast<MemberExpr>(getCallee()->IgnoreParens())) in getMethodDecl()
|
/external/clang/lib/Analysis/ |
D | ReachableCode.cpp | 212 const MemberExpr *ME = cast<MemberExpr>(S); in GetUnreachableLoc()
|
D | ThreadSafety.cpp | 299 } else if (MemberExpr *ME = dyn_cast<MemberExpr>(Exp)) { in buildSExpr() 316 dyn_cast<MemberExpr>(CMCE->getCallee())->isArrow(); in buildSExpr() 326 if (NDeref && dyn_cast<MemberExpr>(CMCE->getCallee())->isArrow()) in buildSExpr() 479 if (MemberExpr *ME = dyn_cast<MemberExpr>(DeclExp)) { in buildSExprFromExpr() 484 CallCtx.SelfArrow = dyn_cast<MemberExpr>(CE->getCallee())->isArrow(); in buildSExprFromExpr() 1740 if (const MemberExpr *ME = dyn_cast<MemberExpr>(Exp)) in getValueDecl()
|
/external/clang/lib/ARCMigrate/ |
D | TransRetainReleaseDealloc.cpp | 228 if (MemberExpr *ME = dyn_cast<MemberExpr>(E)) in getReferencedDecl()
|
D | TransUnbridgedCasts.cpp | 166 while (isa<MemberExpr>(base)) in transformNonObjCToObjCCast() 167 base = cast<MemberExpr>(base)->getBase()->IgnoreParenImpCasts(); in transformNonObjCToObjCCast()
|
/external/clang/tools/libclang/ |
D | IndexBody.cpp | 48 bool VisitMemberExpr(MemberExpr *E) { in VisitMemberExpr()
|
D | CXCursor.cpp | 1333 const MemberExpr *ME = 0; in clang_Cursor_isDynamicCall() 1334 if (isa<MemberExpr>(E)) in clang_Cursor_isDynamicCall() 1335 ME = cast<MemberExpr>(E); in clang_Cursor_isDynamicCall() 1337 ME = dyn_cast_or_null<MemberExpr>(CE->getCallee()); in clang_Cursor_isDynamicCall()
|
/external/clang/include/clang/ASTMatchers/ |
D | ASTMatchers.h | 478 const internal::VariadicDynCastAllOfMatcher<Stmt, MemberExpr> memberExpr; 2132 inline internal::Matcher<MemberExpr> isArrow() { in isArrow() 2181 AST_MATCHER_P(MemberExpr, member, in AST_MATCHER_P() argument 2198 AST_MATCHER_P(MemberExpr, hasObjectExpression, in AST_MATCHER_P() argument
|
D | ASTMatchersInternal.h | 947 class IsArrowMatcher : public SingleNodeMatcherInterface<MemberExpr> { 949 virtual bool matchesNode(const MemberExpr &Node) const { in matchesNode()
|
/external/clang/lib/Sema/ |
D | SemaFixItUtils.cpp | 85 isa<MemberExpr>(Expr) || in tryToFixConversion()
|
D | SemaExpr.cpp | 3061 if (MemberExpr *ME = dyn_cast<MemberExpr>(E)) in CheckAlignOfExpr() 3888 else if (isa<MemberExpr>(NakedFn)) in ActOnCallExpr() 3889 NDecl = cast<MemberExpr>(NakedFn)->getMemberDecl(); in ActOnCallExpr() 7470 const MemberExpr *ME = dyn_cast<MemberExpr>(E); in IsReadonlyMessage() 7622 MemberExpr *ML = dyn_cast<MemberExpr>(LHSExpr); in CheckIdentityFieldAssignment() 7623 MemberExpr *MR = dyn_cast<MemberExpr>(RHSExpr); in CheckIdentityFieldAssignment() 7848 if (cast<MemberExpr>(E)->isArrow()) in getPrimaryDecl() 7851 return getPrimaryDecl(cast<MemberExpr>(E)->getBase()); in getPrimaryDecl() 10852 } else if (MemberExpr *ME = dyn_cast<MemberExpr>(*i)) { in CleanupVarDeclMarking() 10934 const MemberExpr *ME = dyn_cast<MemberExpr>(E); in MarkExprReferenced() [all …]
|
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
D | PathDiagnostic.h | 35 class MemberExpr; variable 216 static PathDiagnosticLocation createMemberLoc(const MemberExpr *ME,
|
/external/clang/lib/Rewrite/Frontend/ |
D | RewriteModernObjC.cpp | 834 MemberExpr *ME = new (Context) MemberExpr(PE, true, FD, SourceLocation(), in getIvarAccessString() 2729 MemberExpr *ArrayLiteralME = in RewriteObjCArrayLiteralExpr() 2730 new (Context) MemberExpr(NSArrayCallExpr, false, ARRFD, in RewriteObjCArrayLiteralExpr() 2875 MemberExpr *DictLiteralValueME = in RewriteObjCDictionaryLiteralExpr() 2876 new (Context) MemberExpr(NSValueCallExpr, false, ARRFD, in RewriteObjCDictionaryLiteralExpr() 2891 MemberExpr *DictLiteralKeyME = in RewriteObjCDictionaryLiteralExpr() 2892 new (Context) MemberExpr(NSKeyCallExpr, false, ARRFD, in RewriteObjCDictionaryLiteralExpr() 3167 MemberExpr *ME = new (Context) MemberExpr(STCE, false, FieldD, SourceLocation(), in SynthMsgSendStretCallExpr() 4494 } else if (const MemberExpr *MExpr = dyn_cast<MemberExpr>(BlockExp)) { in SynthesizeBlockCall() 4569 MemberExpr *ME = new (Context) MemberExpr(PE, true, FD, SourceLocation(), in SynthesizeBlockCall() [all …]
|
/external/clang/include/clang/Basic/ |
D | StmtNodes.td | 65 def MemberExpr : DStmt<Expr>;
|
/external/clang/lib/CodeGen/ |
D | CGExprCXX.cpp | 136 if (const MemberExpr *ME = dyn_cast<MemberExpr>(Base)) in canDevirtualizeMemberFunctionCalls() 173 const MemberExpr *ME = cast<MemberExpr>(callee); in EmitCXXMemberCallExpr()
|
D | CGExprAgg.cpp | 133 void VisitMemberExpr(MemberExpr *ME) { EmitAggLoadOfLValue(ME); } in VisitMemberExpr() 748 } else if (const MemberExpr *mem = dyn_cast<MemberExpr>(E)) { in isBlockVarRef()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | BugReporterVisitors.cpp | 63 else if (const MemberExpr *ME = dyn_cast<MemberExpr>(S)) { in GetDerefExpr()
|