Searched defs:OpLoc (Results 1 - 18 of 18) sorted by relevance

/external/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)
/external/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp796 /// \param OpLoc The location of the "sizeof" keyword.
801 SourceLocation OpLoc,
847 MarkAnyDeclReferenced(OpLoc, ParameterPack, true);
849 return new (Context) SizeOfPackExpr(Context.getSizeType(), OpLoc,
800 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);
1730 Sema::AccessResult Sema::CheckMemberOperatorAccess(SourceLocation OpLoc, argument
1747 return CheckAccess(*this, OpLoc, Entity);
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
249 Op.OpRange = SourceRange(OpLoc, Parens.getEnd());
263 OpLoc, Parens.getEnd(),
275 OpLoc, Parens.getEnd(),
286 0, DestTInfo, OpLoc,
300 OpLoc, Parens.getEnd(),
H A DSemaExprMember.cpp289 SourceLocation OpLoc, const IdentifierInfo *CompName,
344 S.Diag(OpLoc, diag::err_ext_vector_component_name_illegal)
359 S.Diag(OpLoc, diag::err_ext_vector_component_exceeds_length)
448 bool IsArrow, SourceLocation OpLoc,
468 Diag(OpLoc, diag::err_typecheck_member_reference_struct_union)
481 IsArrow, OpLoc,
574 SourceLocation OpLoc, CXXScopeSpec &SS,
578 SemaRef.RequireCompleteType(OpLoc, QualType(RTy, 0),
663 SourceLocation OpLoc, bool IsArrow,
672 IsArrow, OpLoc,
288 CheckExtVectorComponent(Sema &S, QualType baseType, ExprValueKind &VK, SourceLocation OpLoc, const IdentifierInfo *CompName, SourceLocation CompLoc) argument
447 ActOnDependentMemberExpr(Expr *BaseExpr, QualType BaseType, bool IsArrow, SourceLocation OpLoc, const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
572 LookupMemberExprInRecord(Sema &SemaRef, LookupResult &R, SourceRange BaseRange, const RecordType *RTy, SourceLocation OpLoc, CXXScopeSpec &SS, bool HasTemplateArgs) argument
662 BuildMemberReferenceExpr(Expr *Base, QualType BaseType, SourceLocation OpLoc, bool IsArrow, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
870 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
1125 LookupMemberExpr(LookupResult &R, ExprResult &BaseExpr, bool &IsArrow, SourceLocation OpLoc, CXXScopeSpec &SS, Decl *ObjCImpDecl, bool HasTemplateArgs) argument
1552 ActOnMemberAccessExpr(Scope *S, Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, UnqualifiedId &Id, Decl *ObjCImpDecl, bool HasTrailingLParen) argument
[all...]
H A DSemaCodeComplete.cpp3550 SourceLocation OpLoc,
3549 CodeCompleteMemberReferenceExpr(Scope *S, Expr *Base, SourceLocation OpLoc, bool IsArrow) argument
H A DSemaExprCXX.cpp414 Sema::ActOnCXXTypeid(SourceLocation OpLoc, SourceLocation LParenLoc, argument
418 return ExprError(Diag(OpLoc, diag::err_need_header_before_typeid));
432 return ExprError(Diag(OpLoc, diag::err_need_header_before_typeid));
436 return ExprError(Diag(OpLoc, diag::err_no_typeid_with_fno_rtti));
450 TInfo = Context.getTrivialTypeSourceInfo(T, OpLoc);
452 return BuildCXXTypeId(TypeInfoType, OpLoc, TInfo, RParenLoc);
456 return BuildCXXTypeId(TypeInfoType, OpLoc, (Expr*)TyOrExpr, RParenLoc);
493 Sema::ActOnCXXUuidof(SourceLocation OpLoc, SourceLocation LParenLoc, argument
502 return ExprError(Diag(OpLoc, diag::err_need_header_before_ms_uuidof));
516 TInfo = Context.getTrivialTypeSourceInfo(T, OpLoc);
527 ActOnCXXBoolLiteral(SourceLocation OpLoc, tok::TokenKind Kind) argument
542 ActOnCXXThrow(Scope *S, SourceLocation OpLoc, Expr *Ex) argument
578 BuildCXXThrow(SourceLocation OpLoc, Expr *Ex, bool IsThrownVarInScope) argument
5048 ActOnStartCXXMemberReference(Scope *S, Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind, ParsedType &ObjectType, bool &MayBePseudoDestructor) argument
5189 CheckArrow(Sema& S, QualType& ObjectType, Expr *&Base, tok::TokenKind& OpKind, SourceLocation OpLoc) argument
5222 BuildPseudoDestructorExpr(Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind, const CXXScopeSpec &SS, TypeSourceInfo *ScopeTypeInfo, SourceLocation CCLoc, SourceLocation TildeLoc, PseudoDestructorTypeStorage Destructed, bool HasTrailingLParen) argument
5323 ActOnPseudoDestructorExpr(Scope *S, Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind, CXXScopeSpec &SS, UnqualifiedId &FirstTypeName, SourceLocation CCLoc, SourceLocation TildeLoc, UnqualifiedId &SecondTypeName, bool HasTrailingLParen) argument
5461 ActOnPseudoDestructorExpr(Scope *S, Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind, SourceLocation TildeLoc, const DeclSpec& DS, bool HasTrailingLParen) argument
[all...]
H A DSemaExprObjC.cpp1483 Expr *BaseExpr, SourceLocation OpLoc,
1614 return HandleExprPropertyRefExpr(OPT, BaseExpr, OpLoc,
1632 << FixItHint::CreateReplacement(OpLoc, "->");
1678 SourceLocation()/*OpLoc*/,
1482 HandleExprPropertyRefExpr(const ObjCObjectPointerType *OPT, Expr *BaseExpr, SourceLocation OpLoc, DeclarationName MemberName, SourceLocation MemberLoc, SourceLocation SuperLoc, QualType SuperType, bool Super) argument
H A DSemaOverload.cpp6109 SourceLocation OpLoc,
6131 RequireCompleteType(OpLoc, T1, 0);
6136 LookupResult Operators(*this, OpName, OpLoc, LookupOrdinaryName);
7663 SourceLocation OpLoc,
7681 OpLoc,
8814 SourceLocation OpLoc,
8823 S.Diag(OpLoc, diag::note_ovl_builtin_unary_candidate) << TypeStr;
8828 S.Diag(OpLoc, diag::note_ovl_builtin_binary_candidate) << TypeStr;
8832 void NoteAmbiguousUserConversions(Sema &S, SourceLocation OpLoc, argument
8840 ICS.DiagnoseAmbiguousConversion(S, OpLoc,
6108 AddMemberOperatorCandidates(OverloadedOperatorKind Op, SourceLocation OpLoc, ArrayRef<Expr *> Args, OverloadCandidateSet& CandidateSet, SourceRange OpRange) argument
7662 AddBuiltinOperatorCandidates(OverloadedOperatorKind Op, SourceLocation OpLoc, llvm::ArrayRef<Expr *> Args, OverloadCandidateSet& CandidateSet) argument
8812 NoteBuiltinOperatorCandidate(Sema &S, StringRef Opc, SourceLocation OpLoc, OverloadCandidate *Cand) argument
9079 NoteCandidates(Sema &S, OverloadCandidateDisplayKind OCD, ArrayRef<Expr *> Args, StringRef Opc, SourceLocation OpLoc) argument
10021 DiagnoseTwoPhaseOperatorLookup(Sema &SemaRef, OverloadedOperatorKind Op, SourceLocation OpLoc, ArrayRef<Expr *> Args) argument
10304 CreateOverloadedUnaryOp(SourceLocation OpLoc, unsigned OpcIn, const UnresolvedSetImpl &Fns, Expr *Input) argument
10497 CreateOverloadedBinOp(SourceLocation OpLoc, unsigned OpcIn, const UnresolvedSetImpl &Fns, Expr *LHS, Expr *RHS) argument
11483 BuildOverloadedArrowExpr(Scope *S, Expr *Base, SourceLocation OpLoc, bool *NoArrowOperatorFound) argument
[all...]
H A DTreeTransform.h1517 ExprResult RebuildUnaryOperator(SourceLocation OpLoc, argument
1520 return getSema().BuildUnaryOp(/*Scope=*/0, OpLoc, Opc, SubExpr);
1542 SourceLocation OpLoc,
1545 return getSema().CreateUnaryExprOrTypeTraitExpr(TInfo, OpLoc, ExprKind, R);
1553 ExprResult RebuildUnaryExprOrTypeTrait(Expr *SubExpr, SourceLocation OpLoc, argument
1557 = getSema().CreateUnaryExprOrTypeTraitExpr(SubExpr, OpLoc, ExprKind);
1593 ExprResult RebuildMemberExpr(Expr *Base, SourceLocation OpLoc, argument
1640 return getSema().BuildMemberReferenceExpr(Base, BaseType, OpLoc, isArrow,
1650 ExprResult RebuildBinaryOperator(SourceLocation OpLoc, argument
1653 return getSema().BuildBinOp(/*Scope=*/0, OpLoc, Op
1541 RebuildUnaryExprOrTypeTrait(TypeSourceInfo *TInfo, SourceLocation OpLoc, UnaryExprOrTypeTrait ExprKind, SourceRange R) argument
1697 RebuildExtVectorElementExpr(Expr *Base, SourceLocation OpLoc, SourceLocation AccessorLoc, IdentifierInfo &Accessor) argument
1847 RebuildCXXNamedCastExpr(SourceLocation OpLoc, Stmt::StmtClass Class, SourceLocation LAngleLoc, TypeSourceInfo *TInfo, SourceLocation RAngleLoc, SourceLocation LParenLoc, Expr *SubExpr, SourceLocation RParenLoc) argument
1886 RebuildCXXStaticCastExpr(SourceLocation OpLoc, SourceLocation LAngleLoc, TypeSourceInfo *TInfo, SourceLocation RAngleLoc, SourceLocation LParenLoc, Expr *SubExpr, SourceLocation RParenLoc) argument
1903 RebuildCXXDynamicCastExpr(SourceLocation OpLoc, SourceLocation LAngleLoc, TypeSourceInfo *TInfo, SourceLocation RAngleLoc, SourceLocation LParenLoc, Expr *SubExpr, SourceLocation RParenLoc) argument
1920 RebuildCXXReinterpretCastExpr(SourceLocation OpLoc, SourceLocation LAngleLoc, TypeSourceInfo *TInfo, SourceLocation RAngleLoc, SourceLocation LParenLoc, Expr *SubExpr, SourceLocation RParenLoc) argument
1937 RebuildCXXConstCastExpr(SourceLocation OpLoc, SourceLocation LAngleLoc, TypeSourceInfo *TInfo, SourceLocation RAngleLoc, SourceLocation LParenLoc, Expr *SubExpr, SourceLocation RParenLoc) argument
2479 RebuildObjCIsaExpr(Expr *BaseArg, SourceLocation IsaLoc, SourceLocation OpLoc, bool IsArrow) argument
9492 RebuildCXXOperatorCallExpr(OverloadedOperatorKind Op, SourceLocation OpLoc, Expr *OrigCallee, Expr *First, Expr *Second) argument
[all...]
H A DSemaExpr.cpp3308 SourceLocation OpLoc,
3322 return CheckVecStepTraitOperandType(*this, ExprType, OpLoc, ExprRange);
3325 if (!CheckExtensionTraitOperandType(*this, ExprType, OpLoc, ExprRange,
3329 if (RequireCompleteType(OpLoc, ExprType,
3334 if (CheckObjCTraitOperandConstraints(*this, ExprType, OpLoc, ExprRange,
3422 SourceLocation OpLoc,
3431 CheckUnaryExprOrTypeTraitOperand(T, OpLoc, R, ExprKind))
3437 OpLoc, R.getEnd()));
3443 Sema::CreateUnaryExprOrTypeTraitExpr(Expr *E, SourceLocation OpLoc, argument
3477 ExprKind, E, Context.getSizeType(), OpLoc,
3307 CheckUnaryExprOrTypeTraitOperand(QualType ExprType, SourceLocation OpLoc, SourceRange ExprRange, UnaryExprOrTypeTrait ExprKind) argument
3421 CreateUnaryExprOrTypeTraitExpr(TypeSourceInfo *TInfo, SourceLocation OpLoc, UnaryExprOrTypeTrait ExprKind, SourceRange R) argument
3485 ActOnUnaryExprOrTypeTraitExpr(SourceLocation OpLoc, UnaryExprOrTypeTrait ExprKind, bool IsType, void *TyOrEx, const SourceRange &ArgRange) argument
3539 ActOnPostfixUnaryOp(Scope *S, SourceLocation OpLoc, tok::TokenKind Kind, Expr *Input) argument
5775 DiagnoseConditionalPrecedence(Sema &Self, SourceLocation OpLoc, Expr *Condition, Expr *LHSExpr, Expr *RHSExpr) argument
6857 diagnoseStringPlusInt(Sema &Self, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
8356 CheckIncrementDecrementOperand(Sema &S, Expr *Op, ExprValueKind &VK, SourceLocation OpLoc, bool IsInc, bool IsPrefix) argument
8506 CheckAddressOfOperand(ExprResult &OrigOp, SourceLocation OpLoc) argument
8684 CheckIndirectionOperand(Sema &S, Expr *Op, ExprValueKind &VK, SourceLocation OpLoc) argument
8798 DiagnoseSelfAssignment(Sema &S, Expr *LHSExpr, Expr *RHSExpr, SourceLocation OpLoc) argument
8831 checkObjCPointerIntrospection(Sema &S, ExprResult &L, ExprResult &R, SourceLocation OpLoc) argument
8875 CreateBuiltinBinOp(SourceLocation OpLoc, BinaryOperatorKind Opc, Expr *LHSExpr, Expr *RHSExpr) argument
9049 DiagnoseBitwisePrecedence(Sema &Self, BinaryOperatorKind Opc, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
9091 EmitDiagnosticForBitwiseAndInBitwiseOr(Sema &Self, SourceLocation OpLoc, BinaryOperator *Bop) argument
9106 EmitDiagnosticForLogicalAndInLogicalOr(Sema &Self, SourceLocation OpLoc, BinaryOperator *Bop) argument
9132 DiagnoseLogicalAndInLogicalOrLHS(Sema &S, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
9154 DiagnoseLogicalAndInLogicalOrRHS(Sema &S, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
9169 DiagnoseBitwiseAndInBitwiseOr(Sema &S, SourceLocation OpLoc, Expr *OrArg) argument
9177 DiagnoseAdditionInShift(Sema &S, SourceLocation OpLoc, Expr *SubExpr, StringRef Shift) argument
9191 DiagnoseShiftCompare(Sema &S, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
9220 DiagnoseBinOpPrecedence(Sema &Self, BinaryOperatorKind Opc, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
9268 BuildOverloadedBinOp(Sema &S, Scope *Sc, SourceLocation OpLoc, BinaryOperatorKind Opc, Expr *LHS, Expr *RHS) argument
9287 BuildBinOp(Scope *S, SourceLocation OpLoc, BinaryOperatorKind Opc, Expr *LHSExpr, Expr *RHSExpr) argument
9365 CreateBuiltinUnaryOp(SourceLocation OpLoc, UnaryOperatorKind Opc, Expr *InputExpr) argument
9571 BuildUnaryOp(Scope *S, SourceLocation OpLoc, UnaryOperatorKind Opc, Expr *Input) argument
9619 ActOnUnaryOp(Scope *S, SourceLocation OpLoc, tok::TokenKind Op, Expr *Input) argument
9625 ActOnAddrLabel(SourceLocation OpLoc, SourceLocation LabLoc, LabelDecl *TheDecl) argument
12768 ActOnObjCBoolLiteral(SourceLocation OpLoc, tok::TokenKind Kind) argument
[all...]
/external/clang/lib/Parse/
H A DParseExpr.cpp1454 SourceLocation OpLoc = ConsumeToken(); // Eat the "." or "->" token. local
1466 Diag(OpLoc, diag::err_function_is_not_record)
1468 << FixItHint::CreateRemoval(OpLoc);
1473 OpLoc, OpKind, ObjectType,
1488 OpLoc, OpKind == tok::arrow); local
1495 LHS = ParseCXXPseudoDestructor(LHS.take(), OpLoc, OpKind, SS,
1529 LHS = Actions.ActOnMemberAccessExpr(getCurScope(), LHS.take(), OpLoc,
H A DParseExprCXX.cpp1097 SourceLocation OpLoc = ConsumeToken(); local
1136 Result = Actions.ActOnCXXNamedCast(OpLoc, Kind,
1154 SourceLocation OpLoc = ConsumeToken(); local
1190 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/true,
1204 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/false,
1220 SourceLocation OpLoc = ConsumeToken(); local
1238 Result = Actions.ActOnCXXUuidof(OpLoc, T.getOpenLocation(), /*isType=*/true,
1251 Result = Actions.ActOnCXXUuidof(OpLoc, T.getOpenLocation(),
1275 Parser::ParseCXXPseudoDestructor(ExprArg Base, SourceLocation OpLoc, argument
1315 return Actions.ActOnPseudoDestructorExpr(getCurScope(), Base, OpLoc,
[all...]
H A DParseObjc.cpp2097 SourceLocation OpLoc = ConsumeToken(); local
2117 Lit = Actions.ActOnUnaryOp(getCurScope(), OpLoc, Kind, Lit.take());
/external/clang/include/clang/AST/
H A DExprObjC.h468 /// OpLoc - This is the location of '.' or '->'
469 SourceLocation OpLoc; member in class:clang::ObjCIvarRefExpr
484 D(d), Base(base), Loc(l), OpLoc(oploc),
511 SourceLocation getOpLoc() const { return OpLoc; }
512 void setOpLoc(SourceLocation L) { OpLoc = L; }
1397 /// OpLoc - This is the location of '.' or '->'
1398 SourceLocation OpLoc;
1409 Base(base), IsaMemberLoc(l), OpLoc(oploc), IsArrow(isarrow) {}
1425 SourceLocation getOpLoc() const { return OpLoc; }
1426 void setOpLoc(SourceLocation L) { OpLoc
[all...]
H A DExpr.h1946 SourceLocation OpLoc, RParenLoc;
1958 OpLoc(op), RParenLoc(rp) {
1973 OpLoc(op), RParenLoc(rp) {
2019 SourceLocation getOperatorLoc() const { return OpLoc; }
2020 void setOperatorLoc(SourceLocation L) { OpLoc = L; }
2025 SourceLocation getLocStart() const LLVM_READONLY { return OpLoc; }
2894 SourceLocation OpLoc; member in class:clang::StringLiteral::OffsetOfExpr::BinaryOperator
2910 Opc(opc), FPContractable(fpContractable), OpLoc(opLoc) {
2921 SourceLocation getExprLoc() const LLVM_READONLY { return OpLoc; }
2922 SourceLocation getOperatorLoc() const { return OpLoc; }
3078 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/Sema/
H A DDeclSpec.h958 /// \param OpLoc the location of the 'operator' keyword.
961 void setLiteralOperatorId(const IdentifierInfo *Id, SourceLocation OpLoc, argument
965 StartLocation = OpLoc;

Completed in 620 milliseconds