Searched refs:OpLoc (Results 1 - 19 of 19) sorted by relevance

/external/clang/lib/Sema/
H A DSemaExprMember.cpp271 SourceLocation OpLoc, const IdentifierInfo *CompName,
326 S.Diag(OpLoc, diag::err_ext_vector_component_name_illegal)
341 S.Diag(OpLoc, diag::err_ext_vector_component_exceeds_length)
430 bool IsArrow, SourceLocation OpLoc,
450 Diag(OpLoc, diag::err_typecheck_member_reference_struct_union)
463 IsArrow, OpLoc,
556 SourceLocation OpLoc, CXXScopeSpec &SS,
560 SemaRef.RequireCompleteType(OpLoc, QualType(RTy, 0),
629 SourceLocation OpLoc, bool IsArrow,
638 IsArrow, OpLoc,
270 CheckExtVectorComponent(Sema &S, QualType baseType, ExprValueKind &VK, SourceLocation OpLoc, const IdentifierInfo *CompName, SourceLocation CompLoc) argument
429 ActOnDependentMemberExpr(Expr *BaseExpr, QualType BaseType, bool IsArrow, SourceLocation OpLoc, const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
554 LookupMemberExprInRecord(Sema &SemaRef, LookupResult &R, SourceRange BaseRange, const RecordType *RTy, SourceLocation OpLoc, CXXScopeSpec &SS, bool HasTemplateArgs) argument
628 BuildMemberReferenceExpr(Expr *Base, QualType BaseType, SourceLocation OpLoc, bool IsArrow, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
821 BuildMemberReferenceExpr(Expr *BaseExpr, QualType BaseExprType, SourceLocation OpLoc, bool IsArrow, const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, LookupResult &R, const TemplateArgumentListInfo *TemplateArgs, bool SuppressQualifierCheck, ActOnMemberAccessExtraArgs *ExtraArgs) argument
1071 LookupMemberExpr(LookupResult &R, ExprResult &BaseExpr, bool &IsArrow, SourceLocation OpLoc, CXXScopeSpec &SS, Decl *ObjCImpDecl, bool HasTemplateArgs) argument
1513 ActOnMemberAccessExpr(Scope *S, Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, UnqualifiedId &Id, Decl *ObjCImpDecl, bool HasTrailingLParen) argument
[all...]
H A DSemaExpr.cpp3121 SourceLocation OpLoc,
3135 return CheckVecStepTraitOperandType(*this, ExprType, OpLoc, ExprRange);
3138 if (!CheckExtensionTraitOperandType(*this, ExprType, OpLoc, ExprRange,
3142 if (RequireCompleteType(OpLoc, ExprType,
3147 if (CheckObjCTraitOperandConstraints(*this, ExprType, OpLoc, ExprRange,
3193 SourceLocation OpLoc,
3202 CheckUnaryExprOrTypeTraitOperand(T, OpLoc, R, ExprKind))
3208 OpLoc, R.getEnd()));
3214 Sema::CreateUnaryExprOrTypeTraitExpr(Expr *E, SourceLocation OpLoc, argument
3248 ExprKind, E, Context.getSizeType(), OpLoc,
3120 CheckUnaryExprOrTypeTraitOperand(QualType ExprType, SourceLocation OpLoc, SourceRange ExprRange, UnaryExprOrTypeTrait ExprKind) argument
3192 CreateUnaryExprOrTypeTraitExpr(TypeSourceInfo *TInfo, SourceLocation OpLoc, UnaryExprOrTypeTrait ExprKind, SourceRange R) argument
3256 ActOnUnaryExprOrTypeTraitExpr(SourceLocation OpLoc, UnaryExprOrTypeTrait ExprKind, bool IsType, void *TyOrEx, const SourceRange &ArgRange) argument
3310 ActOnPostfixUnaryOp(Scope *S, SourceLocation OpLoc, tok::TokenKind Kind, Expr *Input) argument
5380 DiagnoseConditionalPrecedence(Sema &Self, SourceLocation OpLoc, Expr *Condition, Expr *LHSExpr, Expr *RHSExpr) argument
6439 diagnoseStringPlusInt(Sema &Self, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
7934 CheckIncrementDecrementOperand(Sema &S, Expr *Op, ExprValueKind &VK, SourceLocation OpLoc, bool IsInc, bool IsPrefix) argument
8084 CheckAddressOfOperand(Sema &S, ExprResult &OrigOp, SourceLocation OpLoc) argument
8252 CheckIndirectionOperand(Sema &S, Expr *Op, ExprValueKind &VK, SourceLocation OpLoc) argument
8366 DiagnoseSelfAssignment(Sema &S, Expr *LHSExpr, Expr *RHSExpr, SourceLocation OpLoc) argument
8400 CreateBuiltinBinOp(SourceLocation OpLoc, BinaryOperatorKind Opc, Expr *LHSExpr, Expr *RHSExpr) argument
8555 DiagnoseBitwisePrecedence(Sema &Self, BinaryOperatorKind Opc, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
8597 EmitDiagnosticForBitwiseAndInBitwiseOr(Sema &Self, SourceLocation OpLoc, BinaryOperator *Bop) argument
8612 EmitDiagnosticForLogicalAndInLogicalOr(Sema &Self, SourceLocation OpLoc, BinaryOperator *Bop) argument
8638 DiagnoseLogicalAndInLogicalOrLHS(Sema &S, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
8660 DiagnoseLogicalAndInLogicalOrRHS(Sema &S, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
8675 DiagnoseBitwiseAndInBitwiseOr(Sema &S, SourceLocation OpLoc, Expr *OrArg) argument
8683 DiagnoseAdditionInShift(Sema &S, SourceLocation OpLoc, Expr *SubExpr, StringRef Shift) argument
8699 DiagnoseBinOpPrecedence(Sema &Self, BinaryOperatorKind Opc, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
8742 BuildOverloadedBinOp(Sema &S, Scope *Sc, SourceLocation OpLoc, BinaryOperatorKind Opc, Expr *LHS, Expr *RHS) argument
8761 BuildBinOp(Scope *S, SourceLocation OpLoc, BinaryOperatorKind Opc, Expr *LHSExpr, Expr *RHSExpr) argument
8839 CreateBuiltinUnaryOp(SourceLocation OpLoc, UnaryOperatorKind Opc, Expr *InputExpr) argument
9045 BuildUnaryOp(Scope *S, SourceLocation OpLoc, UnaryOperatorKind Opc, Expr *Input) argument
9093 ActOnUnaryOp(Scope *S, SourceLocation OpLoc, tok::TokenKind Op, Expr *Input) argument
9099 ActOnAddrLabel(SourceLocation OpLoc, SourceLocation LabLoc, LabelDecl *TheDecl) argument
12156 ActOnObjCBoolLiteral(SourceLocation OpLoc, tok::TokenKind Kind) argument
[all...]
H A DSemaExprCXX.cpp369 Sema::ActOnCXXTypeid(SourceLocation OpLoc, SourceLocation LParenLoc, argument
373 return ExprError(Diag(OpLoc, diag::err_need_header_before_typeid));
387 return ExprError(Diag(OpLoc, diag::err_need_header_before_typeid));
391 return ExprError(Diag(OpLoc, diag::err_no_typeid_with_fno_rtti));
405 TInfo = Context.getTrivialTypeSourceInfo(T, OpLoc);
407 return BuildCXXTypeId(TypeInfoType, OpLoc, TInfo, RParenLoc);
411 return BuildCXXTypeId(TypeInfoType, OpLoc, (Expr*)TyOrExpr, RParenLoc);
448 Sema::ActOnCXXUuidof(SourceLocation OpLoc, SourceLocation LParenLoc, argument
457 return ExprError(Diag(OpLoc, diag::err_need_header_before_ms_uuidof));
471 TInfo = Context.getTrivialTypeSourceInfo(T, OpLoc);
482 ActOnCXXBoolLiteral(SourceLocation OpLoc, tok::TokenKind Kind) argument
497 ActOnCXXThrow(Scope *S, SourceLocation OpLoc, Expr *Ex) argument
533 BuildCXXThrow(SourceLocation OpLoc, Expr *Ex, bool IsThrownVarInScope) argument
4893 ActOnStartCXXMemberReference(Scope *S, Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind, ParsedType &ObjectType, bool &MayBePseudoDestructor) argument
5004 CheckArrow(Sema& S, QualType& ObjectType, Expr *&Base, tok::TokenKind& OpKind, SourceLocation OpLoc) argument
5037 BuildPseudoDestructorExpr(Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind, const CXXScopeSpec &SS, TypeSourceInfo *ScopeTypeInfo, SourceLocation CCLoc, SourceLocation TildeLoc, PseudoDestructorTypeStorage Destructed, bool HasTrailingLParen) argument
5138 ActOnPseudoDestructorExpr(Scope *S, Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind, CXXScopeSpec &SS, UnqualifiedId &FirstTypeName, SourceLocation CCLoc, SourceLocation TildeLoc, UnqualifiedId &SecondTypeName, bool HasTrailingLParen) argument
5276 ActOnPseudoDestructorExpr(Scope *S, Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind, SourceLocation TildeLoc, const DeclSpec& DS, bool HasTrailingLParen) argument
[all...]
H A DSemaOverload.cpp5991 SourceLocation OpLoc,
6013 if (RequireCompleteType(OpLoc, T1, 0))
6016 LookupResult Operators(*this, OpName, OpLoc, LookupOrdinaryName);
7552 SourceLocation OpLoc,
7570 OpLoc,
8632 SourceLocation OpLoc,
8641 S.Diag(OpLoc, diag::note_ovl_builtin_unary_candidate) << TypeStr;
8646 S.Diag(OpLoc, diag::note_ovl_builtin_binary_candidate) << TypeStr;
8650 void NoteAmbiguousUserConversions(Sema &S, SourceLocation OpLoc, argument
8658 ICS.DiagnoseAmbiguousConversion(S, OpLoc,
5990 AddMemberOperatorCandidates(OverloadedOperatorKind Op, SourceLocation OpLoc, Expr **Args, unsigned NumArgs, OverloadCandidateSet& CandidateSet, SourceRange OpRange) argument
7551 AddBuiltinOperatorCandidates(OverloadedOperatorKind Op, SourceLocation OpLoc, Expr **Args, unsigned NumArgs, OverloadCandidateSet& CandidateSet) argument
8630 NoteBuiltinOperatorCandidate(Sema &S, StringRef Opc, SourceLocation OpLoc, OverloadCandidate *Cand) argument
8898 NoteCandidates(Sema &S, OverloadCandidateDisplayKind OCD, ArrayRef<Expr *> Args, StringRef Opc, SourceLocation OpLoc) argument
9681 DiagnoseTwoPhaseOperatorLookup(Sema &SemaRef, OverloadedOperatorKind Op, SourceLocation OpLoc, ArrayRef<Expr *> Args) argument
10030 CreateOverloadedUnaryOp(SourceLocation OpLoc, unsigned OpcIn, const UnresolvedSetImpl &Fns, Expr *Input) argument
10228 CreateOverloadedBinOp(SourceLocation OpLoc, unsigned OpcIn, const UnresolvedSetImpl &Fns, Expr *LHS, Expr *RHS) argument
11209 BuildOverloadedArrowExpr(Scope *S, Expr *Base, SourceLocation OpLoc) argument
[all...]
H A DTreeTransform.h1438 ExprResult RebuildUnaryOperator(SourceLocation OpLoc, argument
1441 return getSema().BuildUnaryOp(/*Scope=*/0, OpLoc, Opc, SubExpr);
1463 SourceLocation OpLoc,
1466 return getSema().CreateUnaryExprOrTypeTraitExpr(TInfo, OpLoc, ExprKind, R);
1474 ExprResult RebuildUnaryExprOrTypeTrait(Expr *SubExpr, SourceLocation OpLoc, argument
1478 = getSema().CreateUnaryExprOrTypeTraitExpr(SubExpr, OpLoc, ExprKind);
1514 ExprResult RebuildMemberExpr(Expr *Base, SourceLocation OpLoc, argument
1561 return getSema().BuildMemberReferenceExpr(Base, BaseType, OpLoc, isArrow,
1571 ExprResult RebuildBinaryOperator(SourceLocation OpLoc, argument
1574 return getSema().BuildBinOp(/*Scope=*/0, OpLoc, Op
1462 RebuildUnaryExprOrTypeTrait(TypeSourceInfo *TInfo, SourceLocation OpLoc, UnaryExprOrTypeTrait ExprKind, SourceRange R) argument
1618 RebuildExtVectorElementExpr(Expr *Base, SourceLocation OpLoc, SourceLocation AccessorLoc, IdentifierInfo &Accessor) argument
1770 RebuildCXXNamedCastExpr(SourceLocation OpLoc, Stmt::StmtClass Class, SourceLocation LAngleLoc, TypeSourceInfo *TInfo, SourceLocation RAngleLoc, SourceLocation LParenLoc, Expr *SubExpr, SourceLocation RParenLoc) argument
1809 RebuildCXXStaticCastExpr(SourceLocation OpLoc, SourceLocation LAngleLoc, TypeSourceInfo *TInfo, SourceLocation RAngleLoc, SourceLocation LParenLoc, Expr *SubExpr, SourceLocation RParenLoc) argument
1826 RebuildCXXDynamicCastExpr(SourceLocation OpLoc, SourceLocation LAngleLoc, TypeSourceInfo *TInfo, SourceLocation RAngleLoc, SourceLocation LParenLoc, Expr *SubExpr, SourceLocation RParenLoc) argument
1843 RebuildCXXReinterpretCastExpr(SourceLocation OpLoc, SourceLocation LAngleLoc, TypeSourceInfo *TInfo, SourceLocation RAngleLoc, SourceLocation LParenLoc, Expr *SubExpr, SourceLocation RParenLoc) argument
1860 RebuildCXXConstCastExpr(SourceLocation OpLoc, SourceLocation LAngleLoc, TypeSourceInfo *TInfo, SourceLocation RAngleLoc, SourceLocation LParenLoc, Expr *SubExpr, SourceLocation RParenLoc) argument
9194 RebuildCXXOperatorCallExpr(OverloadedOperatorKind Op, SourceLocation OpLoc, Expr *OrigCallee, Expr *First, Expr *Second) argument
[all...]
H A DSemaCast.cpp213 Sema::ActOnCXXNamedCast(SourceLocation OpLoc, tok::TokenKind Kind, argument
230 return BuildCXXNamedCast(OpLoc, Kind, TInfo, E,
236 Sema::BuildCXXNamedCast(SourceLocation OpLoc, tok::TokenKind Kind, argument
247 Op.OpRange = SourceRange(OpLoc, Parens.getEnd());
261 OpLoc, Parens.getEnd(),
273 OpLoc, Parens.getEnd(),
284 0, DestTInfo, OpLoc,
298 OpLoc, Parens.getEnd(),
H A DSemaTemplateVariadic.cpp794 /// \param OpLoc The location of the "sizeof" keyword.
799 SourceLocation OpLoc,
845 MarkAnyDeclReferenced(OpLoc, ParameterPack, true);
847 return new (Context) SizeOfPackExpr(Context.getSizeType(), OpLoc,
798 ActOnSizeofParameterPackExpr(Scope *S, SourceLocation OpLoc, IdentifierInfo &Name, SourceLocation NameLoc, SourceLocation RParenLoc) argument
H A DSemaAccess.cpp1694 Sema::AccessResult Sema::CheckAllocationAccess(SourceLocation OpLoc, argument
1710 return CheckAccess(*this, OpLoc, Entity);
1715 Sema::AccessResult Sema::CheckMemberOperatorAccess(SourceLocation OpLoc, argument
1732 return CheckAccess(*this, OpLoc, Entity);
H A DSemaExprObjC.cpp1382 Expr *BaseExpr, SourceLocation OpLoc,
1513 return HandleExprPropertyRefExpr(OPT, BaseExpr, OpLoc,
1531 << FixItHint::CreateReplacement(OpLoc, "->");
1577 SourceLocation()/*OpLoc*/,
1381 HandleExprPropertyRefExpr(const ObjCObjectPointerType *OPT, Expr *BaseExpr, SourceLocation OpLoc, DeclarationName MemberName, SourceLocation MemberLoc, SourceLocation SuperLoc, QualType SuperType, bool Super) argument
H A DSemaCodeComplete.cpp3531 SourceLocation OpLoc,
3530 CodeCompleteMemberReferenceExpr(Scope *S, Expr *Base, SourceLocation OpLoc, bool IsArrow) argument
/external/clang/lib/Lex/
H A DPPExpressions.cpp487 SourceLocation OpLoc = PeekTok.getLocation(); local
548 PP.Diag(OpLoc, diag::warn_pp_convert_lhs_to_positive)
553 PP.Diag(OpLoc, diag::warn_pp_convert_rhs_to_positive)
569 PP.Diag(OpLoc, diag::err_pp_remainder_by_zero)
581 PP.Diag(OpLoc, diag::err_pp_division_by_zero)
671 PP.Diag(OpLoc, diag::ext_pp_comma_expr)
680 PP.Diag(OpLoc, diag::note_matching) << "?";
713 PP.Diag(OpLoc, diag::err_pp_colon_without_question)
720 PP.Diag(OpLoc, diag::warn_pp_expr_overflow)
/external/clang/include/clang/Sema/
H A DSema.h2021 SourceLocation OpLoc,
2031 SourceLocation OpLoc,
2126 ExprResult CreateOverloadedUnaryOp(SourceLocation OpLoc,
2131 ExprResult CreateOverloadedBinOp(SourceLocation OpLoc,
2150 SourceLocation OpLoc);
3094 ExprResult CreateBuiltinUnaryOp(SourceLocation OpLoc, UnaryOperatorKind Opc,
3096 ExprResult BuildUnaryOp(Scope *S, SourceLocation OpLoc,
3098 ExprResult ActOnUnaryOp(Scope *S, SourceLocation OpLoc,
3102 SourceLocation OpLoc,
3105 ExprResult CreateUnaryExprOrTypeTraitExpr(Expr *E, SourceLocation OpLoc,
[all...]
H A DDeclSpec.h941 /// \param OpLoc the location of the 'operator' keyword.
944 void setLiteralOperatorId(const IdentifierInfo *Id, SourceLocation OpLoc, argument
948 StartLocation = OpLoc;
/external/clang/lib/Parse/
H A DParseExprCXX.cpp976 SourceLocation OpLoc = ConsumeToken(); local
1015 Result = Actions.ActOnCXXNamedCast(OpLoc, Kind,
1033 SourceLocation OpLoc = ConsumeToken(); local
1069 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/true,
1083 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/false,
1099 SourceLocation OpLoc = ConsumeToken(); local
1117 Result = Actions.ActOnCXXUuidof(OpLoc, T.getOpenLocation(), /*isType=*/true,
1130 Result = Actions.ActOnCXXUuidof(OpLoc, T.getOpenLocation(),
1154 Parser::ParseCXXPseudoDestructor(ExprArg Base, SourceLocation OpLoc, argument
1194 return Actions.ActOnPseudoDestructorExpr(getCurScope(), Base, OpLoc,
[all...]
H A DParseExpr.cpp1446 SourceLocation OpLoc = ConsumeToken(); // Eat the "." or "->" token. local
1453 OpLoc, OpKind, ObjectType,
1468 OpLoc, OpKind == tok::arrow); local
1475 LHS = ParseCXXPseudoDestructor(LHS.take(), OpLoc, OpKind, SS,
1509 LHS = Actions.ActOnMemberAccessExpr(getCurScope(), LHS.take(), OpLoc,
H A DParseObjc.cpp2053 SourceLocation OpLoc = ConsumeToken(); local
2073 Lit = Actions.ActOnUnaryOp(getCurScope(), OpLoc, Kind, Lit.take());
/external/clang/include/clang/AST/
H A DExpr.h1935 SourceLocation OpLoc, RParenLoc;
1947 OpLoc(op), RParenLoc(rp) {
1962 OpLoc(op), RParenLoc(rp) {
2008 SourceLocation getOperatorLoc() const { return OpLoc; }
2009 void setOperatorLoc(SourceLocation L) { OpLoc = L; }
2014 SourceLocation getLocStart() const LLVM_READONLY { return OpLoc; }
2883 SourceLocation OpLoc; member in class:clang::StringLiteral::OffsetOfExpr::BinaryOperator
2899 Opc(opc), FPContractable(fpContractable), OpLoc(opLoc) {
2910 SourceLocation getExprLoc() const LLVM_READONLY { return OpLoc; }
2911 SourceLocation getOperatorLoc() const { return OpLoc; }
3040 CompoundAssignOperator(Expr *lhs, Expr *rhs, Opcode opc, QualType ResType, ExprValueKind VK, ExprObjectKind OK, QualType CompLHSType, QualType CompResultType, SourceLocation OpLoc, bool fpContractable) argument
[all...]
/external/llvm/lib/TableGen/
H A DTGParser.cpp923 SMLoc OpLoc = Lex.getLoc(); local
982 Error(OpLoc, "expected two operands to operator");
/external/clang/include/clang/Parse/
H A DParser.h1316 ExprResult ParseCXXPseudoDestructor(ExprArg Base, SourceLocation OpLoc,

Completed in 395 milliseconds