Home
last modified time | relevance | path

Searched refs:MemberExpr (Results 1 – 25 of 57) sorted by relevance

123

/external/clang/lib/StaticAnalyzer/Checkers/
DMallocOverflowSecurityChecker.cpp91 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()
DDereferenceChecker.cpp71 const MemberExpr *ME = cast<MemberExpr>(Ex); in AddDerefSource()
132 const MemberExpr *M = cast<MemberExpr>(S); in reportBug()
DVirtualCallChecker.cpp142 if (MemberExpr *CME = dyn_cast<MemberExpr>(CE->getCallee())) { in VisitCXXMemberCallExpr()
/external/clang/include/clang/AST/
DEvaluatedExprVisitor.h46 void VisitMemberExpr(MemberExpr *E) { in VisitMemberExpr()
DExpr.h2165 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/
DExpr.cpp1015 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 …]
DExprClassification.cpp29 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()
DStmtDumper.cpp147 void VisitMemberExpr(MemberExpr *Node);
477 void StmtDumper::VisitMemberExpr(MemberExpr *Node) { in VisitMemberExpr()
DExprCXX.cpp454 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/
DReachableCode.cpp212 const MemberExpr *ME = cast<MemberExpr>(S); in GetUnreachableLoc()
DThreadSafety.cpp299 } 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/
DTransRetainReleaseDealloc.cpp228 if (MemberExpr *ME = dyn_cast<MemberExpr>(E)) in getReferencedDecl()
DTransUnbridgedCasts.cpp166 while (isa<MemberExpr>(base)) in transformNonObjCToObjCCast()
167 base = cast<MemberExpr>(base)->getBase()->IgnoreParenImpCasts(); in transformNonObjCToObjCCast()
/external/clang/tools/libclang/
DIndexBody.cpp48 bool VisitMemberExpr(MemberExpr *E) { in VisitMemberExpr()
DCXCursor.cpp1333 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/
DASTMatchers.h478 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
DASTMatchersInternal.h947 class IsArrowMatcher : public SingleNodeMatcherInterface<MemberExpr> {
949 virtual bool matchesNode(const MemberExpr &Node) const { in matchesNode()
/external/clang/lib/Sema/
DSemaFixItUtils.cpp85 isa<MemberExpr>(Expr) || in tryToFixConversion()
DSemaExpr.cpp3061 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/
DPathDiagnostic.h35 class MemberExpr; variable
216 static PathDiagnosticLocation createMemberLoc(const MemberExpr *ME,
/external/clang/lib/Rewrite/Frontend/
DRewriteModernObjC.cpp834 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/
DStmtNodes.td65 def MemberExpr : DStmt<Expr>;
/external/clang/lib/CodeGen/
DCGExprCXX.cpp136 if (const MemberExpr *ME = dyn_cast<MemberExpr>(Base)) in canDevirtualizeMemberFunctionCalls()
173 const MemberExpr *ME = cast<MemberExpr>(callee); in EmitCXXMemberCallExpr()
DCGExprAgg.cpp133 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/
DBugReporterVisitors.cpp63 else if (const MemberExpr *ME = dyn_cast<MemberExpr>(S)) { in GetDerefExpr()

123