Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaExprMember.cpp290 SourceLocation OpLoc, const IdentifierInfo *CompName, in CheckExtVectorComponent() argument
343 S.Diag(OpLoc, diag::err_ext_vector_component_name_illegal) in CheckExtVectorComponent()
358 S.Diag(OpLoc, diag::err_ext_vector_component_exceeds_length) in CheckExtVectorComponent()
443 bool IsArrow, SourceLocation OpLoc, in ActOnDependentMemberExpr() argument
463 Diag(OpLoc, diag::err_typecheck_member_reference_struct_union) in ActOnDependentMemberExpr()
476 Context, BaseExpr, BaseType, IsArrow, OpLoc, in ActOnDependentMemberExpr()
594 SourceLocation OpLoc, CXXScopeSpec &SS, in LookupMemberExprInRecord() argument
598 SemaRef.RequireCompleteType(OpLoc, QualType(RTy, 0), in LookupMemberExprInRecord()
675 SourceLocation OpLoc, CXXScopeSpec &SS,
680 SourceLocation OpLoc, bool IsArrow, in BuildMemberReferenceExpr() argument
[all …]
DSemaExpr.cpp3492 SourceLocation OpLoc, in CheckUnaryExprOrTypeTraitOperand() argument
3514 return CheckVecStepTraitOperandType(*this, ExprType, OpLoc, ExprRange); in CheckUnaryExprOrTypeTraitOperand()
3517 if (!CheckExtensionTraitOperandType(*this, ExprType, OpLoc, ExprRange, in CheckUnaryExprOrTypeTraitOperand()
3521 if (RequireCompleteType(OpLoc, ExprType, in CheckUnaryExprOrTypeTraitOperand()
3527 Diag(OpLoc, diag::err_sizeof_alignof_function_type) in CheckUnaryExprOrTypeTraitOperand()
3532 if (CheckObjCTraitOperandConstraints(*this, ExprType, OpLoc, ExprRange, in CheckUnaryExprOrTypeTraitOperand()
3609 SourceLocation OpLoc, in CreateUnaryExprOrTypeTraitExpr() argument
3618 CheckUnaryExprOrTypeTraitOperand(T, OpLoc, R, ExprKind)) in CreateUnaryExprOrTypeTraitExpr()
3623 ExprKind, TInfo, Context.getSizeType(), OpLoc, R.getEnd()); in CreateUnaryExprOrTypeTraitExpr()
3629 Sema::CreateUnaryExprOrTypeTraitExpr(Expr *E, SourceLocation OpLoc, in CreateUnaryExprOrTypeTraitExpr() argument
[all …]
DSemaExprCXX.cpp443 Sema::ActOnCXXTypeid(SourceLocation OpLoc, SourceLocation LParenLoc, in ActOnCXXTypeid() argument
447 return ExprError(Diag(OpLoc, diag::err_need_header_before_typeid)); in ActOnCXXTypeid()
461 return ExprError(Diag(OpLoc, diag::err_need_header_before_typeid)); in ActOnCXXTypeid()
465 return ExprError(Diag(OpLoc, diag::err_no_typeid_with_fno_rtti)); in ActOnCXXTypeid()
479 TInfo = Context.getTrivialTypeSourceInfo(T, OpLoc); in ActOnCXXTypeid()
481 return BuildCXXTypeId(TypeInfoType, OpLoc, TInfo, RParenLoc); in ActOnCXXTypeid()
485 return BuildCXXTypeId(TypeInfoType, OpLoc, (Expr*)TyOrExpr, RParenLoc); in ActOnCXXTypeid()
530 Sema::ActOnCXXUuidof(SourceLocation OpLoc, SourceLocation LParenLoc, in ActOnCXXUuidof() argument
539 return ExprError(Diag(OpLoc, diag::err_need_header_before_ms_uuidof)); in ActOnCXXUuidof()
553 TInfo = Context.getTrivialTypeSourceInfo(T, OpLoc); in ActOnCXXUuidof()
[all …]
DSemaOverload.cpp6399 SourceLocation OpLoc, in AddMemberOperatorCandidates() argument
6421 RequireCompleteType(OpLoc, T1, 0); in AddMemberOperatorCandidates()
6426 LookupResult Operators(*this, OpName, OpLoc, LookupOrdinaryName); in AddMemberOperatorCandidates()
7952 SourceLocation OpLoc, in AddBuiltinOperatorCandidates() argument
7970 OpLoc, in AddBuiltinOperatorCandidates()
9160 SourceLocation OpLoc, in NoteBuiltinOperatorCandidate() argument
9169 S.Diag(OpLoc, diag::note_ovl_builtin_unary_candidate) << TypeStr; in NoteBuiltinOperatorCandidate()
9174 S.Diag(OpLoc, diag::note_ovl_builtin_binary_candidate) << TypeStr; in NoteBuiltinOperatorCandidate()
9178 void NoteAmbiguousUserConversions(Sema &S, SourceLocation OpLoc, in NoteAmbiguousUserConversions() argument
9186 ICS.DiagnoseAmbiguousConversion(S, OpLoc, in NoteAmbiguousUserConversions()
[all …]
DTreeTransform.h1711 ExprResult RebuildUnaryOperator(SourceLocation OpLoc, in RebuildUnaryOperator() argument
1714 return getSema().BuildUnaryOp(/*Scope=*/nullptr, OpLoc, Opc, SubExpr); in RebuildUnaryOperator()
1736 SourceLocation OpLoc, in RebuildUnaryExprOrTypeTrait() argument
1739 return getSema().CreateUnaryExprOrTypeTraitExpr(TInfo, OpLoc, ExprKind, R); in RebuildUnaryExprOrTypeTrait()
1747 ExprResult RebuildUnaryExprOrTypeTrait(Expr *SubExpr, SourceLocation OpLoc, in RebuildUnaryExprOrTypeTrait() argument
1751 = getSema().CreateUnaryExprOrTypeTraitExpr(SubExpr, OpLoc, ExprKind); in RebuildUnaryExprOrTypeTrait()
1787 ExprResult RebuildMemberExpr(Expr *Base, SourceLocation OpLoc, in RebuildMemberExpr() argument
1834 return getSema().BuildMemberReferenceExpr(Base, BaseType, OpLoc, isArrow, in RebuildMemberExpr()
1844 ExprResult RebuildBinaryOperator(SourceLocation OpLoc, in RebuildBinaryOperator() argument
1847 return getSema().BuildBinOp(/*Scope=*/nullptr, OpLoc, Opc, LHS, RHS); in RebuildBinaryOperator()
[all …]
DSemaTemplateVariadic.cpp793 SourceLocation OpLoc, in ActOnSizeofParameterPackExpr() argument
835 MarkAnyDeclReferenced(OpLoc, ParameterPack, true); in ActOnSizeofParameterPackExpr()
837 return new (Context) SizeOfPackExpr(Context.getSizeType(), OpLoc, in ActOnSizeofParameterPackExpr()
DSemaCast.cpp216 Sema::ActOnCXXNamedCast(SourceLocation OpLoc, tok::TokenKind Kind, in ActOnCXXNamedCast() argument
233 return BuildCXXNamedCast(OpLoc, Kind, TInfo, E, in ActOnCXXNamedCast()
239 Sema::BuildCXXNamedCast(SourceLocation OpLoc, tok::TokenKind Kind, in BuildCXXNamedCast() argument
252 Op.OpRange = SourceRange(OpLoc, Parens.getEnd()); in BuildCXXNamedCast()
266 OpLoc, Parens.getEnd(), in BuildCXXNamedCast()
278 OpLoc, Parens.getEnd(), in BuildCXXNamedCast()
289 nullptr, DestTInfo, OpLoc, in BuildCXXNamedCast()
303 OpLoc, Parens.getEnd(), in BuildCXXNamedCast()
DSemaAccess.cpp1684 Sema::AccessResult Sema::CheckAllocationAccess(SourceLocation OpLoc, in CheckAllocationAccess() argument
1700 return CheckAccess(*this, OpLoc, Entity); in CheckAllocationAccess()
1720 Sema::AccessResult Sema::CheckMemberOperatorAccess(SourceLocation OpLoc, in CheckMemberOperatorAccess() argument
1737 return CheckAccess(*this, OpLoc, Entity); in CheckMemberOperatorAccess()
DSemaExprObjC.cpp1559 Expr *BaseExpr, SourceLocation OpLoc, in HandleExprPropertyRefExpr() argument
1674 return HandleExprPropertyRefExpr(OPT, BaseExpr, OpLoc, in HandleExprPropertyRefExpr()
1692 << FixItHint::CreateReplacement(OpLoc, "->"); in HandleExprPropertyRefExpr()
DSemaCodeComplete.cpp3528 SourceLocation OpLoc, in CodeCompleteMemberReferenceExpr() argument
/external/clang/lib/Lex/
DPPExpressions.cpp492 SourceLocation OpLoc = PeekTok.getLocation(); in EvaluateDirectiveSubExpr() local
553 PP.Diag(OpLoc, diag::warn_pp_convert_lhs_to_positive) in EvaluateDirectiveSubExpr()
558 PP.Diag(OpLoc, diag::warn_pp_convert_rhs_to_positive) in EvaluateDirectiveSubExpr()
574 PP.Diag(OpLoc, diag::err_pp_remainder_by_zero) in EvaluateDirectiveSubExpr()
586 PP.Diag(OpLoc, diag::err_pp_division_by_zero) in EvaluateDirectiveSubExpr()
676 PP.Diag(OpLoc, diag::ext_pp_comma_expr) in EvaluateDirectiveSubExpr()
685 PP.Diag(OpLoc, diag::note_matching) << tok::question; in EvaluateDirectiveSubExpr()
718 PP.Diag(OpLoc, diag::err_pp_colon_without_question) in EvaluateDirectiveSubExpr()
725 PP.Diag(OpLoc, diag::warn_pp_expr_overflow) in EvaluateDirectiveSubExpr()
/external/clang/include/clang/Sema/
DSema.h2299 SourceLocation OpLoc, ArrayRef<Expr *> Args,
2308 SourceLocation OpLoc, ArrayRef<Expr *> Args,
2407 ExprResult CreateOverloadedUnaryOp(SourceLocation OpLoc,
2412 ExprResult CreateOverloadedBinOp(SourceLocation OpLoc,
2432 SourceLocation OpLoc,
3472 ExprResult CreateBuiltinUnaryOp(SourceLocation OpLoc, UnaryOperatorKind Opc,
3474 ExprResult BuildUnaryOp(Scope *S, SourceLocation OpLoc,
3476 ExprResult ActOnUnaryOp(Scope *S, SourceLocation OpLoc,
3479 QualType CheckAddressOfOperand(ExprResult &Operand, SourceLocation OpLoc);
3482 SourceLocation OpLoc,
[all …]
DDeclSpec.h977 void setLiteralOperatorId(const IdentifierInfo *Id, SourceLocation OpLoc, in setLiteralOperatorId() argument
981 StartLocation = OpLoc; in setLiteralOperatorId()
/external/clang/lib/Parse/
DParseOpenMP.cpp550 SourceLocation OpLoc = P.ConsumeToken(); in ParseReductionId() local
551 SourceLocation SymbolLocations[] = {OpLoc, OpLoc, SourceLocation()}; in ParseReductionId()
552 ReductionId.setOperatorFunctionId(OpLoc, OOK, SymbolLocations); in ParseReductionId()
DParseExprCXX.cpp1214 SourceLocation OpLoc = ConsumeToken(); in ParseCXXCasts() local
1253 Result = Actions.ActOnCXXNamedCast(OpLoc, Kind, in ParseCXXCasts()
1271 SourceLocation OpLoc = ConsumeToken(); in ParseCXXTypeid() local
1307 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/true, in ParseCXXTypeid()
1321 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/false, in ParseCXXTypeid()
1337 SourceLocation OpLoc = ConsumeToken(); in ParseCXXUuidof() local
1355 Result = Actions.ActOnCXXUuidof(OpLoc, T.getOpenLocation(), /*isType=*/true, in ParseCXXUuidof()
1368 Result = Actions.ActOnCXXUuidof(OpLoc, T.getOpenLocation(), in ParseCXXUuidof()
1392 Parser::ParseCXXPseudoDestructor(ExprArg Base, SourceLocation OpLoc, in ParseCXXPseudoDestructor() argument
1432 return Actions.ActOnPseudoDestructorExpr(getCurScope(), Base, OpLoc, in ParseCXXPseudoDestructor()
[all …]
DParseExpr.cpp1361 SourceLocation OpLoc = ConsumeToken(); // Eat the "." or "->" token. in ParsePostfixExpressionSuffix() local
1372 Diag(OpLoc, diag::err_function_is_not_record) in ParsePostfixExpressionSuffix()
1374 << FixItHint::CreateRemoval(OpLoc); in ParsePostfixExpressionSuffix()
1379 OpLoc, OpKind, ObjectType, in ParsePostfixExpressionSuffix()
1394 OpLoc, OpKind == tok::arrow); in ParsePostfixExpressionSuffix()
1401 LHS = ParseCXXPseudoDestructor(LHS.get(), OpLoc, OpKind, SS, in ParsePostfixExpressionSuffix()
1435 LHS = Actions.ActOnMemberAccessExpr(getCurScope(), LHS.get(), OpLoc, in ParsePostfixExpressionSuffix()
DParseObjc.cpp2099 SourceLocation OpLoc = ConsumeToken(); in ParseObjCAtExpression() local
2119 Lit = Actions.ActOnUnaryOp(getCurScope(), OpLoc, Kind, Lit.get()); in ParseObjCAtExpression()
/external/clang/include/clang/AST/
DExprObjC.h470 SourceLocation OpLoc;
485 D(d), Base(base), Loc(l), OpLoc(oploc),
512 SourceLocation getOpLoc() const { return OpLoc; }
513 void setOpLoc(SourceLocation L) { OpLoc = L; }
1399 SourceLocation OpLoc;
1410 Base(base), IsaMemberLoc(l), OpLoc(oploc), IsArrow(isarrow) {}
1426 SourceLocation getOpLoc() const { return OpLoc; }
1427 void setOpLoc(SourceLocation L) { OpLoc = L; }
DExpr.h1968 SourceLocation OpLoc, RParenLoc; variable
1980 OpLoc(op), RParenLoc(rp) { in UnaryExprOrTypeTraitExpr()
1995 OpLoc(op), RParenLoc(rp) { in UnaryExprOrTypeTraitExpr()
2041 SourceLocation getOperatorLoc() const { return OpLoc; } in getOperatorLoc()
2042 void setOperatorLoc(SourceLocation L) { OpLoc = L; } in setOperatorLoc()
2047 SourceLocation getLocStart() const LLVM_READONLY { return OpLoc; } in getLocStart()
2924 SourceLocation OpLoc; variable
2940 Opc(opc), FPContractable(fpContractable), OpLoc(opLoc) { in BinaryOperator()
2951 SourceLocation getExprLoc() const LLVM_READONLY { return OpLoc; } in getExprLoc()
2952 SourceLocation getOperatorLoc() const { return OpLoc; } in getOperatorLoc()
[all …]
/external/llvm/lib/TableGen/
DTGParser.cpp914 SMLoc OpLoc = Lex.getLoc(); in ParseOperation() local
970 Error(OpLoc, "expected a list"); in ParseOperation()
990 Error(OpLoc, "expected two operands to operator"); in ParseOperation()
/external/clang/include/clang/Parse/
DParser.h1459 ExprResult ParseCXXPseudoDestructor(ExprArg Base, SourceLocation OpLoc,