Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaExprMember.cpp264 SourceLocation OpLoc, const IdentifierInfo *CompName, in CheckExtVectorComponent() argument
319 S.Diag(OpLoc, diag::err_ext_vector_component_name_illegal) in CheckExtVectorComponent()
334 S.Diag(OpLoc, diag::err_ext_vector_component_exceeds_length) in CheckExtVectorComponent()
419 bool IsArrow, SourceLocation OpLoc, in ActOnDependentMemberExpr() argument
451 IsArrow, OpLoc, in ActOnDependentMemberExpr()
530 SourceLocation OpLoc, CXXScopeSpec &SS, in LookupMemberExprInRecord() argument
533 if (SemaRef.RequireCompleteType(OpLoc, QualType(RTy, 0), in LookupMemberExprInRecord()
602 SourceLocation OpLoc, bool IsArrow, in BuildMemberReferenceExpr() argument
610 IsArrow, OpLoc, in BuildMemberReferenceExpr()
622 OpLoc, SS, TemplateArgs != 0)) in BuildMemberReferenceExpr()
[all …]
DSemaExpr.cpp2743 SourceLocation OpLoc, in CheckUnaryExprOrTypeTraitOperand() argument
2757 return CheckVecStepTraitOperandType(*this, exprType, OpLoc, ExprRange); in CheckUnaryExprOrTypeTraitOperand()
2760 if (!CheckExtensionTraitOperandType(*this, exprType, OpLoc, ExprRange, in CheckUnaryExprOrTypeTraitOperand()
2764 if (RequireCompleteType(OpLoc, exprType, in CheckUnaryExprOrTypeTraitOperand()
2769 if (CheckObjCTraitOperandConstraints(*this, exprType, OpLoc, ExprRange, in CheckUnaryExprOrTypeTraitOperand()
2815 SourceLocation OpLoc, in CreateUnaryExprOrTypeTraitExpr() argument
2824 CheckUnaryExprOrTypeTraitOperand(T, OpLoc, R, ExprKind)) in CreateUnaryExprOrTypeTraitExpr()
2830 OpLoc, R.getEnd())); in CreateUnaryExprOrTypeTraitExpr()
2836 Sema::CreateUnaryExprOrTypeTraitExpr(Expr *E, SourceLocation OpLoc, in CreateUnaryExprOrTypeTraitExpr() argument
2864 ExprKind, E, Context.getSizeType(), OpLoc, in CreateUnaryExprOrTypeTraitExpr()
[all …]
DSemaOverload.cpp4755 SourceLocation OpLoc, in AddMemberOperatorCandidates() argument
4777 if (RequireCompleteType(OpLoc, T1, PDiag())) in AddMemberOperatorCandidates()
4780 LookupResult Operators(*this, OpName, OpLoc, LookupOrdinaryName); in AddMemberOperatorCandidates()
6224 SourceLocation OpLoc, in AddBuiltinOperatorCandidates() argument
6242 OpLoc, in AddBuiltinOperatorCandidates()
7271 SourceLocation OpLoc, in NoteBuiltinOperatorCandidate() argument
7280 S.Diag(OpLoc, diag::note_ovl_builtin_unary_candidate) << TypeStr; in NoteBuiltinOperatorCandidate()
7285 S.Diag(OpLoc, diag::note_ovl_builtin_binary_candidate) << TypeStr; in NoteBuiltinOperatorCandidate()
7289 void NoteAmbiguousUserConversions(Sema &S, SourceLocation OpLoc, in NoteAmbiguousUserConversions() argument
7297 ICS.DiagnoseAmbiguousConversion(S, OpLoc, in NoteAmbiguousUserConversions()
[all …]
DSemaExprCXX.cpp345 Sema::ActOnCXXTypeid(SourceLocation OpLoc, SourceLocation LParenLoc, in ActOnCXXTypeid() argument
349 return ExprError(Diag(OpLoc, diag::err_need_header_before_typeid)); in ActOnCXXTypeid()
357 return ExprError(Diag(OpLoc, diag::err_need_header_before_typeid)); in ActOnCXXTypeid()
371 TInfo = Context.getTrivialTypeSourceInfo(T, OpLoc); in ActOnCXXTypeid()
373 return BuildCXXTypeId(TypeInfoType, OpLoc, TInfo, RParenLoc); in ActOnCXXTypeid()
377 return BuildCXXTypeId(TypeInfoType, OpLoc, (Expr*)TyOrExpr, RParenLoc); in ActOnCXXTypeid()
434 Sema::ActOnCXXUuidof(SourceLocation OpLoc, SourceLocation LParenLoc, in ActOnCXXUuidof() argument
443 return ExprError(Diag(OpLoc, diag::err_need_header_before_ms_uuidof)); in ActOnCXXUuidof()
457 TInfo = Context.getTrivialTypeSourceInfo(T, OpLoc); in ActOnCXXUuidof()
459 return BuildCXXUuidof(GuidType, OpLoc, TInfo, RParenLoc); in ActOnCXXUuidof()
[all …]
DSemaCXXCast.cpp136 Sema::ActOnCXXNamedCast(SourceLocation OpLoc, tok::TokenKind Kind, in ActOnCXXNamedCast() argument
153 return BuildCXXNamedCast(OpLoc, Kind, TInfo, move(E), in ActOnCXXNamedCast()
159 Sema::BuildCXXNamedCast(SourceLocation OpLoc, tok::TokenKind Kind, in BuildCXXNamedCast() argument
165 SourceRange OpRange(OpLoc, Parens.getEnd()); in BuildCXXNamedCast()
187 VK, Ex.take(), DestTInfo, OpLoc, in BuildCXXNamedCast()
202 OpLoc, Parens.getEnd())); in BuildCXXNamedCast()
214 DestTInfo, OpLoc, Parens.getEnd())); in BuildCXXNamedCast()
228 DestTInfo, OpLoc, Parens.getEnd())); in BuildCXXNamedCast()
DTreeTransform.h1352 ExprResult RebuildUnaryOperator(SourceLocation OpLoc, in RebuildUnaryOperator() argument
1355 return getSema().BuildUnaryOp(/*Scope=*/0, OpLoc, Opc, SubExpr); in RebuildUnaryOperator()
1377 SourceLocation OpLoc, in RebuildUnaryExprOrTypeTrait() argument
1380 return getSema().CreateUnaryExprOrTypeTraitExpr(TInfo, OpLoc, ExprKind, R); in RebuildUnaryExprOrTypeTrait()
1388 ExprResult RebuildUnaryExprOrTypeTrait(Expr *SubExpr, SourceLocation OpLoc, in RebuildUnaryExprOrTypeTrait() argument
1392 = getSema().CreateUnaryExprOrTypeTraitExpr(SubExpr, OpLoc, ExprKind); in RebuildUnaryExprOrTypeTrait()
1428 ExprResult RebuildMemberExpr(Expr *Base, SourceLocation OpLoc, in RebuildMemberExpr() argument
1475 return getSema().BuildMemberReferenceExpr(Base, BaseType, OpLoc, isArrow, in RebuildMemberExpr()
1484 ExprResult RebuildBinaryOperator(SourceLocation OpLoc, in RebuildBinaryOperator() argument
1487 return getSema().BuildBinOp(/*Scope=*/0, OpLoc, Opc, LHS, RHS); in RebuildBinaryOperator()
[all …]
DSemaAccess.cpp1528 Sema::AccessResult Sema::CheckAllocationAccess(SourceLocation OpLoc, in CheckAllocationAccess() argument
1544 return CheckAccess(*this, OpLoc, Entity); in CheckAllocationAccess()
1549 Sema::AccessResult Sema::CheckMemberOperatorAccess(SourceLocation OpLoc, in CheckMemberOperatorAccess() argument
1567 return CheckAccess(*this, OpLoc, Entity); in CheckMemberOperatorAccess()
DSemaTemplateVariadic.cpp702 SourceLocation OpLoc, in ActOnSizeofParameterPackExpr() argument
750 return new (Context) SizeOfPackExpr(Context.getSizeType(), OpLoc, in ActOnSizeofParameterPackExpr()
DSemaExprObjC.cpp530 Expr *BaseExpr, SourceLocation OpLoc, in HandleExprPropertyRefExpr() argument
688 return HandleExprPropertyRefExpr(OPT, BaseExpr, OpLoc, in HandleExprPropertyRefExpr()
710 << FixItHint::CreateReplacement(OpLoc, "->"); in HandleExprPropertyRefExpr()
DSemaCodeComplete.cpp3228 SourceLocation OpLoc, in CodeCompleteMemberReferenceExpr() argument
/external/clang/lib/Lex/
DPPExpressions.cpp447 SourceLocation OpLoc = PeekTok.getLocation(); in EvaluateDirectiveSubExpr() local
508 PP.Diag(OpLoc, diag::warn_pp_convert_lhs_to_positive) in EvaluateDirectiveSubExpr()
513 PP.Diag(OpLoc, diag::warn_pp_convert_rhs_to_positive) in EvaluateDirectiveSubExpr()
529 PP.Diag(OpLoc, diag::err_pp_remainder_by_zero) in EvaluateDirectiveSubExpr()
541 PP.Diag(OpLoc, diag::err_pp_division_by_zero) in EvaluateDirectiveSubExpr()
631 PP.Diag(OpLoc, diag::ext_pp_comma_expr) in EvaluateDirectiveSubExpr()
640 PP.Diag(OpLoc, diag::note_matching) << "?"; in EvaluateDirectiveSubExpr()
673 PP.Diag(OpLoc, diag::err_pp_colon_without_question) in EvaluateDirectiveSubExpr()
680 PP.Diag(OpLoc, diag::warn_pp_expr_overflow) in EvaluateDirectiveSubExpr()
/external/clang/include/clang/Sema/
DSema.h1434 SourceLocation OpLoc,
1444 SourceLocation OpLoc,
1505 ExprResult CreateOverloadedUnaryOp(SourceLocation OpLoc,
1510 ExprResult CreateOverloadedBinOp(SourceLocation OpLoc,
1529 SourceLocation OpLoc);
2283 ExprResult CreateBuiltinUnaryOp(SourceLocation OpLoc, UnaryOperatorKind Opc,
2285 ExprResult BuildUnaryOp(Scope *S, SourceLocation OpLoc,
2287 ExprResult ActOnUnaryOp(Scope *S, SourceLocation OpLoc,
2291 SourceLocation OpLoc,
2294 ExprResult CreateUnaryExprOrTypeTraitExpr(Expr *E, SourceLocation OpLoc,
[all …]
DDeclSpec.h902 void setLiteralOperatorId(const IdentifierInfo *Id, SourceLocation OpLoc, in setLiteralOperatorId() argument
906 StartLocation = OpLoc; in setLiteralOperatorId()
/external/clang/lib/Parse/
DParseExprCXX.cpp528 SourceLocation OpLoc = ConsumeToken(); in ParseCXXCasts() local
565 Result = Actions.ActOnCXXNamedCast(OpLoc, Kind, in ParseCXXCasts()
582 SourceLocation OpLoc = ConsumeToken(); in ParseCXXTypeid() local
602 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/true, in ParseCXXTypeid()
633 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/false, in ParseCXXTypeid()
649 SourceLocation OpLoc = ConsumeToken(); in ParseCXXUuidof() local
669 Result = Actions.ActOnCXXUuidof(OpLoc, LParenLoc, /*isType=*/true, in ParseCXXUuidof()
681 Result = Actions.ActOnCXXUuidof(OpLoc, LParenLoc, /*isType=*/false, in ParseCXXUuidof()
704 Parser::ParseCXXPseudoDestructor(ExprArg Base, SourceLocation OpLoc, in ParseCXXPseudoDestructor() argument
756 OpLoc, OpKind, in ParseCXXPseudoDestructor()
DParseExpr.cpp1294 SourceLocation OpLoc = ConsumeToken(); // Eat the "." or "->" token. in ParsePostfixExpressionSuffix() local
1301 OpLoc, OpKind, ObjectType, in ParsePostfixExpressionSuffix()
1315 OpLoc, OpKind == tok::arrow); in ParsePostfixExpressionSuffix()
1321 LHS = ParseCXXPseudoDestructor(LHS.take(), OpLoc, OpKind, SS, in ParsePostfixExpressionSuffix()
1343 LHS = Actions.ActOnMemberAccessExpr(getCurScope(), LHS.take(), OpLoc, in ParsePostfixExpressionSuffix()
/external/clang/include/clang/AST/
DExpr.h1688 SourceLocation OpLoc, RParenLoc; variable
1700 Kind(ExprKind), isType(true), OpLoc(op), RParenLoc(rp) { in UnaryExprOrTypeTraitExpr()
1713 Kind(ExprKind), isType(false), OpLoc(op), RParenLoc(rp) { in UnaryExprOrTypeTraitExpr()
1754 SourceLocation getOperatorLoc() const { return OpLoc; } in getOperatorLoc()
1755 void setOperatorLoc(SourceLocation L) { OpLoc = L; } in setOperatorLoc()
1761 return SourceRange(OpLoc, RParenLoc); in getSourceRange()
2618 SourceLocation OpLoc; variable
2634 Opc(opc), OpLoc(opLoc) { in BinaryOperator()
2645 SourceLocation getOperatorLoc() const { return OpLoc; } in getOperatorLoc()
2646 void setOperatorLoc(SourceLocation L) { OpLoc = L; } in setOperatorLoc()
[all …]
/external/llvm/utils/TableGen/
DTGParser.cpp803 SMLoc OpLoc = Lex.getLoc(); in ParseOperation() local
861 Error(OpLoc, "expected two operands to operator"); in ParseOperation()
/external/clang/include/clang/Parse/
DParser.h1199 ExprResult ParseCXXPseudoDestructor(ExprArg Base, SourceLocation OpLoc,