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

/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExprMember.cpp276 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,
585 SourceLocation OpLoc, CXXScopeSpec &SS,
589 SemaRef.RequireCompleteType(OpLoc, QualType(RTy, 0),
665 SourceLocation OpLoc, bool IsArrow,
674 IsArrow, OpLoc,
275 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
583 LookupMemberExprInRecord(Sema &SemaRef, LookupResult &R, SourceRange BaseRange, const RecordType *RTy, SourceLocation OpLoc, CXXScopeSpec &SS, bool HasTemplateArgs) argument
664 BuildMemberReferenceExpr(Expr *Base, QualType BaseType, SourceLocation OpLoc, bool IsArrow, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
872 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
1174 LookupMemberExpr(LookupResult &R, ExprResult &BaseExpr, bool &IsArrow, SourceLocation OpLoc, CXXScopeSpec &SS, Decl *ObjCImpDecl, bool HasTemplateArgs) argument
1602 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.cpp3388 SourceLocation OpLoc,
3402 return CheckVecStepTraitOperandType(*this, ExprType, OpLoc, ExprRange);
3405 if (!CheckExtensionTraitOperandType(*this, ExprType, OpLoc, ExprRange,
3409 if (RequireCompleteType(OpLoc, ExprType,
3415 Diag(OpLoc, diag::err_sizeof_alignof_function_type)
3420 if (CheckObjCTraitOperandConstraints(*this, ExprType, OpLoc, ExprRange,
3508 SourceLocation OpLoc,
3517 CheckUnaryExprOrTypeTraitOperand(T, OpLoc, R, ExprKind))
3523 OpLoc, R.getEnd()));
3529 Sema::CreateUnaryExprOrTypeTraitExpr(Expr *E, SourceLocation OpLoc, argument
3387 CheckUnaryExprOrTypeTraitOperand(QualType ExprType, SourceLocation OpLoc, SourceRange ExprRange, UnaryExprOrTypeTrait ExprKind) argument
3507 CreateUnaryExprOrTypeTraitExpr(TypeSourceInfo *TInfo, SourceLocation OpLoc, UnaryExprOrTypeTrait ExprKind, SourceRange R) argument
3571 ActOnUnaryExprOrTypeTraitExpr(SourceLocation OpLoc, UnaryExprOrTypeTrait ExprKind, bool IsType, void *TyOrEx, const SourceRange &ArgRange) argument
3625 ActOnPostfixUnaryOp(Scope *S, SourceLocation OpLoc, tok::TokenKind Kind, Expr *Input) argument
5865 DiagnoseConditionalPrecedence(Sema &Self, SourceLocation OpLoc, Expr *Condition, Expr *LHSExpr, Expr *RHSExpr) argument
6949 diagnoseStringPlusInt(Sema &Self, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
6988 diagnoseStringPlusChar(Sema &Self, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
8533 CheckIncrementDecrementOperand(Sema &S, Expr *Op, ExprValueKind &VK, SourceLocation OpLoc, bool IsInc, bool IsPrefix) argument
8690 CheckAddressOfOperand(ExprResult &OrigOp, SourceLocation OpLoc) argument
8872 CheckIndirectionOperand(Sema &S, Expr *Op, ExprValueKind &VK, SourceLocation OpLoc) argument
8986 DiagnoseSelfAssignment(Sema &S, Expr *LHSExpr, Expr *RHSExpr, SourceLocation OpLoc) argument
9019 checkObjCPointerIntrospection(Sema &S, ExprResult &L, ExprResult &R, SourceLocation OpLoc) argument
9063 CreateBuiltinBinOp(SourceLocation OpLoc, BinaryOperatorKind Opc, Expr *LHSExpr, Expr *RHSExpr) argument
9237 DiagnoseBitwisePrecedence(Sema &Self, BinaryOperatorKind Opc, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
9279 EmitDiagnosticForBitwiseAndInBitwiseOr(Sema &Self, SourceLocation OpLoc, BinaryOperator *Bop) argument
9294 EmitDiagnosticForLogicalAndInLogicalOr(Sema &Self, SourceLocation OpLoc, BinaryOperator *Bop) argument
9322 DiagnoseLogicalAndInLogicalOrLHS(Sema &S, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
9344 DiagnoseLogicalAndInLogicalOrRHS(Sema &S, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
9359 DiagnoseBitwiseAndInBitwiseOr(Sema &S, SourceLocation OpLoc, Expr *OrArg) argument
9367 DiagnoseAdditionInShift(Sema &S, SourceLocation OpLoc, Expr *SubExpr, StringRef Shift) argument
9381 DiagnoseShiftCompare(Sema &S, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
9410 DiagnoseBinOpPrecedence(Sema &Self, BinaryOperatorKind Opc, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
9458 BuildOverloadedBinOp(Sema &S, Scope *Sc, SourceLocation OpLoc, BinaryOperatorKind Opc, Expr *LHS, Expr *RHS) argument
9477 BuildBinOp(Scope *S, SourceLocation OpLoc, BinaryOperatorKind Opc, Expr *LHSExpr, Expr *RHSExpr) argument
9555 CreateBuiltinUnaryOp(SourceLocation OpLoc, UnaryOperatorKind Opc, Expr *InputExpr) argument
9758 BuildUnaryOp(Scope *S, SourceLocation OpLoc, UnaryOperatorKind Opc, Expr *Input) argument
9806 ActOnUnaryOp(Scope *S, SourceLocation OpLoc, tok::TokenKind Op, Expr *Input) argument
9812 ActOnAddrLabel(SourceLocation OpLoc, SourceLocation LabLoc, LabelDecl *TheDecl) argument
13148 ActOnObjCBoolLiteral(SourceLocation OpLoc, tok::TokenKind Kind) argument
[all...]
H A DSemaExprCXX.cpp416 Sema::ActOnCXXTypeid(SourceLocation OpLoc, SourceLocation LParenLoc, argument
420 return ExprError(Diag(OpLoc, diag::err_need_header_before_typeid));
434 return ExprError(Diag(OpLoc, diag::err_need_header_before_typeid));
438 return ExprError(Diag(OpLoc, diag::err_no_typeid_with_fno_rtti));
452 TInfo = Context.getTrivialTypeSourceInfo(T, OpLoc);
454 return BuildCXXTypeId(TypeInfoType, OpLoc, TInfo, RParenLoc);
458 return BuildCXXTypeId(TypeInfoType, OpLoc, (Expr*)TyOrExpr, RParenLoc);
505 Sema::ActOnCXXUuidof(SourceLocation OpLoc, SourceLocation LParenLoc, argument
514 return ExprError(Diag(OpLoc, diag::err_need_header_before_ms_uuidof));
528 TInfo = Context.getTrivialTypeSourceInfo(T, OpLoc);
539 ActOnCXXBoolLiteral(SourceLocation OpLoc, tok::TokenKind Kind) argument
554 ActOnCXXThrow(Scope *S, SourceLocation OpLoc, Expr *Ex) argument
590 BuildCXXThrow(SourceLocation OpLoc, Expr *Ex, bool IsThrownVarInScope) argument
5191 ActOnStartCXXMemberReference(Scope *S, Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind, ParsedType &ObjectType, bool &MayBePseudoDestructor) argument
5341 CheckArrow(Sema& S, QualType& ObjectType, Expr *&Base, tok::TokenKind& OpKind, SourceLocation OpLoc) argument
5374 BuildPseudoDestructorExpr(Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind, const CXXScopeSpec &SS, TypeSourceInfo *ScopeTypeInfo, SourceLocation CCLoc, SourceLocation TildeLoc, PseudoDestructorTypeStorage Destructed, bool HasTrailingLParen) argument
5475 ActOnPseudoDestructorExpr(Scope *S, Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind, CXXScopeSpec &SS, UnqualifiedId &FirstTypeName, SourceLocation CCLoc, SourceLocation TildeLoc, UnqualifiedId &SecondTypeName, bool HasTrailingLParen) argument
5613 ActOnPseudoDestructorExpr(Scope *S, Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind, SourceLocation TildeLoc, const DeclSpec& DS, bool HasTrailingLParen) argument
[all...]
H A DSemaOverload.cpp6212 SourceLocation OpLoc,
6234 RequireCompleteType(OpLoc, T1, 0);
6239 LookupResult Operators(*this, OpName, OpLoc, LookupOrdinaryName);
7765 SourceLocation OpLoc,
7783 OpLoc,
8921 SourceLocation OpLoc,
8930 S.Diag(OpLoc, diag::note_ovl_builtin_unary_candidate) << TypeStr;
8935 S.Diag(OpLoc, diag::note_ovl_builtin_binary_candidate) << TypeStr;
8939 void NoteAmbiguousUserConversions(Sema &S, SourceLocation OpLoc, argument
8947 ICS.DiagnoseAmbiguousConversion(S, OpLoc,
6211 AddMemberOperatorCandidates(OverloadedOperatorKind Op, SourceLocation OpLoc, ArrayRef<Expr *> Args, OverloadCandidateSet& CandidateSet, SourceRange OpRange) argument
7764 AddBuiltinOperatorCandidates(OverloadedOperatorKind Op, SourceLocation OpLoc, ArrayRef<Expr *> Args, OverloadCandidateSet &CandidateSet) argument
8919 NoteBuiltinOperatorCandidate(Sema &S, StringRef Opc, SourceLocation OpLoc, OverloadCandidate *Cand) argument
9186 NoteCandidates(Sema &S, OverloadCandidateDisplayKind OCD, ArrayRef<Expr *> Args, StringRef Opc, SourceLocation OpLoc) argument
10141 DiagnoseTwoPhaseOperatorLookup(Sema &SemaRef, OverloadedOperatorKind Op, SourceLocation OpLoc, ArrayRef<Expr *> Args) argument
10424 CreateOverloadedUnaryOp(SourceLocation OpLoc, unsigned OpcIn, const UnresolvedSetImpl &Fns, Expr *Input) argument
10617 CreateOverloadedBinOp(SourceLocation OpLoc, unsigned OpcIn, const UnresolvedSetImpl &Fns, Expr *LHS, Expr *RHS) argument
11597 BuildOverloadedArrowExpr(Scope *S, Expr *Base, SourceLocation OpLoc, bool *NoArrowOperatorFound) argument
[all...]
H A DTreeTransform.h1548 ExprResult RebuildUnaryOperator(SourceLocation OpLoc, argument
1551 return getSema().BuildUnaryOp(/*Scope=*/0, OpLoc, Opc, SubExpr);
1573 SourceLocation OpLoc,
1576 return getSema().CreateUnaryExprOrTypeTraitExpr(TInfo, OpLoc, ExprKind, R);
1584 ExprResult RebuildUnaryExprOrTypeTrait(Expr *SubExpr, SourceLocation OpLoc, argument
1588 = getSema().CreateUnaryExprOrTypeTraitExpr(SubExpr, OpLoc, ExprKind);
1624 ExprResult RebuildMemberExpr(Expr *Base, SourceLocation OpLoc, argument
1671 return getSema().BuildMemberReferenceExpr(Base, BaseType, OpLoc, isArrow,
1681 ExprResult RebuildBinaryOperator(SourceLocation OpLoc, argument
1684 return getSema().BuildBinOp(/*Scope=*/0, OpLoc, Op
1572 RebuildUnaryExprOrTypeTrait(TypeSourceInfo *TInfo, SourceLocation OpLoc, UnaryExprOrTypeTrait ExprKind, SourceRange R) argument
1728 RebuildExtVectorElementExpr(Expr *Base, SourceLocation OpLoc, SourceLocation AccessorLoc, IdentifierInfo &Accessor) argument
1878 RebuildCXXNamedCastExpr(SourceLocation OpLoc, Stmt::StmtClass Class, SourceLocation LAngleLoc, TypeSourceInfo *TInfo, SourceLocation RAngleLoc, SourceLocation LParenLoc, Expr *SubExpr, SourceLocation RParenLoc) argument
1917 RebuildCXXStaticCastExpr(SourceLocation OpLoc, SourceLocation LAngleLoc, TypeSourceInfo *TInfo, SourceLocation RAngleLoc, SourceLocation LParenLoc, Expr *SubExpr, SourceLocation RParenLoc) argument
1934 RebuildCXXDynamicCastExpr(SourceLocation OpLoc, SourceLocation LAngleLoc, TypeSourceInfo *TInfo, SourceLocation RAngleLoc, SourceLocation LParenLoc, Expr *SubExpr, SourceLocation RParenLoc) argument
1951 RebuildCXXReinterpretCastExpr(SourceLocation OpLoc, SourceLocation LAngleLoc, TypeSourceInfo *TInfo, SourceLocation RAngleLoc, SourceLocation LParenLoc, Expr *SubExpr, SourceLocation RParenLoc) argument
1968 RebuildCXXConstCastExpr(SourceLocation OpLoc, SourceLocation LAngleLoc, TypeSourceInfo *TInfo, SourceLocation RAngleLoc, SourceLocation LParenLoc, Expr *SubExpr, SourceLocation RParenLoc) argument
2510 RebuildObjCIsaExpr(Expr *BaseArg, SourceLocation IsaLoc, SourceLocation OpLoc, bool IsArrow) argument
9690 RebuildCXXOperatorCallExpr(OverloadedOperatorKind Op, SourceLocation OpLoc, Expr *OrigCallee, Expr *First, Expr *Second) argument
[all...]
H A DSemaCast.cpp215 Sema::ActOnCXXNamedCast(SourceLocation OpLoc, tok::TokenKind Kind, argument
232 return BuildCXXNamedCast(OpLoc, Kind, TInfo, E,
238 Sema::BuildCXXNamedCast(SourceLocation OpLoc, tok::TokenKind Kind, argument
251 Op.OpRange = SourceRange(OpLoc, Parens.getEnd());
265 OpLoc, Parens.getEnd(),
277 OpLoc, Parens.getEnd(),
288 0, DestTInfo, OpLoc,
302 OpLoc, Parens.getEnd(),
H A DSemaTemplateVariadic.cpp796 /// \param OpLoc The location of the "sizeof" keyword.
801 SourceLocation OpLoc,
843 MarkAnyDeclReferenced(OpLoc, ParameterPack, true);
845 return new (Context) SizeOfPackExpr(Context.getSizeType(), OpLoc,
800 ActOnSizeofParameterPackExpr(Scope *S, SourceLocation OpLoc, IdentifierInfo &Name, SourceLocation NameLoc, SourceLocation RParenLoc) argument
H A DSemaAccess.cpp1695 Sema::AccessResult Sema::CheckAllocationAccess(SourceLocation OpLoc, argument
1711 return CheckAccess(*this, OpLoc, Entity);
1731 Sema::AccessResult Sema::CheckMemberOperatorAccess(SourceLocation OpLoc, argument
1748 return CheckAccess(*this, OpLoc, Entity);
H A DSemaExprObjC.cpp1499 Expr *BaseExpr, SourceLocation OpLoc,
1625 return HandleExprPropertyRefExpr(OPT, BaseExpr, OpLoc,
1643 << FixItHint::CreateReplacement(OpLoc, "->");
1689 SourceLocation()/*OpLoc*/,
1498 HandleExprPropertyRefExpr(const ObjCObjectPointerType *OPT, Expr *BaseExpr, SourceLocation OpLoc, DeclarationName MemberName, SourceLocation MemberLoc, SourceLocation SuperLoc, QualType SuperType, bool Super) argument
H A DSemaCodeComplete.cpp3553 SourceLocation OpLoc,
3552 CodeCompleteMemberReferenceExpr(Scope *S, Expr *Base, SourceLocation OpLoc, bool IsArrow) argument
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Lex/
H A DPPExpressions.cpp492 SourceLocation OpLoc = PeekTok.getLocation(); local
553 PP.Diag(OpLoc, diag::warn_pp_convert_lhs_to_positive)
558 PP.Diag(OpLoc, diag::warn_pp_convert_rhs_to_positive)
574 PP.Diag(OpLoc, diag::err_pp_remainder_by_zero)
586 PP.Diag(OpLoc, diag::err_pp_division_by_zero)
676 PP.Diag(OpLoc, diag::ext_pp_comma_expr)
685 PP.Diag(OpLoc, diag::note_matching) << "?";
718 PP.Diag(OpLoc, diag::err_pp_colon_without_question)
725 PP.Diag(OpLoc, diag::warn_pp_expr_overflow)
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DExprObjC.h469 /// OpLoc - This is the location of '.' or '->'
470 SourceLocation OpLoc; member in class:clang::ObjCIvarRefExpr
485 D(d), Base(base), Loc(l), OpLoc(oploc),
512 SourceLocation getOpLoc() const { return OpLoc; }
513 void setOpLoc(SourceLocation L) { OpLoc = L; }
1398 /// OpLoc - This is the location of '.' or '->'
1399 SourceLocation OpLoc;
1410 Base(base), IsaMemberLoc(l), OpLoc(oploc), IsArrow(isarrow) {}
1426 SourceLocation getOpLoc() const { return OpLoc; }
1427 void setOpLoc(SourceLocation L) { OpLoc
[all...]
H A DExpr.h1949 SourceLocation OpLoc, RParenLoc;
1961 OpLoc(op), RParenLoc(rp) {
1976 OpLoc(op), RParenLoc(rp) {
2022 SourceLocation getOperatorLoc() const { return OpLoc; }
2023 void setOperatorLoc(SourceLocation L) { OpLoc = L; }
2028 SourceLocation getLocStart() const LLVM_READONLY { return OpLoc; }
2900 SourceLocation OpLoc; member in class:clang::StringLiteral::OffsetOfExpr::BinaryOperator
2916 Opc(opc), FPContractable(fpContractable), OpLoc(opLoc) {
2927 SourceLocation getExprLoc() const LLVM_READONLY { return OpLoc; }
2928 SourceLocation getOperatorLoc() const { return OpLoc; }
3084 CompoundAssignOperator(Expr *lhs, Expr *rhs, Opcode opc, QualType ResType, ExprValueKind VK, ExprObjectKind OK, QualType CompLHSType, QualType CompResultType, SourceLocation OpLoc, bool fpContractable) argument
[all...]
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DSema.h2177 SourceLocation OpLoc, ArrayRef<Expr *> Args,
2186 SourceLocation OpLoc, ArrayRef<Expr *> Args,
2279 ExprResult CreateOverloadedUnaryOp(SourceLocation OpLoc,
2284 ExprResult CreateOverloadedBinOp(SourceLocation OpLoc,
2304 SourceLocation OpLoc,
3329 ExprResult CreateBuiltinUnaryOp(SourceLocation OpLoc, UnaryOperatorKind Opc,
3331 ExprResult BuildUnaryOp(Scope *S, SourceLocation OpLoc,
3333 ExprResult ActOnUnaryOp(Scope *S, SourceLocation OpLoc,
3336 QualType CheckAddressOfOperand(ExprResult &Operand, SourceLocation OpLoc);
3339 SourceLocation OpLoc,
[all...]
H A DDeclSpec.h981 /// \param OpLoc the location of the 'operator' keyword.
984 void setLiteralOperatorId(const IdentifierInfo *Id, SourceLocation OpLoc, argument
988 StartLocation = OpLoc;
/freebsd-10.3-release/contrib/llvm/tools/clang/lib/Parse/
H A DParseExprCXX.cpp1161 SourceLocation OpLoc = ConsumeToken(); local
1200 Result = Actions.ActOnCXXNamedCast(OpLoc, Kind,
1218 SourceLocation OpLoc = ConsumeToken(); local
1254 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/true,
1268 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/false,
1284 SourceLocation OpLoc = ConsumeToken(); local
1302 Result = Actions.ActOnCXXUuidof(OpLoc, T.getOpenLocation(), /*isType=*/true,
1315 Result = Actions.ActOnCXXUuidof(OpLoc, T.getOpenLocation(),
1339 Parser::ParseCXXPseudoDestructor(ExprArg Base, SourceLocation OpLoc, argument
1379 return Actions.ActOnPseudoDestructorExpr(getCurScope(), Base, OpLoc,
[all...]
H A DParseExpr.cpp1466 SourceLocation OpLoc = ConsumeToken(); // Eat the "." or "->" token. local
1477 Diag(OpLoc, diag::err_function_is_not_record)
1479 << FixItHint::CreateRemoval(OpLoc);
1484 OpLoc, OpKind, ObjectType,
1499 OpLoc, OpKind == tok::arrow); local
1506 LHS = ParseCXXPseudoDestructor(LHS.take(), OpLoc, OpKind, SS,
1540 LHS = Actions.ActOnMemberAccessExpr(getCurScope(), LHS.take(), OpLoc,
H A DParseObjc.cpp2100 SourceLocation OpLoc = ConsumeToken(); local
2120 Lit = Actions.ActOnUnaryOp(getCurScope(), OpLoc, Kind, Lit.take());
/freebsd-10.3-release/contrib/llvm/lib/TableGen/
H A DTGParser.cpp923 SMLoc OpLoc = Lex.getLoc(); local
982 Error(OpLoc, "expected two operands to operator");
/freebsd-10.3-release/contrib/llvm/tools/clang/include/clang/Parse/
H A DParser.h1376 ExprResult ParseCXXPseudoDestructor(ExprArg Base, SourceLocation OpLoc,

Completed in 360 milliseconds