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

/external/clang/lib/Sema/
H A DSemaExprMember.cpp279 SourceLocation OpLoc, const IdentifierInfo *CompName,
334 S.Diag(OpLoc, diag::err_ext_vector_component_name_illegal)
349 S.Diag(OpLoc, diag::err_ext_vector_component_exceeds_length)
438 bool IsArrow, SourceLocation OpLoc,
458 Diag(OpLoc, diag::err_typecheck_member_reference_struct_union)
471 IsArrow, OpLoc,
565 SourceLocation OpLoc, CXXScopeSpec &SS,
569 SemaRef.RequireCompleteType(OpLoc, QualType(RTy, 0),
637 SourceLocation OpLoc, bool IsArrow,
646 IsArrow, OpLoc,
278 CheckExtVectorComponent(Sema &S, QualType baseType, ExprValueKind &VK, SourceLocation OpLoc, const IdentifierInfo *CompName, SourceLocation CompLoc) argument
437 ActOnDependentMemberExpr(Expr *BaseExpr, QualType BaseType, bool IsArrow, SourceLocation OpLoc, const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
563 LookupMemberExprInRecord(Sema &SemaRef, LookupResult &R, SourceRange BaseRange, const RecordType *RTy, SourceLocation OpLoc, CXXScopeSpec &SS, bool HasTemplateArgs) argument
636 BuildMemberReferenceExpr(Expr *Base, QualType BaseType, SourceLocation OpLoc, bool IsArrow, CXXScopeSpec &SS, SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &NameInfo, const TemplateArgumentListInfo *TemplateArgs) argument
829 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
1079 LookupMemberExpr(LookupResult &R, ExprResult &BaseExpr, bool &IsArrow, SourceLocation OpLoc, CXXScopeSpec &SS, Decl *ObjCImpDecl, bool HasTemplateArgs) argument
1506 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.cpp3009 SourceLocation OpLoc,
3023 return CheckVecStepTraitOperandType(*this, ExprType, OpLoc, ExprRange);
3026 if (!CheckExtensionTraitOperandType(*this, ExprType, OpLoc, ExprRange,
3030 if (RequireCompleteType(OpLoc, ExprType,
3035 if (CheckObjCTraitOperandConstraints(*this, ExprType, OpLoc, ExprRange,
3081 SourceLocation OpLoc,
3090 CheckUnaryExprOrTypeTraitOperand(T, OpLoc, R, ExprKind))
3096 OpLoc, R.getEnd()));
3102 Sema::CreateUnaryExprOrTypeTraitExpr(Expr *E, SourceLocation OpLoc, argument
3136 ExprKind, E, Context.getSizeType(), OpLoc,
3008 CheckUnaryExprOrTypeTraitOperand(QualType ExprType, SourceLocation OpLoc, SourceRange ExprRange, UnaryExprOrTypeTrait ExprKind) argument
3080 CreateUnaryExprOrTypeTraitExpr(TypeSourceInfo *TInfo, SourceLocation OpLoc, UnaryExprOrTypeTrait ExprKind, SourceRange R) argument
3144 ActOnUnaryExprOrTypeTraitExpr(SourceLocation OpLoc, UnaryExprOrTypeTrait ExprKind, bool IsType, void *TyOrEx, const SourceRange &ArgRange) argument
3198 ActOnPostfixUnaryOp(Scope *S, SourceLocation OpLoc, tok::TokenKind Kind, Expr *Input) argument
5242 DiagnoseConditionalPrecedence(Sema &Self, SourceLocation OpLoc, Expr *Condition, Expr *LHSExpr, Expr *RHSExpr) argument
6302 diagnoseStringPlusInt(Sema &Self, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
7759 CheckIncrementDecrementOperand(Sema &S, Expr *Op, ExprValueKind &VK, SourceLocation OpLoc, bool IsInc, bool IsPrefix) argument
7909 CheckAddressOfOperand(Sema &S, ExprResult &OrigOp, SourceLocation OpLoc) argument
8068 CheckIndirectionOperand(Sema &S, Expr *Op, ExprValueKind &VK, SourceLocation OpLoc) argument
8182 DiagnoseSelfAssignment(Sema &S, Expr *LHSExpr, Expr *RHSExpr, SourceLocation OpLoc) argument
8216 CreateBuiltinBinOp(SourceLocation OpLoc, BinaryOperatorKind Opc, Expr *LHSExpr, Expr *RHSExpr) argument
8369 DiagnoseBitwisePrecedence(Sema &Self, BinaryOperatorKind Opc, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
8419 EmitDiagnosticForBitwiseAndInBitwiseOr(Sema &Self, SourceLocation OpLoc, BinaryOperator *Bop) argument
8433 EmitDiagnosticForLogicalAndInLogicalOr(Sema &Self, SourceLocation OpLoc, BinaryOperator *Bop) argument
8458 DiagnoseLogicalAndInLogicalOrLHS(Sema &S, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
8480 DiagnoseLogicalAndInLogicalOrRHS(Sema &S, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
8495 DiagnoseBitwiseAndInBitwiseOr(Sema &S, SourceLocation OpLoc, Expr *OrArg) argument
8505 DiagnoseBinOpPrecedence(Sema &Self, BinaryOperatorKind Opc, SourceLocation OpLoc, Expr *LHSExpr, Expr *RHSExpr) argument
8541 BuildOverloadedBinOp(Sema &S, Scope *Sc, SourceLocation OpLoc, BinaryOperatorKind Opc, Expr *LHS, Expr *RHS) argument
8560 BuildBinOp(Scope *S, SourceLocation OpLoc, BinaryOperatorKind Opc, Expr *LHSExpr, Expr *RHSExpr) argument
8638 CreateBuiltinUnaryOp(SourceLocation OpLoc, UnaryOperatorKind Opc, Expr *InputExpr) argument
8817 BuildUnaryOp(Scope *S, SourceLocation OpLoc, UnaryOperatorKind Opc, Expr *Input) argument
8865 ActOnUnaryOp(Scope *S, SourceLocation OpLoc, tok::TokenKind Op, Expr *Input) argument
8871 ActOnAddrLabel(SourceLocation OpLoc, SourceLocation LabLoc, LabelDecl *TheDecl) argument
11799 ActOnObjCBoolLiteral(SourceLocation OpLoc, tok::TokenKind Kind) argument
[all...]
H A DSemaOverload.cpp5905 SourceLocation OpLoc,
5927 if (RequireCompleteType(OpLoc, T1, 0))
5930 LookupResult Operators(*this, OpName, OpLoc, LookupOrdinaryName);
7462 SourceLocation OpLoc,
7480 OpLoc,
8519 SourceLocation OpLoc,
8528 S.Diag(OpLoc, diag::note_ovl_builtin_unary_candidate) << TypeStr;
8533 S.Diag(OpLoc, diag::note_ovl_builtin_binary_candidate) << TypeStr;
8537 void NoteAmbiguousUserConversions(Sema &S, SourceLocation OpLoc, argument
8545 ICS.DiagnoseAmbiguousConversion(S, OpLoc,
5904 AddMemberOperatorCandidates(OverloadedOperatorKind Op, SourceLocation OpLoc, Expr **Args, unsigned NumArgs, OverloadCandidateSet& CandidateSet, SourceRange OpRange) argument
7461 AddBuiltinOperatorCandidates(OverloadedOperatorKind Op, SourceLocation OpLoc, Expr **Args, unsigned NumArgs, OverloadCandidateSet& CandidateSet) argument
8517 NoteBuiltinOperatorCandidate(Sema &S, const char *Opc, SourceLocation OpLoc, OverloadCandidate *Cand) argument
8783 NoteCandidates(Sema &S, OverloadCandidateDisplayKind OCD, llvm::ArrayRef<Expr *> Args, const char *Opc, SourceLocation OpLoc) argument
9564 DiagnoseTwoPhaseOperatorLookup(Sema &SemaRef, OverloadedOperatorKind Op, SourceLocation OpLoc, llvm::ArrayRef<Expr *> Args) argument
9893 CreateOverloadedUnaryOp(SourceLocation OpLoc, unsigned OpcIn, const UnresolvedSetImpl &Fns, Expr *Input) argument
10095 CreateOverloadedBinOp(SourceLocation OpLoc, unsigned OpcIn, const UnresolvedSetImpl &Fns, Expr *LHS, Expr *RHS) argument
11072 BuildOverloadedArrowExpr(Scope *S, Expr *Base, SourceLocation OpLoc) argument
[all...]
H A DSemaExprCXX.cpp368 Sema::ActOnCXXTypeid(SourceLocation OpLoc, SourceLocation LParenLoc, argument
372 return ExprError(Diag(OpLoc, diag::err_need_header_before_typeid));
386 return ExprError(Diag(OpLoc, diag::err_need_header_before_typeid));
390 return ExprError(Diag(OpLoc, diag::err_no_typeid_with_fno_rtti));
404 TInfo = Context.getTrivialTypeSourceInfo(T, OpLoc);
406 return BuildCXXTypeId(TypeInfoType, OpLoc, TInfo, RParenLoc);
410 return BuildCXXTypeId(TypeInfoType, OpLoc, (Expr*)TyOrExpr, RParenLoc);
467 Sema::ActOnCXXUuidof(SourceLocation OpLoc, SourceLocation LParenLoc, argument
476 return ExprError(Diag(OpLoc, diag::err_need_header_before_ms_uuidof));
490 TInfo = Context.getTrivialTypeSourceInfo(T, OpLoc);
501 ActOnCXXBoolLiteral(SourceLocation OpLoc, tok::TokenKind Kind) argument
516 ActOnCXXThrow(Scope *S, SourceLocation OpLoc, Expr *Ex) argument
552 BuildCXXThrow(SourceLocation OpLoc, Expr *Ex, bool IsThrownVarInScope) argument
4896 ActOnStartCXXMemberReference(Scope *S, Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind, ParsedType &ObjectType, bool &MayBePseudoDestructor) argument
5007 CheckArrow(Sema& S, QualType& ObjectType, Expr *&Base, tok::TokenKind& OpKind, SourceLocation OpLoc) argument
5040 BuildPseudoDestructorExpr(Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind, const CXXScopeSpec &SS, TypeSourceInfo *ScopeTypeInfo, SourceLocation CCLoc, SourceLocation TildeLoc, PseudoDestructorTypeStorage Destructed, bool HasTrailingLParen) argument
5141 ActOnPseudoDestructorExpr(Scope *S, Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind, CXXScopeSpec &SS, UnqualifiedId &FirstTypeName, SourceLocation CCLoc, SourceLocation TildeLoc, UnqualifiedId &SecondTypeName, bool HasTrailingLParen) argument
5279 ActOnPseudoDestructorExpr(Scope *S, Expr *Base, SourceLocation OpLoc, tok::TokenKind OpKind, SourceLocation TildeLoc, const DeclSpec& DS, bool HasTrailingLParen) 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()));
272 OpLoc, Parens.getEnd()));
282 0, DestTInfo, OpLoc,
295 OpLoc, Parens.getEnd()));
H A DTreeTransform.h1428 ExprResult RebuildUnaryOperator(SourceLocation OpLoc, argument
1431 return getSema().BuildUnaryOp(/*Scope=*/0, OpLoc, Opc, SubExpr);
1453 SourceLocation OpLoc,
1456 return getSema().CreateUnaryExprOrTypeTraitExpr(TInfo, OpLoc, ExprKind, R);
1464 ExprResult RebuildUnaryExprOrTypeTrait(Expr *SubExpr, SourceLocation OpLoc, argument
1468 = getSema().CreateUnaryExprOrTypeTraitExpr(SubExpr, OpLoc, ExprKind);
1504 ExprResult RebuildMemberExpr(Expr *Base, SourceLocation OpLoc, argument
1551 return getSema().BuildMemberReferenceExpr(Base, BaseType, OpLoc, isArrow,
1561 ExprResult RebuildBinaryOperator(SourceLocation OpLoc, argument
1564 return getSema().BuildBinOp(/*Scope=*/0, OpLoc, Op
1452 RebuildUnaryExprOrTypeTrait(TypeSourceInfo *TInfo, SourceLocation OpLoc, UnaryExprOrTypeTrait ExprKind, SourceRange R) argument
1608 RebuildExtVectorElementExpr(Expr *Base, SourceLocation OpLoc, SourceLocation AccessorLoc, IdentifierInfo &Accessor) argument
1760 RebuildCXXNamedCastExpr(SourceLocation OpLoc, Stmt::StmtClass Class, SourceLocation LAngleLoc, TypeSourceInfo *TInfo, SourceLocation RAngleLoc, SourceLocation LParenLoc, Expr *SubExpr, SourceLocation RParenLoc) argument
1799 RebuildCXXStaticCastExpr(SourceLocation OpLoc, SourceLocation LAngleLoc, TypeSourceInfo *TInfo, SourceLocation RAngleLoc, SourceLocation LParenLoc, Expr *SubExpr, SourceLocation RParenLoc) argument
1816 RebuildCXXDynamicCastExpr(SourceLocation OpLoc, SourceLocation LAngleLoc, TypeSourceInfo *TInfo, SourceLocation RAngleLoc, SourceLocation LParenLoc, Expr *SubExpr, SourceLocation RParenLoc) argument
1833 RebuildCXXReinterpretCastExpr(SourceLocation OpLoc, SourceLocation LAngleLoc, TypeSourceInfo *TInfo, SourceLocation RAngleLoc, SourceLocation LParenLoc, Expr *SubExpr, SourceLocation RParenLoc) argument
1850 RebuildCXXConstCastExpr(SourceLocation OpLoc, SourceLocation LAngleLoc, TypeSourceInfo *TInfo, SourceLocation RAngleLoc, SourceLocation LParenLoc, Expr *SubExpr, SourceLocation RParenLoc) argument
9125 RebuildCXXOperatorCallExpr(OverloadedOperatorKind Op, SourceLocation OpLoc, Expr *OrigCallee, Expr *First, Expr *Second) argument
[all...]
H A DSemaTemplateVariadic.cpp789 /// \param OpLoc The location of the "sizeof" keyword.
794 SourceLocation OpLoc,
840 MarkAnyDeclReferenced(OpLoc, ParameterPack);
842 return new (Context) SizeOfPackExpr(Context.getSizeType(), OpLoc,
793 ActOnSizeofParameterPackExpr(Scope *S, SourceLocation OpLoc, IdentifierInfo &Name, SourceLocation NameLoc, SourceLocation RParenLoc) argument
H A DSemaAccess.cpp1641 Sema::AccessResult Sema::CheckAllocationAccess(SourceLocation OpLoc, argument
1657 return CheckAccess(*this, OpLoc, Entity);
1662 Sema::AccessResult Sema::CheckMemberOperatorAccess(SourceLocation OpLoc, argument
1679 return CheckAccess(*this, OpLoc, Entity);
H A DSemaExprObjC.cpp1365 Expr *BaseExpr, SourceLocation OpLoc,
1496 return HandleExprPropertyRefExpr(OPT, BaseExpr, OpLoc,
1514 << FixItHint::CreateReplacement(OpLoc, "->");
1553 SourceLocation()/*OpLoc*/,
1364 HandleExprPropertyRefExpr(const ObjCObjectPointerType *OPT, Expr *BaseExpr, SourceLocation OpLoc, DeclarationName MemberName, SourceLocation MemberLoc, SourceLocation SuperLoc, QualType SuperType, bool Super) argument
H A DSemaCodeComplete.cpp3465 SourceLocation OpLoc,
3464 CodeCompleteMemberReferenceExpr(Scope *S, Expr *Base, SourceLocation OpLoc, bool IsArrow) argument
/external/clang/lib/Lex/
H A DPPExpressions.cpp474 SourceLocation OpLoc = PeekTok.getLocation(); local
535 PP.Diag(OpLoc, diag::warn_pp_convert_lhs_to_positive)
540 PP.Diag(OpLoc, diag::warn_pp_convert_rhs_to_positive)
556 PP.Diag(OpLoc, diag::err_pp_remainder_by_zero)
568 PP.Diag(OpLoc, diag::err_pp_division_by_zero)
658 PP.Diag(OpLoc, diag::ext_pp_comma_expr)
667 PP.Diag(OpLoc, diag::note_matching) << "?";
700 PP.Diag(OpLoc, diag::err_pp_colon_without_question)
707 PP.Diag(OpLoc, diag::warn_pp_expr_overflow)
/external/clang/include/clang/Sema/
H A DSema.h1859 SourceLocation OpLoc,
1869 SourceLocation OpLoc,
1965 ExprResult CreateOverloadedUnaryOp(SourceLocation OpLoc,
1970 ExprResult CreateOverloadedBinOp(SourceLocation OpLoc,
1989 SourceLocation OpLoc);
2901 ExprResult CreateBuiltinUnaryOp(SourceLocation OpLoc, UnaryOperatorKind Opc,
2903 ExprResult BuildUnaryOp(Scope *S, SourceLocation OpLoc,
2905 ExprResult ActOnUnaryOp(Scope *S, SourceLocation OpLoc,
2909 SourceLocation OpLoc,
2912 ExprResult CreateUnaryExprOrTypeTraitExpr(Expr *E, SourceLocation OpLoc,
[all...]
H A DDeclSpec.h937 /// \param OpLoc the location of the 'operator' keyword.
940 void setLiteralOperatorId(const IdentifierInfo *Id, SourceLocation OpLoc, argument
944 StartLocation = OpLoc;
/external/clang/lib/Parse/
H A DParseExprCXX.cpp923 SourceLocation OpLoc = ConsumeToken(); local
962 Result = Actions.ActOnCXXNamedCast(OpLoc, Kind,
980 SourceLocation OpLoc = ConsumeToken(); local
1015 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/true,
1029 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/false,
1045 SourceLocation OpLoc = ConsumeToken(); local
1063 Result = Actions.ActOnCXXUuidof(OpLoc, T.getOpenLocation(), /*isType=*/true,
1076 Result = Actions.ActOnCXXUuidof(OpLoc, T.getOpenLocation(),
1100 Parser::ParseCXXPseudoDestructor(ExprArg Base, SourceLocation OpLoc, argument
1140 return Actions.ActOnPseudoDestructorExpr(getCurScope(), Base, OpLoc,
[all...]
H A DParseExpr.cpp1478 SourceLocation OpLoc = ConsumeToken(); // Eat the "." or "->" token. local
1485 OpLoc, OpKind, ObjectType,
1500 OpLoc, OpKind == tok::arrow); local
1507 LHS = ParseCXXPseudoDestructor(LHS.take(), OpLoc, OpKind, SS,
1541 LHS = Actions.ActOnMemberAccessExpr(getCurScope(), LHS.take(), OpLoc,
H A DParseObjc.cpp2048 SourceLocation OpLoc = ConsumeToken(); local
2068 Lit = Actions.ActOnUnaryOp(getCurScope(), OpLoc, Kind, Lit.take());
/external/clang/include/clang/AST/
H A DExpr.h1852 SourceLocation OpLoc, RParenLoc;
1864 OpLoc(op), RParenLoc(rp) {
1879 OpLoc(op), RParenLoc(rp) {
1925 SourceLocation getOperatorLoc() const { return OpLoc; }
1926 void setOperatorLoc(SourceLocation L) { OpLoc = L; }
1932 return SourceRange(OpLoc, RParenLoc);
2785 SourceLocation OpLoc; member in class:clang::StringLiteral::OffsetOfExpr::BinaryOperator
2801 Opc(opc), OpLoc(opLoc) {
2812 SourceLocation getExprLoc() const LLVM_READONLY { return OpLoc; }
2813 SourceLocation getOperatorLoc() const { return OpLoc; }
2932 CompoundAssignOperator(Expr *lhs, Expr *rhs, Opcode opc, QualType ResType, ExprValueKind VK, ExprObjectKind OK, QualType CompLHSType, QualType CompResultType, SourceLocation OpLoc) argument
[all...]
/external/llvm/lib/TableGen/
H A DTGParser.cpp929 SMLoc OpLoc = Lex.getLoc(); local
987 Error(OpLoc, "expected two operands to operator");
/external/clang/include/clang/Parse/
H A DParser.h1309 ExprResult ParseCXXPseudoDestructor(ExprArg Base, SourceLocation OpLoc,

Completed in 292 milliseconds