Home
last modified time | relevance | path

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

1234

/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/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()
DSemaFixItUtils.cpp85 isa<MemberExpr>(Expr) || in tryToFixConversion()
/external/bcc/src/cc/frontends/clang/
Db_frontend_action.cc203 bool VisitMemberExpr(MemberExpr *M) { in VisitMemberExpr()
295 bool VisitMemberExpr(MemberExpr *M) { in VisitMemberExpr()
309 if (MemberExpr *Memb = dyn_cast<MemberExpr>(Call->getCallee()->IgnoreImplicit())) { in VisitCallExpr()
361 if (MemberExpr *Memb = dyn_cast<MemberExpr>(Call->getCallee()->IgnoreImplicit())) { in assignsExtPtr()
515 bool ProbeVisitor::VisitMemberExpr(MemberExpr *E) { in VisitMemberExpr()
521 for (MemberExpr *M = E; M; M = dyn_cast<MemberExpr>(M->getBase())) { in VisitMemberExpr()
652 for (MemberExpr *M = dyn_cast<MemberExpr>(E->IgnoreParenCasts()); M; in isMemberDereference()
653 M = dyn_cast<MemberExpr>(M->getBase()->IgnoreParenCasts())) { in isMemberDereference()
666 MemberExpr *M; in IsContextMemberExpr()
673 M = dyn_cast<MemberExpr>(Ex); in IsContextMemberExpr()
[all …]
Db_frontend_action.h107 bool VisitMemberExpr(clang::MemberExpr *E);
/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 …]
DExprClassification.cpp29 static Cl::Kinds ClassifyMemberExpr(ASTContext &Ctx, const MemberExpr *E);
215 return ClassifyMemberExpr(Ctx, cast<MemberExpr>(E)); in ClassifyInternal()
458 static Cl::Kinds ClassifyMemberExpr(ASTContext &Ctx, const MemberExpr *E) { in ClassifyMemberExpr()
DExprCXX.cpp461 if (const MemberExpr *MemExpr = dyn_cast<MemberExpr>(Callee)) in getImplicitObjectArgument()
472 if (const MemberExpr *MemExpr = in getMethodDecl()
473 dyn_cast<MemberExpr>(getCallee()->IgnoreParens())) in getMethodDecl()
/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/cronet/buildtools/third_party/libc++abi/trunk/src/demangle/
DItaniumNodes.def69 NODE(MemberExpr)
/external/clang/lib/Index/
DIndexBody.cpp92 if (auto *ME = dyn_cast<MemberExpr>(E)) { in getRolesForRef()
139 bool VisitMemberExpr(MemberExpr *E) { in VisitMemberExpr()
/external/clang/lib/ARCMigrate/
DTransRetainReleaseDealloc.cpp303 if (MemberExpr *ME = dyn_cast<MemberExpr>(E)) in getReferencedDecl()
DTransUnbridgedCasts.cpp183 while (isa<MemberExpr>(base)) in transformNonObjCToObjCCast()
184 base = cast<MemberExpr>(base)->getBase()->IgnoreParenImpCasts(); in transformNonObjCToObjCCast()
/external/clang/lib/Frontend/Rewrite/
DRewriteModernObjC.cpp881 MemberExpr *ME = new (Context) in getIvarAccessString()
882 MemberExpr(PE, true, SourceLocation(), FD, SourceLocation(), in getIvarAccessString()
2741 MemberExpr *ArrayLiteralME = new (Context) in RewriteObjCArrayLiteralExpr()
2742 MemberExpr(NSArrayCallExpr, false, SourceLocation(), ARRFD, in RewriteObjCArrayLiteralExpr()
2872 MemberExpr *DictLiteralValueME = new (Context) in RewriteObjCDictionaryLiteralExpr()
2873 MemberExpr(NSValueCallExpr, false, SourceLocation(), ARRFD, in RewriteObjCDictionaryLiteralExpr()
2886 MemberExpr *DictLiteralKeyME = new (Context) in RewriteObjCDictionaryLiteralExpr()
2887 MemberExpr(NSKeyCallExpr, false, SourceLocation(), ARRFD, in RewriteObjCDictionaryLiteralExpr()
3190 MemberExpr *ME = new (Context) in SynthMsgSendStretCallExpr()
3191 MemberExpr(STCE, false, SourceLocation(), FieldD, SourceLocation(), in SynthMsgSendStretCallExpr()
[all …]
/external/clang/tools/libclang/
DCXCursor.cpp1496 const MemberExpr *ME = nullptr; in clang_Cursor_isDynamicCall()
1497 if (isa<MemberExpr>(E)) in clang_Cursor_isDynamicCall()
1498 ME = cast<MemberExpr>(E); in clang_Cursor_isDynamicCall()
1500 ME = dyn_cast_or_null<MemberExpr>(CE->getCallee()); in clang_Cursor_isDynamicCall()

1234