Searched refs:IsArrow (Results 1 - 16 of 16) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprMember.cpp481 bool IsArrow, SourceLocation OpLoc,
496 if (!IsArrow) {
514 Context, BaseExpr, BaseType, IsArrow, OpLoc,
644 SourceLocation OpLoc, bool IsArrow,
729 BaseExpr, BaseExpr->getType(), OpLoc, IsArrow, SS, SourceLocation(),
738 ExprResult &BaseExpr, bool &IsArrow,
745 SourceLocation OpLoc, bool IsArrow,
756 IsArrow, OpLoc,
766 if (IsArrow) RecordTy = RecordTy->getAs<PointerType>()->getPointeeType();
768 *this, R, nullptr, RecordTy->getAs<RecordType>(), OpLoc, IsArrow,
480 ActOnDependentMemberExpr(Expr *BaseExpr, QualType BaseType, bool IsArrow, SourceLocation OpLoc, const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
641 LookupMemberExprInRecord(Sema &SemaRef, LookupResult &R, Expr *BaseExpr, const RecordType *RTy, SourceLocation OpLoc, bool IsArrow, CXXScopeSpec &SS, bool HasTemplateArgs, SourceLocation TemplateKWLoc, TypoExpr *&TE) argument
744 BuildMemberReferenceExpr(Expr *Base, QualType BaseType, SourceLocation OpLoc, bool IsArrow, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs, const Scope *S, ActOnMemberAccessExtraArgs *ExtraArgs) argument
884 BuildMSPropertyRefExpr(Sema &S, Expr *BaseExpr, bool IsArrow, const CXXScopeSpec &SS, MSPropertyDecl *PD, const DeclarationNameInfo &NameInfo) argument
896 BuildMemberExpr( Expr *Base, bool IsArrow, SourceLocation OpLoc, const CXXScopeSpec *SS, SourceLocation TemplateKWLoc, ValueDecl *Member, DeclAccessPair FoundDecl, bool HadMultipleCandidates, const DeclarationNameInfo &MemberNameInfo, QualType Ty, ExprValueKind VK, ExprObjectKind OK, const TemplateArgumentListInfo *TemplateArgs) argument
909 BuildMemberExpr( Expr *Base, bool IsArrow, SourceLocation OpLoc, NestedNameSpecifierLoc NNS, SourceLocation TemplateKWLoc, ValueDecl *Member, DeclAccessPair FoundDecl, bool HadMultipleCandidates, const DeclarationNameInfo &MemberNameInfo, QualType Ty, ExprValueKind VK, ExprObjectKind OK, const TemplateArgumentListInfo *TemplateArgs) argument
972 BuildMemberReferenceExpr(Expr *BaseExpr, QualType BaseExprType, SourceLocation OpLoc, bool IsArrow, const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, LookupResult &R, const TemplateArgumentListInfo *TemplateArgs, const Scope *S, bool SuppressQualifierCheck, ActOnMemberAccessExtraArgs *ExtraArgs) argument
1240 PerformMemberExprBaseConversion(Expr *Base, bool IsArrow) argument
1257 LookupMemberExpr(Sema &S, LookupResult &R, ExprResult &BaseExpr, bool &IsArrow, SourceLocation OpLoc, CXXScopeSpec &SS, Decl *ObjCImpDecl, bool HasTemplateArgs, SourceLocation TemplateKWLoc) argument
1722 bool IsArrow = (OpKind == tok::arrow); local
1768 BuildFieldReferenceExpr(Expr *BaseExpr, bool IsArrow, SourceLocation OpLoc, const CXXScopeSpec &SS, FieldDecl *Field, DeclAccessPair FoundDecl, const DeclarationNameInfo &MemberNameInfo) argument
[all...]
H A DSemaCodeComplete.cpp4972 bool IsArrow = E->isArrow(); local
4973 if (Base->isPointerType() && IsArrow) {
4974 IsArrow = false;
4978 addValue(E, E->getMember(), IsArrow ? Member::Arrow : Member::Dot);
5136 SourceLocation OpLoc, bool IsArrow,
5142 ExprResult ConvertedBase = PerformMemberExprBaseConversion(Base, IsArrow);
5149 if (IsArrow) {
5154 if (IsArrow) {
5171 auto DoCompletion = [&](Expr *Base, bool IsArrow,
5176 ExprResult ConvertedBase = PerformMemberExprBaseConversion(Base, IsArrow);
5134 CodeCompleteMemberReferenceExpr(Scope *S, Expr *Base, Expr *OtherOpBase, SourceLocation OpLoc, bool IsArrow, bool IsBaseExprStatement, QualType PreferredType) argument
[all...]
H A DTreeTransform.h2612 OpLoc, /*IsArrow*/ false,
3168 bool IsArrow,
3179 OperatorLoc, IsArrow,
3192 bool IsArrow,
3202 OperatorLoc, IsArrow,
3411 bool IsArrow, bool IsFreeIvar) {
3416 /*FIXME:*/ IvarLoc, IsArrow, SS, SourceLocation(),
3436 /*IsArrow=*/false,
3465 SourceLocation OpLoc, bool IsArrow) {
3469 OpLoc, IsArrow,
3166 RebuildCXXDependentScopeMemberExpr(Expr *BaseE, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
3190 RebuildUnresolvedMemberExpr(Expr *BaseE, QualType BaseType, SourceLocation OperatorLoc, bool IsArrow, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, LookupResult &R, const TemplateArgumentListInfo *TemplateArgs) argument
3409 RebuildObjCIvarRefExpr(Expr *BaseArg, ObjCIvarDecl *Ivar, SourceLocation IvarLoc, bool IsArrow, bool IsFreeIvar) argument
3464 RebuildObjCIsaExpr(Expr *BaseArg, SourceLocation IsaLoc, SourceLocation OpLoc, bool IsArrow) argument
[all...]
H A DSemaDeclCXX.cpp1406 E = S.BuildFieldReferenceExpr(E.get(), /*IsArrow*/ false, Loc,
4677 /*IsArrow=*/false,
8002 return {S.BuildFieldReferenceExpr(Obj.first.get(), /*IsArrow=*/false, Loc,
8004 S.BuildFieldReferenceExpr(Obj.second.get(), /*IsArrow=*/false, Loc,
13467 bool IsArrow;
13473 Builder.build(S, Loc), Type, Loc, IsArrow, SS, SourceLocation(),
13477 MemberBuilder(const ExprBuilder &Builder, QualType Type, bool IsArrow,
13479 : Builder(Builder), Type(Type), IsArrow(IsArrow),
13681 = S.BuildMemberReferenceExpr(To.build(S, Loc), T, Loc, /*IsArrow
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DExprObjC.h557 bool IsArrow : 1;
568 D(d), Base(base), Loc(l), OpLoc(oploc), IsArrow(arrow),
584 bool isArrow() const { return IsArrow; }
586 void setIsArrow(bool A) { IsArrow = A; }
1492 /// IsArrow - True if this is "X->F", false if this is "X.F".
1493 bool IsArrow;
1499 IsaMemberLoc(l), OpLoc(oploc), IsArrow(isarrow) {
1509 bool isArrow() const { return IsArrow; }
1510 void setArrow(bool A) { IsArrow = A; }
H A DExprCXX.h893 bool IsArrow; member in class:clang::MSPropertyRefExpr
903 TheDecl(decl), MemberLoc(nameLoc), IsArrow(isArrow),
944 bool isArrow() const { return IsArrow; }
2479 bool IsArrow : 1;
2512 : Expr(CXXPseudoDestructorExprClass, Shell), IsArrow(false) {}
2534 bool isArrow() const { return IsArrow; }
3567 QualType BaseType, bool IsArrow,
3580 Create(const ASTContext &Ctx, Expr *Base, QualType BaseType, bool IsArrow,
3610 bool isArrow() const { return CXXDependentScopeMemberExprBits.IsArrow; }
3799 Expr *Base, QualType BaseType, bool IsArrow,
[all...]
H A DStmt.h483 /// IsArrow - True if this is "X->F", false if this is "X.F".
484 unsigned IsArrow : 1;
839 unsigned IsArrow : 1;
899 unsigned IsArrow : 1;
H A DExpr.h3103 MemberExpr(Expr *Base, bool IsArrow, SourceLocation OperatorLoc,
3111 static MemberExpr *Create(const ASTContext &C, Expr *Base, bool IsArrow,
3124 bool IsArrow, ValueDecl *MemberDecl,
3127 return Create(C, Base, IsArrow, SourceLocation(), NestedNameSpecifierLoc(),
3246 bool isArrow() const { return MemberExprBits.IsArrow; }
3247 void setArrow(bool A) { MemberExprBits.IsArrow = A; }
3123 CreateImplicit(const ASTContext &C, Expr *Base, bool IsArrow, ValueDecl *MemberDecl, QualType T, ExprValueKind VK, ExprObjectKind OK) argument
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp314 Base(static_cast<Stmt *>(Base)), IsArrow(isArrow),
1323 const ASTContext &Ctx, Expr *Base, QualType BaseType, bool IsArrow,
1332 CXXDependentScopeMemberExprBits.IsArrow = IsArrow;
1365 const ASTContext &Ctx, Expr *Base, QualType BaseType, bool IsArrow,
1381 Ctx, Base, BaseType, IsArrow, OperatorLoc, QualifierLoc, TemplateKWLoc,
1418 QualType BaseType, bool IsArrow, SourceLocation OperatorLoc,
1434 UnresolvedMemberExprBits.IsArrow = IsArrow;
1458 QualType BaseType, bool IsArrow, SourceLocatio
1322 CXXDependentScopeMemberExpr( const ASTContext &Ctx, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierFoundInScope, DeclarationNameInfo MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
1364 Create( const ASTContext &Ctx, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierFoundInScope, DeclarationNameInfo MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
1416 UnresolvedMemberExpr( const ASTContext &Context, bool HasUnresolvedUsing, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs, UnresolvedSetIterator Begin, UnresolvedSetIterator End) argument
1456 Create( const ASTContext &Context, bool HasUnresolvedUsing, Expr *Base, QualType BaseType, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, const DeclarationNameInfo &MemberNameInfo, const TemplateArgumentListInfo *TemplateArgs, UnresolvedSetIterator Begin, UnresolvedSetIterator End) argument
[all...]
H A DExpr.cpp1549 MemberExpr::MemberExpr(Expr *Base, bool IsArrow, SourceLocation OperatorLoc, argument
1558 MemberExprBits.IsArrow = IsArrow;
1568 const ASTContext &C, Expr *Base, bool IsArrow, SourceLocation OperatorLoc,
1583 MemberExpr *E = new (Mem) MemberExpr(Base, IsArrow, OperatorLoc, MemberDecl,
1567 Create( const ASTContext &C, Expr *Base, bool IsArrow, SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc, SourceLocation TemplateKWLoc, ValueDecl *MemberDecl, DeclAccessPair FoundDecl, DeclarationNameInfo NameInfo, const TemplateArgumentListInfo *TemplateArgs, QualType T, ExprValueKind VK, ExprObjectKind OK, NonOdrUseReason NOUR) argument
H A DItaniumMangle.cpp3639 void CXXNameMangler::mangleMemberExprBase(const Expr *Base, bool IsArrow) { argument
3648 IsArrow = ME->isArrow();
3657 Out << (IsArrow ? "pt" : "dt");
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp103 bool IsArrow = false,
212 bool IsArrow,
217 C, base, IsArrow, SourceLocation(), NestedNameSpecifierLoc(),
211 makeMemberExpression(Expr *base, ValueDecl *MemberDecl, bool IsArrow, ExprValueKind ValueKind) argument
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprCXX.cpp200 bool IsArrow = ME->isArrow(); local
204 CE, MD, ReturnValue, HasQualifier, Qualifier, IsArrow, Base);
209 bool HasQualifier, NestedNameSpecifier *Qualifier, bool IsArrow,
271 if (IsArrow) {
381 IsArrow ? Base->getType()->getPointeeType() : Base->getType();
486 /*IsArrow=*/false, E->getArg(0));
207 EmitCXXMemberOrOperatorMemberCallExpr( const CallExpr *CE, const CXXMethodDecl *MD, ReturnValueSlot ReturnValue, bool HasQualifier, NestedNameSpecifier *Qualifier, bool IsArrow, const Expr *Base) argument
H A DCodeGenFunction.h3923 bool IsArrow, const Expr *Base);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp1018 E->MemberExprBits.IsArrow = Record.readInt();
1893 E->IsArrow = Record.readInt();
1950 E->CXXDependentScopeMemberExprBits.IsArrow = Record.readInt();
2026 E->UnresolvedMemberExprBits.IsArrow = Record.readInt();
2187 E->IsArrow = (Record.readInt() != 0);
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h5014 Expr *Base, QualType BaseType, SourceLocation OpLoc, bool IsArrow,
5023 bool IsArrow, const CXXScopeSpec &SS,
5031 ExprResult BuildFieldReferenceExpr(Expr *BaseExpr, bool IsArrow,
5037 ExprResult PerformMemberExprBaseConversion(Expr *Base, bool IsArrow);
5044 bool IsArrow, SourceLocation OpLoc,
5060 BuildMemberExpr(Expr *Base, bool IsArrow, SourceLocation OpLoc,
5068 BuildMemberExpr(Expr *Base, bool IsArrow, SourceLocation OpLoc,
11962 SourceLocation OpLoc, bool IsArrow,

Completed in 308 milliseconds