/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MallocOverflowSecurityChecker.cpp | 106 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()
|
D | DereferenceChecker.cpp | 73 const MemberExpr *ME = cast<MemberExpr>(Ex); in AddDerefSource() 156 const MemberExpr *M = cast<MemberExpr>(S); in reportBug()
|
D | VirtualCallChecker.cpp | 143 if (MemberExpr *CME = dyn_cast<MemberExpr>(CE->getCallee())) { in VisitCXXMemberCallExpr()
|
D | IdenticalExprChecker.cpp | 483 const MemberExpr *MemberStmt1 = cast<MemberExpr>(Stmt1); in isIdenticalStmt() 484 const MemberExpr *MemberStmt2 = cast<MemberExpr>(Stmt2); in isIdenticalStmt()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | MallocOverflowSecurityChecker.cpp | 105 else if (isa<DeclRefExpr>(e) || isa<MemberExpr>(e)) in CheckMallocArgument() 144 static const Decl *getDecl(const MemberExpr *ME) { in getDecl() 165 else if (const auto *ME = dyn_cast<MemberExpr>(E)) { in CheckExpr() 166 Erase<MemberExpr>(ME, PredTrue); in CheckExpr() 222 else if (const auto *ME = dyn_cast<MemberExpr>(E)) in CheckAssignmentExpr() 223 Erase<MemberExpr>(ME, pred); in CheckAssignmentExpr()
|
D | InvalidatedIteratorChecker.cpp | 32 check::PreStmt<MemberExpr>> { 46 void checkPreStmt(const MemberExpr *ME, CheckerContext &C) const; 107 void InvalidatedIteratorChecker::checkPreStmt(const MemberExpr *ME, in checkPreStmt()
|
D | DereferenceChecker.cpp | 76 const MemberExpr *ME = cast<MemberExpr>(Ex); in AddDerefSource() 176 const MemberExpr *M = cast<MemberExpr>(S); in reportBug()
|
D | IdenticalExprChecker.cpp | 487 const MemberExpr *MemberStmt1 = cast<MemberExpr>(Stmt1); in isIdenticalStmt() 488 const MemberExpr *MemberStmt2 = cast<MemberExpr>(Stmt2); in isIdenticalStmt()
|
D | VirtualCallChecker.cpp | 66 if (const MemberExpr *CME = dyn_cast<MemberExpr>(CE->getCallee())) { in REGISTER_MAP_WITH_PROGRAMSTATE()
|
D | IteratorRangeChecker.cpp | 33 check::PreStmt<MemberExpr>> { 55 void checkPreStmt(const MemberExpr *ME, CheckerContext &C) const; 186 void IteratorRangeChecker::checkPreStmt(const MemberExpr *ME, in checkPreStmt()
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | MakeMemberFunctionConstCheck.cpp | 117 if (const auto *Member = dyn_cast<MemberExpr>(Parent)) in VisitUser() 125 bool VisitUser(const MemberExpr *Member, bool OnConstObject) { in VisitUser() 161 if (const auto *M = dyn_cast_or_null<MemberExpr>(Parent)) in VisitUser() 192 } else if (const auto *Member = dyn_cast_or_null<MemberExpr>(Parent)) { in VisitCXXThisExpr()
|
D | MisplacedArrayIndexCheck.cpp | 42 !isa<MemberExpr>(RHSE)) in check()
|
/external/bcc/src/cc/frontends/clang/ |
D | b_frontend_action.cc | 135 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/ |
D | SourceLocationTest.cpp | 104 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/ |
D | ScopeInfo.cpp | 71 const MemberExpr *ME = cast<MemberExpr>(E); in getBaseInfo() 233 else if (MemberExpr *ME = dyn_cast<MemberExpr>(E)) in getPotentialVariableCapture()
|
/external/llvm-project/clang-tools-extra/clang-tidy/misc/ |
D | UniqueptrResetReleaseCheck.cpp | 94 const auto *ResetMember = Result.Nodes.getNodeAs<MemberExpr>("reset_member"); in check() 96 Result.Nodes.getNodeAs<MemberExpr>("release_member"); in check()
|
/external/llvm-project/clang/lib/Sema/ |
D | ScopeInfo.cpp | 81 const MemberExpr *ME = cast<MemberExpr>(E); in getBaseInfo() 238 } else if (auto *ME = dyn_cast<MemberExpr>(E)) { in visitPotentialCaptures()
|
/external/llvm-project/clang/unittests/AST/ |
D | SourceLocationTest.cpp | 159 TEST(MemberExpr, ImplicitMemberRange) { in TEST() argument 160 RangeVerifier<MemberExpr> Verifier; in TEST() 167 class MemberExprArrowLocVerifier : public RangeVerifier<MemberExpr> { 169 SourceRange getRange(const MemberExpr &Node) override { in getRange() 174 TEST(MemberExpr, ArrowRange) { in TEST() argument 182 TEST(MemberExpr, MacroArrowRange) { in TEST() argument 191 TEST(MemberExpr, ImplicitArrowRange) { in TEST() argument
|
/external/llvm-project/clang/include/clang/Sema/ |
D | TypoCorrection.h | 37 class MemberExpr; variable 383 MemberExpr *ME = nullptr); 394 MemberExpr *MemberFn;
|
/external/llvm-project/clang/lib/AST/ |
D | Expr.cpp | 101 } else if (const MemberExpr *ME = dyn_cast<MemberExpr>(E)) { in skipRValueSubobjectAdjustments() 1361 if (MemberExpr *ME = dyn_cast<MemberExpr>(CEE)) in getReferencedDeclOfCallee() 1490 MemberExpr::MemberExpr(Expr *Base, bool IsArrow, SourceLocation OperatorLoc, in MemberExpr() function in MemberExpr 1508 MemberExpr *MemberExpr::Create( in Create() 1523 void *Mem = C.Allocate(Size, alignof(MemberExpr)); in Create() 1524 MemberExpr *E = new (Mem) MemberExpr(Base, IsArrow, OperatorLoc, MemberDecl, in Create() 1564 MemberExpr *MemberExpr::CreateEmpty(const ASTContext &Context, in CreateEmpty() 1576 void *Mem = Context.Allocate(Size, alignof(MemberExpr)); in CreateEmpty() 1577 return new (Mem) MemberExpr(EmptyShell()); in CreateEmpty() 1580 void MemberExpr::setMemberDecl(ValueDecl *D) { in setMemberDecl() [all …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | ProTypeUnionAccessCheck.cpp | 27 const auto *Matched = Result.Nodes.getNodeAs<MemberExpr>("expr"); in check()
|
D | PreferMemberInitializerCheck.cpp | 64 const auto *ME = dyn_cast<MemberExpr>(BO->getLHS()->IgnoreParenImpCasts()); in isAssignmentToMemberOf() 79 dyn_cast<MemberExpr>(COCE->getArg(0)->IgnoreParenImpCasts()); in isAssignmentToMemberOf()
|
/external/llvm-project/clang/unittests/Tooling/RecursiveASTVisitorTests/ |
D | Attr.cpp | 19 bool VisitMemberExpr(MemberExpr *ME) { in VisitMemberExpr()
|
/external/clang/lib/AST/ |
D | Expr.cpp | 76 } 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/ |
D | TypoCorrection.h | 337 MemberExpr *ME = nullptr); 345 MemberExpr *MemberFn;
|