Home
last modified time | relevance | path

Searched refs:OpLoc (Results 1 – 24 of 24) sorted by relevance

/external/clang/lib/Sema/
DSemaExprMember.cpp291 SourceLocation OpLoc, const IdentifierInfo *CompName, in CheckExtVectorComponent() argument
344 S.Diag(OpLoc, diag::err_ext_vector_component_name_illegal) in CheckExtVectorComponent()
359 S.Diag(OpLoc, diag::err_ext_vector_component_exceeds_length) in CheckExtVectorComponent()
444 bool IsArrow, SourceLocation OpLoc, in ActOnDependentMemberExpr() argument
464 Diag(OpLoc, diag::err_typecheck_member_reference_struct_union) in ActOnDependentMemberExpr()
477 Context, BaseExpr, BaseType, IsArrow, OpLoc, in ActOnDependentMemberExpr()
603 SourceLocation OpLoc, bool IsArrow, in LookupMemberExprInRecord() argument
609 SemaRef.RequireCompleteType(OpLoc, QualType(RTy, 0), in LookupMemberExprInRecord()
688 BaseExpr, BaseExpr->getType(), OpLoc, IsArrow, SS, SourceLocation(), in LookupMemberExprInRecord()
698 SourceLocation OpLoc, CXXScopeSpec &SS,
[all …]
DSemaExpr.cpp3636 SourceLocation OpLoc, in CheckUnaryExprOrTypeTraitOperand() argument
3658 return CheckVecStepTraitOperandType(*this, ExprType, OpLoc, ExprRange); in CheckUnaryExprOrTypeTraitOperand()
3661 if (!CheckExtensionTraitOperandType(*this, ExprType, OpLoc, ExprRange, in CheckUnaryExprOrTypeTraitOperand()
3665 if (RequireCompleteType(OpLoc, ExprType, in CheckUnaryExprOrTypeTraitOperand()
3671 Diag(OpLoc, diag::err_sizeof_alignof_function_type) in CheckUnaryExprOrTypeTraitOperand()
3676 if (CheckObjCTraitOperandConstraints(*this, ExprType, OpLoc, ExprRange, in CheckUnaryExprOrTypeTraitOperand()
3753 SourceLocation OpLoc, in CreateUnaryExprOrTypeTraitExpr() argument
3762 CheckUnaryExprOrTypeTraitOperand(T, OpLoc, R, ExprKind)) in CreateUnaryExprOrTypeTraitExpr()
3767 ExprKind, TInfo, Context.getSizeType(), OpLoc, R.getEnd()); in CreateUnaryExprOrTypeTraitExpr()
3773 Sema::CreateUnaryExprOrTypeTraitExpr(Expr *E, SourceLocation OpLoc, in CreateUnaryExprOrTypeTraitExpr() argument
[all …]
DSemaExprCXX.cpp466 Sema::ActOnCXXTypeid(SourceLocation OpLoc, SourceLocation LParenLoc, in ActOnCXXTypeid() argument
470 return ExprError(Diag(OpLoc, diag::err_need_header_before_typeid)); in ActOnCXXTypeid()
484 return ExprError(Diag(OpLoc, diag::err_need_header_before_typeid)); in ActOnCXXTypeid()
488 return ExprError(Diag(OpLoc, diag::err_no_typeid_with_fno_rtti)); in ActOnCXXTypeid()
502 TInfo = Context.getTrivialTypeSourceInfo(T, OpLoc); in ActOnCXXTypeid()
504 return BuildCXXTypeId(TypeInfoType, OpLoc, TInfo, RParenLoc); in ActOnCXXTypeid()
508 return BuildCXXTypeId(TypeInfoType, OpLoc, (Expr*)TyOrExpr, RParenLoc); in ActOnCXXTypeid()
553 Sema::ActOnCXXUuidof(SourceLocation OpLoc, SourceLocation LParenLoc, in ActOnCXXUuidof() argument
562 return ExprError(Diag(OpLoc, diag::err_need_header_before_ms_uuidof)); in ActOnCXXUuidof()
576 TInfo = Context.getTrivialTypeSourceInfo(T, OpLoc); in ActOnCXXUuidof()
[all …]
DSemaOverload.cpp6663 SourceLocation OpLoc, in AddMemberOperatorCandidates() argument
6685 if (!isCompleteType(OpLoc, T1) && !T1Rec->isBeingDefined()) in AddMemberOperatorCandidates()
6691 LookupResult Operators(*this, OpName, OpLoc, LookupOrdinaryName); in AddMemberOperatorCandidates()
8206 SourceLocation OpLoc, in AddBuiltinOperatorCandidates() argument
8224 OpLoc, in AddBuiltinOperatorCandidates()
9636 SourceLocation OpLoc, in NoteBuiltinOperatorCandidate() argument
9645 S.Diag(OpLoc, diag::note_ovl_builtin_unary_candidate) << TypeStr; in NoteBuiltinOperatorCandidate()
9650 S.Diag(OpLoc, diag::note_ovl_builtin_binary_candidate) << TypeStr; in NoteBuiltinOperatorCandidate()
9654 static void NoteAmbiguousUserConversions(Sema &S, SourceLocation OpLoc, in NoteAmbiguousUserConversions() argument
9662 ICS.DiagnoseAmbiguousConversion(S, OpLoc, in NoteAmbiguousUserConversions()
[all …]
DSemaCast.cpp213 Sema::ActOnCXXNamedCast(SourceLocation OpLoc, tok::TokenKind Kind, in ActOnCXXNamedCast() argument
230 return BuildCXXNamedCast(OpLoc, Kind, TInfo, E, in ActOnCXXNamedCast()
236 Sema::BuildCXXNamedCast(SourceLocation OpLoc, tok::TokenKind Kind, in BuildCXXNamedCast() argument
247 Op.OpRange = SourceRange(OpLoc, Parens.getEnd()); in BuildCXXNamedCast()
261 OpLoc, Parens.getEnd(), in BuildCXXNamedCast()
273 OpLoc, Parens.getEnd(), in BuildCXXNamedCast()
284 nullptr, DestTInfo, OpLoc, in BuildCXXNamedCast()
298 OpLoc, Parens.getEnd(), in BuildCXXNamedCast()
DTreeTransform.h1948 ExprResult RebuildUnaryOperator(SourceLocation OpLoc, in RebuildUnaryOperator() argument
1951 return getSema().BuildUnaryOp(/*Scope=*/nullptr, OpLoc, Opc, SubExpr); in RebuildUnaryOperator()
1972 SourceLocation OpLoc, in RebuildUnaryExprOrTypeTrait() argument
1975 return getSema().CreateUnaryExprOrTypeTraitExpr(TInfo, OpLoc, ExprKind, R); in RebuildUnaryExprOrTypeTrait()
1983 ExprResult RebuildUnaryExprOrTypeTrait(Expr *SubExpr, SourceLocation OpLoc, in RebuildUnaryExprOrTypeTrait() argument
1987 = getSema().CreateUnaryExprOrTypeTraitExpr(SubExpr, OpLoc, ExprKind); in RebuildUnaryExprOrTypeTrait()
2035 ExprResult RebuildMemberExpr(Expr *Base, SourceLocation OpLoc, in RebuildMemberExpr() argument
2063 MemberExpr(Base, isArrow, OpLoc, Member, MemberNameInfo, in RebuildMemberExpr()
2080 return getSema().BuildMemberReferenceExpr(Base, BaseType, OpLoc, isArrow, in RebuildMemberExpr()
2091 ExprResult RebuildBinaryOperator(SourceLocation OpLoc, in RebuildBinaryOperator() argument
[all …]
DSemaTemplateVariadic.cpp827 SourceLocation OpLoc, in ActOnSizeofParameterPackExpr() argument
869 MarkAnyDeclReferenced(OpLoc, ParameterPack, true); in ActOnSizeofParameterPackExpr()
871 return SizeOfPackExpr::Create(Context, OpLoc, ParameterPack, NameLoc, in ActOnSizeofParameterPackExpr()
DSemaAccess.cpp1689 Sema::AccessResult Sema::CheckAllocationAccess(SourceLocation OpLoc, in CheckAllocationAccess() argument
1705 return CheckAccess(*this, OpLoc, Entity); in CheckAllocationAccess()
1725 Sema::AccessResult Sema::CheckMemberOperatorAccess(SourceLocation OpLoc, in CheckMemberOperatorAccess() argument
1742 return CheckAccess(*this, OpLoc, Entity); in CheckMemberOperatorAccess()
DSemaOpenMP.cpp4678 SourceLocation OpLoc; member in __anon7fcf8ef20d11::OpenMPAtomicUpdateChecker
4733 OpLoc = AtomicInnerBinOp->getOperatorLoc(); in checkBinaryOperation()
4806 OpLoc = AtomicCompAssignOp->getOperatorLoc(); in checkStatement()
4821 OpLoc = AtomicUnaryOp->getOperatorLoc(); in checkStatement()
4823 E = SemaRef.ActOnIntegerConstant(OpLoc, /*uint64_t Val=*/1).get(); in checkStatement()
4862 SemaRef.CreateBuiltinBinOp(OpLoc, Op, IsXLHSInRHSPart ? OVEX : OVEExpr, in checkStatement()
DSemaExprObjC.cpp1760 Expr *BaseExpr, SourceLocation OpLoc, in HandleExprPropertyRefExpr() argument
1891 return HandleExprPropertyRefExpr(OPT, BaseExpr, OpLoc, in HandleExprPropertyRefExpr()
1909 << FixItHint::CreateReplacement(OpLoc, "->"); in HandleExprPropertyRefExpr()
DSemaChecking.cpp9414 SourceLocation OpLoc) { in DiagnoseSelfMove() argument
9416 if (Diags.isIgnored(diag::warn_sizeof_pointer_expr_memaccess, OpLoc)) in DiagnoseSelfMove()
9451 Diag(OpLoc, diag::warn_self_move) << LHSExpr->getType() in DiagnoseSelfMove()
9488 Diag(OpLoc, diag::warn_self_move) << LHSExpr->getType() in DiagnoseSelfMove()
9495 Diag(OpLoc, diag::warn_self_move) << LHSExpr->getType() in DiagnoseSelfMove()
DSemaCodeComplete.cpp3637 SourceLocation OpLoc, in CodeCompleteMemberReferenceExpr() argument
/external/clang/lib/Lex/
DPPExpressions.cpp491 SourceLocation OpLoc = PeekTok.getLocation(); in EvaluateDirectiveSubExpr() local
552 PP.Diag(OpLoc, diag::warn_pp_convert_to_positive) << 0 in EvaluateDirectiveSubExpr()
557 PP.Diag(OpLoc, diag::warn_pp_convert_to_positive) << 1 in EvaluateDirectiveSubExpr()
573 PP.Diag(OpLoc, diag::err_pp_remainder_by_zero) in EvaluateDirectiveSubExpr()
585 PP.Diag(OpLoc, diag::err_pp_division_by_zero) in EvaluateDirectiveSubExpr()
670 PP.Diag(OpLoc, diag::ext_pp_comma_expr) in EvaluateDirectiveSubExpr()
679 PP.Diag(OpLoc, diag::note_matching) << tok::question; in EvaluateDirectiveSubExpr()
712 PP.Diag(OpLoc, diag::err_pp_colon_without_question) in EvaluateDirectiveSubExpr()
719 PP.Diag(OpLoc, diag::warn_pp_expr_overflow) in EvaluateDirectiveSubExpr()
/external/clang/include/clang/AST/
DExprObjC.h489 SourceLocation OpLoc;
504 D(d), Base(base), Loc(l), OpLoc(oploc),
531 SourceLocation getOpLoc() const { return OpLoc; }
532 void setOpLoc(SourceLocation L) { OpLoc = L; }
1396 SourceLocation OpLoc;
1407 Base(base), IsaMemberLoc(l), OpLoc(oploc), IsArrow(isarrow) {}
1423 SourceLocation getOpLoc() const { return OpLoc; }
1424 void setOpLoc(SourceLocation L) { OpLoc = L; }
DExpr.h2020 SourceLocation OpLoc, RParenLoc; variable
2032 OpLoc(op), RParenLoc(rp) { in UnaryExprOrTypeTraitExpr()
2082 SourceLocation getOperatorLoc() const { return OpLoc; } in getOperatorLoc()
2083 void setOperatorLoc(SourceLocation L) { OpLoc = L; } in setOperatorLoc()
2088 SourceLocation getLocStart() const LLVM_READONLY { return OpLoc; } in getLocStart()
2975 SourceLocation OpLoc; variable
2991 Opc(opc), FPContractable(fpContractable), OpLoc(opLoc) { in BinaryOperator()
3002 SourceLocation getExprLoc() const LLVM_READONLY { return OpLoc; } in getExprLoc()
3003 SourceLocation getOperatorLoc() const { return OpLoc; } in getOperatorLoc()
3004 void setOperatorLoc(SourceLocation L) { OpLoc = L; } in setOperatorLoc()
[all …]
/external/clang/include/clang/Sema/
DSema.h2449 SourceLocation OpLoc, ArrayRef<Expr *> Args,
2458 SourceLocation OpLoc, ArrayRef<Expr *> Args,
2558 ExprResult CreateOverloadedUnaryOp(SourceLocation OpLoc,
2563 ExprResult CreateOverloadedBinOp(SourceLocation OpLoc,
2583 SourceLocation OpLoc,
3514 SourceLocation OpLoc);
3800 ExprResult CreateBuiltinUnaryOp(SourceLocation OpLoc, UnaryOperatorKind Opc,
3802 ExprResult BuildUnaryOp(Scope *S, SourceLocation OpLoc,
3804 ExprResult ActOnUnaryOp(Scope *S, SourceLocation OpLoc,
3807 QualType CheckAddressOfOperand(ExprResult &Operand, SourceLocation OpLoc);
[all …]
DDeclSpec.h1013 void setLiteralOperatorId(const IdentifierInfo *Id, SourceLocation OpLoc, in setLiteralOperatorId() argument
1017 StartLocation = OpLoc; in setLiteralOperatorId()
/external/clang/lib/Parse/
DParseExprCXX.cpp1279 SourceLocation OpLoc = ConsumeToken(); in ParseCXXCasts() local
1318 Result = Actions.ActOnCXXNamedCast(OpLoc, Kind, in ParseCXXCasts()
1336 SourceLocation OpLoc = ConsumeToken(); in ParseCXXTypeid() local
1372 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/true, in ParseCXXTypeid()
1386 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/false, in ParseCXXTypeid()
1402 SourceLocation OpLoc = ConsumeToken(); in ParseCXXUuidof() local
1420 Result = Actions.ActOnCXXUuidof(OpLoc, T.getOpenLocation(), /*isType=*/true, in ParseCXXUuidof()
1433 Result = Actions.ActOnCXXUuidof(OpLoc, T.getOpenLocation(), in ParseCXXUuidof()
1457 Parser::ParseCXXPseudoDestructor(Expr *Base, SourceLocation OpLoc, in ParseCXXPseudoDestructor() argument
1497 return Actions.ActOnPseudoDestructorExpr(getCurScope(), Base, OpLoc, OpKind, in ParseCXXPseudoDestructor()
[all …]
DParseOpenMP.cpp774 SourceLocation OpLoc = P.ConsumeToken(); in ParseReductionId() local
775 SourceLocation SymbolLocations[] = {OpLoc, OpLoc, SourceLocation()}; in ParseReductionId()
776 ReductionId.setOperatorFunctionId(OpLoc, OOK, SymbolLocations); in ParseReductionId()
DParseExpr.cpp1567 SourceLocation OpLoc = ConsumeToken(); // Eat the "." or "->" token. in ParsePostfixExpressionSuffix() local
1578 Diag(OpLoc, diag::err_function_is_not_record) in ParsePostfixExpressionSuffix()
1580 << FixItHint::CreateRemoval(OpLoc); in ParsePostfixExpressionSuffix()
1585 OpLoc, OpKind, ObjectType, in ParsePostfixExpressionSuffix()
1600 OpLoc, OpKind == tok::arrow); in ParsePostfixExpressionSuffix()
1607 LHS = ParseCXXPseudoDestructor(LHS.get(), OpLoc, OpKind, SS, in ParsePostfixExpressionSuffix()
1644 LHS = Actions.ActOnMemberAccessExpr(getCurScope(), LHS.get(), OpLoc, in ParsePostfixExpressionSuffix()
DParseObjc.cpp2733 SourceLocation OpLoc = ConsumeToken(); in ParseObjCAtExpression() local
2753 Lit = Actions.ActOnUnaryOp(getCurScope(), OpLoc, Kind, Lit.get()); in ParseObjCAtExpression()
/external/llvm/lib/TableGen/
DTGParser.cpp886 SMLoc OpLoc = Lex.getLoc(); in ParseOperation() local
943 Error(OpLoc, "expected a list"); in ParseOperation()
963 Error(OpLoc, "expected two operands to operator"); in ParseOperation()
/external/clang/include/clang/Parse/
DParser.h1522 ExprResult ParseCXXPseudoDestructor(Expr *Base, SourceLocation OpLoc,
/external/clang/lib/AST/
DExpr.cpp1386 OpLoc(op), RParenLoc(rp) { in UnaryExprOrTypeTraitExpr()