Home
last modified time | relevance | path

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

1234

/external/v8/tools/clang/blink_gc_plugin/
DCheckFinalizerVisitor.h24 Error(clang::MemberExpr* member, in Error()
31 clang::MemberExpr* member;
45 bool VisitMemberExpr(clang::MemberExpr* member);
52 std::set<clang::MemberExpr*> seen_members_;
DCheckTraceVisitor.cpp18 bool CheckTraceVisitor::VisitMemberExpr(MemberExpr* member) { in VisitMemberExpr()
106 MemberExpr* member() const;
108 bool TraverseMemberExpr(MemberExpr* member);
111 MemberExpr* member_;
120 MemberExpr* FindFieldVisitor::member() const { in member()
128 bool FindFieldVisitor::TraverseMemberExpr(MemberExpr* member) { in TraverseMemberExpr()
198 if (MemberExpr* callee = dyn_cast<MemberExpr>(call->getCallee())) { in CheckTraceBaseCall()
DCheckDispatchVisitor.h22 bool VisitMemberExpr(clang::MemberExpr* member);
DCheckDispatchVisitor.cpp21 bool CheckDispatchVisitor::VisitMemberExpr(MemberExpr* member) { in VisitMemberExpr()
DCheckTraceVisitor.h26 bool VisitMemberExpr(clang::MemberExpr* member);
DCheckFinalizerVisitor.cpp101 bool CheckFinalizerVisitor::VisitMemberExpr(MemberExpr* member) { in VisitMemberExpr()
/external/clang/lib/StaticAnalyzer/Checkers/
DMallocOverflowSecurityChecker.cpp106 else if (isa<DeclRefExpr>(e) || isa<MemberExpr>(e)) in CheckMallocArgument()
145 static const Decl *getDecl(const MemberExpr *ME) { in getDecl()
166 else if (const auto *ME = dyn_cast<MemberExpr>(E)) { in CheckExpr()
167 Erase<MemberExpr>(ME, PredTrue); in CheckExpr()
220 else if (const auto *ME = dyn_cast<MemberExpr>(E)) in CheckAssignmentExpr()
221 Erase<MemberExpr>(ME, pred); in CheckAssignmentExpr()
DDereferenceChecker.cpp73 const MemberExpr *ME = cast<MemberExpr>(Ex); in AddDerefSource()
156 const MemberExpr *M = cast<MemberExpr>(S); in reportBug()
DIdenticalExprChecker.cpp483 const MemberExpr *MemberStmt1 = cast<MemberExpr>(Stmt1); in isIdenticalStmt()
484 const MemberExpr *MemberStmt2 = cast<MemberExpr>(Stmt2); in isIdenticalStmt()
DVirtualCallChecker.cpp143 if (MemberExpr *CME = dyn_cast<MemberExpr>(CE->getCallee())) { in VisitCXXMemberCallExpr()
/external/bcc/src/cc/frontends/clang/
Db_frontend_action.cc135 bool VisitMemberExpr(MemberExpr *M) { in VisitMemberExpr()
223 bool VisitMemberExpr(MemberExpr *M) { in VisitMemberExpr()
237 if (MemberExpr *Memb = dyn_cast<MemberExpr>(Call->getCallee()->IgnoreImplicit())) { in VisitCallExpr()
286 if (MemberExpr *Memb = dyn_cast<MemberExpr>(Call->getCallee()->IgnoreImplicit())) { in assignsExtPtr()
435 bool ProbeVisitor::VisitMemberExpr(MemberExpr *E) { in VisitMemberExpr()
441 for (MemberExpr *M = E; M; M = dyn_cast<MemberExpr>(M->getBase())) { in VisitMemberExpr()
549 for (MemberExpr *M = dyn_cast<MemberExpr>(E->IgnoreParenCasts()); M; in isMemberDereference()
550 M = dyn_cast<MemberExpr>(M->getBase()->IgnoreParenCasts())) { in isMemberDereference()
563 MemberExpr *M; in IsContextMemberExpr()
570 M = dyn_cast<MemberExpr>(Ex); in IsContextMemberExpr()
[all …]
/external/clang/unittests/AST/
DSourceLocationTest.cpp104 TEST(MemberExpr, ImplicitMemberRange) { in TEST() argument
105 RangeVerifier<MemberExpr> Verifier; in TEST()
112 class MemberExprArrowLocVerifier : public RangeVerifier<MemberExpr> {
114 SourceRange getRange(const MemberExpr &Node) override { in getRange()
119 TEST(MemberExpr, ArrowRange) { in TEST() argument
127 TEST(MemberExpr, MacroArrowRange) { in TEST() argument
136 TEST(MemberExpr, ImplicitArrowRange) { in TEST() argument
/external/clang/lib/Sema/
DScopeInfo.cpp71 const MemberExpr *ME = cast<MemberExpr>(E); in getBaseInfo()
233 else if (MemberExpr *ME = dyn_cast<MemberExpr>(E)) in getPotentialVariableCapture()
/external/v8/tools/clang/pass_to_move/
DPassToMove.cpp44 const clang::MemberExpr* callee = in run()
45 clang::dyn_cast<clang::MemberExpr>(call_expr->getCallee()); in run()
/external/v8/tools/clang/traffic_annotation_extractor/
Dtraffic_annotation_extractor.cpp148 } else if (const clang::MemberExpr* member_expr = in run()
149 result.Nodes.getNodeAs<clang::MemberExpr>( in run()
228 void AddAssignment(const clang::MemberExpr* member_expr, in AddAssignment()
/external/clang/lib/AST/
DExpr.cpp76 } else if (const MemberExpr *ME = dyn_cast<MemberExpr>(E)) { in skipRValueSubobjectAdjustments()
1203 if (MemberExpr *ME = dyn_cast<MemberExpr>(CEE)) in getCalleeDecl()
1386 else if (const auto *ME = dyn_cast<MemberExpr>(E)) in UnaryExprOrTypeTraitExpr()
1402 MemberExpr *MemberExpr::Create( in Create()
1420 void *Mem = C.Allocate(Size, llvm::alignOf<MemberExpr>()); in Create()
1421 MemberExpr *E = new (Mem) in Create()
1422 MemberExpr(base, isarrow, OperatorLoc, memberdecl, nameinfo, ty, vk, ok); in Create()
1462 SourceLocation MemberExpr::getLocStart() const { in getLocStart()
1476 SourceLocation MemberExpr::getLocEnd() const { in getLocEnd()
2005 Loc = cast<MemberExpr>(this)->getMemberLoc(); in isUnusedResultAWarning()
[all …]
/external/clang/include/clang/Sema/
DTypoCorrection.h337 MemberExpr *ME = nullptr);
345 MemberExpr *MemberFn;
DScopeInfo.h774 assert(isa<DeclRefExpr>(VarExpr) || isa<MemberExpr>(VarExpr)); in addPotentialCapture()
827 || isa<MemberExpr>(CapturingVarExpr)); in markVariableExprAsNonODRUsed()
832 || isa<MemberExpr>(CapturingVarExpr)); in isVariableExprMarkedAsNonODRUsed()
/external/clang/lib/CodeGen/
DCGClass.cpp1242 MemberExpr *ME = dyn_cast<MemberExpr>(BO->getLHS()); in getMemcpyableField()
1253 MemberExpr *ME2 = dyn_cast<MemberExpr>(RHS); in getMemcpyableField()
1261 MemberExpr *IOA = dyn_cast<MemberExpr>(MCE->getImplicitObjectArgument()); in getMemcpyableField()
1267 MemberExpr *Arg0 = dyn_cast<MemberExpr>(MCE->getArg(0)); in getMemcpyableField()
1281 MemberExpr *ME = dyn_cast<MemberExpr>(DUO->getSubExpr()); in getMemcpyableField()
1293 MemberExpr *ME2 = dyn_cast<MemberExpr>(SUO->getSubExpr()); in getMemcpyableField()
2878 if (const MemberExpr *ME = dyn_cast<MemberExpr>(Base)) in CanDevirtualizeMemberFunctionCall()
/external/clang/lib/Analysis/
DThreadSafetyCommon.cpp83 const MemberExpr *ME = dyn_cast<MemberExpr>(E->IgnoreParenCasts()); in isCalleeArrow()
106 if (const MemberExpr *ME = dyn_cast<MemberExpr>(DeclExp)) { in translateAttrExpr()
213 return translateMemberExpr(cast<MemberExpr>(S), Ctx); in translate()
334 til::SExpr *SExprBuilder::translateMemberExpr(const MemberExpr *ME, in translateMemberExpr()
DReachableCode.cpp203 return isConfigurationValue(cast<MemberExpr>(S)->getMemberDecl(), PP); in isConfigurationValue()
535 const MemberExpr *ME = cast<MemberExpr>(S); in GetUnreachableLoc()
/external/clang/unittests/Tooling/
DRecursiveASTVisitorTest.cpp104 bool VisitMemberExpr(MemberExpr *ME) { in VisitMemberExpr()
/external/clang/include/clang/AST/
DEvaluatedExprVisitor.h49 void VisitMemberExpr(PTR(MemberExpr) E) { in VisitMemberExpr()
/external/clang/lib/Index/
DIndexBody.cpp92 if (auto *ME = dyn_cast<MemberExpr>(E)) { in getRolesForRef()
139 bool VisitMemberExpr(MemberExpr *E) { in VisitMemberExpr()
/external/v8/tools/clang/rewrite_to_chrome_style/
DRewriteToChromeStyle.cpp1001 struct TargetNodeTraits<clang::MemberExpr> {
1002 static clang::SourceLocation GetLoc(const clang::MemberExpr& expr) { in GetLoc()
1250 using MemberRewriter = DeclRewriterBase<clang::FieldDecl, clang::MemberExpr>;
1266 DeclRewriterBase<clang::CXXMethodDecl, clang::MemberExpr>;
1281 : public DeclRewriterBase<clang::CXXMethodDecl, clang::MemberExpr> {
1283 using Base = DeclRewriterBase<clang::CXXMethodDecl, clang::MemberExpr>;

1234