Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExprMember.cpp298 SourceLocation OpLoc, const IdentifierInfo *CompName, in CheckExtVectorComponent() argument
345 S.Diag(OpLoc, diag::ext_opencl_ext_vector_type_rgba_selector) in CheckExtVectorComponent()
361 S.Diag(OpLoc, diag::err_ext_vector_component_name_illegal) in CheckExtVectorComponent()
376 S.Diag(OpLoc, diag::err_ext_vector_component_exceeds_length) in CheckExtVectorComponent()
392 S.Diag(OpLoc, diag::err_opencl_ext_vector_component_invalid_length) in CheckExtVectorComponent()
478 bool IsArrow, SourceLocation OpLoc, in ActOnDependentMemberExpr() argument
498 Diag(OpLoc, diag::err_typecheck_member_reference_struct_union) in ActOnDependentMemberExpr()
511 Context, BaseExpr, BaseType, IsArrow, OpLoc, in ActOnDependentMemberExpr()
641 SourceLocation OpLoc, bool IsArrow, in LookupMemberExprInRecord() argument
648 SemaRef.RequireCompleteType(OpLoc, QualType(RTy, 0), in LookupMemberExprInRecord()
[all …]
H A DSemaExpr.cpp4223 SourceLocation OpLoc, in CheckUnaryExprOrTypeTraitOperand() argument
4246 return CheckVecStepTraitOperandType(*this, ExprType, OpLoc, ExprRange); in CheckUnaryExprOrTypeTraitOperand()
4249 if (!CheckExtensionTraitOperandType(*this, ExprType, OpLoc, ExprRange, in CheckUnaryExprOrTypeTraitOperand()
4254 OpLoc, ExprType, diag::err_sizeof_alignof_incomplete_or_sizeless_type, in CheckUnaryExprOrTypeTraitOperand()
4259 Diag(OpLoc, diag::err_sizeof_alignof_function_type) in CheckUnaryExprOrTypeTraitOperand()
4264 if (CheckObjCTraitOperandConstraints(*this, ExprType, OpLoc, ExprRange, in CheckUnaryExprOrTypeTraitOperand()
4445 SourceLocation OpLoc, in CreateUnaryExprOrTypeTraitExpr() argument
4454 CheckUnaryExprOrTypeTraitOperand(T, OpLoc, R, ExprKind)) in CreateUnaryExprOrTypeTraitExpr()
4483 ExprKind, TInfo, Context.getSizeType(), OpLoc, R.getEnd()); in CreateUnaryExprOrTypeTraitExpr()
4489 Sema::CreateUnaryExprOrTypeTraitExpr(Expr *E, SourceLocation OpLoc, in CreateUnaryExprOrTypeTraitExpr() argument
[all …]
H A DSemaOverload.cpp7669 SourceLocation OpLoc, in AddMemberOperatorCandidates() argument
7691 if (!isCompleteType(OpLoc, T1) && !T1Rec->isBeingDefined()) in AddMemberOperatorCandidates()
7697 LookupResult Operators(*this, OpName, OpLoc, LookupOrdinaryName); in AddMemberOperatorCandidates()
9118 SourceLocation OpLoc, in AddBuiltinOperatorCandidates() argument
9136 OpLoc, in AddBuiltinOperatorCandidates()
11259 SourceLocation OpLoc, in NoteBuiltinOperatorCandidate() argument
11268 S.Diag(OpLoc, diag::note_ovl_builtin_candidate) << TypeStr; in NoteBuiltinOperatorCandidate()
11273 S.Diag(OpLoc, diag::note_ovl_builtin_candidate) << TypeStr; in NoteBuiltinOperatorCandidate()
11277 static void NoteAmbiguousUserConversions(Sema &S, SourceLocation OpLoc, in NoteAmbiguousUserConversions() argument
11284 S, OpLoc, S.PDiag(diag::note_ambiguous_type_conversion)); in NoteAmbiguousUserConversions()
[all …]
H A DSemaExprCXX.cpp618 Sema::ActOnCXXTypeid(SourceLocation OpLoc, SourceLocation LParenLoc, in ActOnCXXTypeid() argument
622 return ExprError(Diag(OpLoc, diag::err_openclcxx_not_supported) in ActOnCXXTypeid()
628 return ExprError(Diag(OpLoc, diag::err_need_header_before_typeid)); in ActOnCXXTypeid()
642 return ExprError(Diag(OpLoc, diag::err_need_header_before_typeid)); in ActOnCXXTypeid()
646 return ExprError(Diag(OpLoc, diag::err_no_typeid_with_fno_rtti)); in ActOnCXXTypeid()
660 TInfo = Context.getTrivialTypeSourceInfo(T, OpLoc); in ActOnCXXTypeid()
662 return BuildCXXTypeId(TypeInfoType, OpLoc, TInfo, RParenLoc); in ActOnCXXTypeid()
667 BuildCXXTypeId(TypeInfoType, OpLoc, (Expr *)TyOrExpr, RParenLoc); in ActOnCXXTypeid()
672 Diag(OpLoc, diag::warn_no_typeid_with_rtti_disabled) in ActOnCXXTypeid()
760 Sema::ActOnCXXUuidof(SourceLocation OpLoc, SourceLocation LParenLoc, in ActOnCXXUuidof() argument
[all …]
H A DSemaCast.cpp167 SourceLocation OpLoc) { in CheckNoDeref() argument
172 S.Diag(OpLoc, diag::warn_noderef_to_dereferenceable_pointer); in CheckNoDeref()
264 Sema::ActOnCXXNamedCast(SourceLocation OpLoc, tok::TokenKind Kind, in ActOnCXXNamedCast() argument
281 return BuildCXXNamedCast(OpLoc, Kind, TInfo, E, in ActOnCXXNamedCast()
287 Sema::BuildCXXNamedCast(SourceLocation OpLoc, tok::TokenKind Kind, in BuildCXXNamedCast() argument
298 Op.OpRange = SourceRange(OpLoc, Parens.getEnd()); in BuildCXXNamedCast()
312 DestTInfo, OpLoc, Parens.getEnd(), AngleBrackets)); in BuildCXXNamedCast()
323 OpLoc, Parens.getEnd(), in BuildCXXNamedCast()
329 return ExprError(Diag(OpLoc, diag::err_openclcxx_not_supported) in BuildCXXNamedCast()
341 OpLoc, Parens.getEnd(), in BuildCXXNamedCast()
[all …]
H A DTreeTransform.h2463 ExprResult RebuildUnaryOperator(SourceLocation OpLoc, in RebuildUnaryOperator() argument
2466 return getSema().BuildUnaryOp(/*Scope=*/nullptr, OpLoc, Opc, SubExpr); in RebuildUnaryOperator()
2487 SourceLocation OpLoc, in RebuildUnaryExprOrTypeTrait() argument
2490 return getSema().CreateUnaryExprOrTypeTraitExpr(TInfo, OpLoc, ExprKind, R); in RebuildUnaryExprOrTypeTrait()
2498 ExprResult RebuildUnaryExprOrTypeTrait(Expr *SubExpr, SourceLocation OpLoc, in RebuildUnaryExprOrTypeTrait() argument
2502 = getSema().CreateUnaryExprOrTypeTraitExpr(SubExpr, OpLoc, ExprKind); in RebuildUnaryExprOrTypeTrait()
2587 ExprResult RebuildMemberExpr(Expr *Base, SourceLocation OpLoc, in RebuildMemberExpr() argument
2615 Base, isArrow, OpLoc, EmptySS, cast<FieldDecl>(Member), in RebuildMemberExpr()
2634 return getSema().BuildMemberReferenceExpr(Base, BaseType, OpLoc, isArrow, in RebuildMemberExpr()
2645 ExprResult RebuildBinaryOperator(SourceLocation OpLoc, in RebuildBinaryOperator() argument
[all …]
H A DSemaTemplateVariadic.cpp1005 SourceLocation OpLoc, in ActOnSizeofParameterPackExpr() argument
1048 MarkAnyDeclReferenced(OpLoc, ParameterPack, true); in ActOnSizeofParameterPackExpr()
1050 return SizeOfPackExpr::Create(Context, OpLoc, ParameterPack, NameLoc, in ActOnSizeofParameterPackExpr()
H A DSemaAccess.cpp1713 Sema::AccessResult Sema::CheckAllocationAccess(SourceLocation OpLoc, in CheckAllocationAccess() argument
1729 return CheckAccess(*this, OpLoc, Entity); in CheckAllocationAccess()
1765 Sema::AccessResult Sema::CheckMemberOperatorAccess(SourceLocation OpLoc, in CheckMemberOperatorAccess() argument
1782 return CheckAccess(*this, OpLoc, Entity); in CheckMemberOperatorAccess()
H A DAnalysisBasedWarnings.cpp338 static void EmitDiagForCXXThrowInNonThrowingFunc(Sema &S, SourceLocation OpLoc, in EmitDiagForCXXThrowInNonThrowingFunc() argument
340 if (!S.getSourceManager().isInSystemHeader(OpLoc) && in EmitDiagForCXXThrowInNonThrowingFunc()
342 S.Diag(OpLoc, diag::warn_throw_in_noexcept_func) << FD; in EmitDiagForCXXThrowInNonThrowingFunc()
H A DSemaExprObjC.cpp1977 Expr *BaseExpr, SourceLocation OpLoc, in HandleExprPropertyRefExpr() argument
2127 return HandleExprPropertyRefExpr(OPT, BaseExpr, OpLoc, in HandleExprPropertyRefExpr()
2146 << FixItHint::CreateReplacement(OpLoc, "->"); in HandleExprPropertyRefExpr()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DPPExpressions.cpp606 SourceLocation OpLoc = PeekTok.getLocation(); in EvaluateDirectiveSubExpr() local
668 PP.Diag(OpLoc, diag::warn_pp_convert_to_positive) << 0 in EvaluateDirectiveSubExpr()
673 PP.Diag(OpLoc, diag::warn_pp_convert_to_positive) << 1 in EvaluateDirectiveSubExpr()
689 PP.Diag(OpLoc, diag::err_pp_remainder_by_zero) in EvaluateDirectiveSubExpr()
701 PP.Diag(OpLoc, diag::err_pp_division_by_zero) in EvaluateDirectiveSubExpr()
788 PP.Diag(OpLoc, diag::ext_pp_comma_expr) in EvaluateDirectiveSubExpr()
797 PP.Diag(OpLoc, diag::note_matching) << tok::question; in EvaluateDirectiveSubExpr()
831 PP.Diag(OpLoc, diag::err_pp_colon_without_question) in EvaluateDirectiveSubExpr()
838 PP.Diag(OpLoc, diag::warn_pp_expr_overflow) in EvaluateDirectiveSubExpr()
H A DTokenLexer.cpp946 void TokenLexer::HandleMicrosoftCommentPaste(Token &Tok, SourceLocation OpLoc) { in HandleMicrosoftCommentPaste() argument
947 PP.Diag(OpLoc, diag::ext_comment_paste_microsoft); in HandleMicrosoftCommentPaste()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DExprObjC.h554 SourceLocation OpLoc; variable
568 D(d), Base(base), Loc(l), OpLoc(oploc), IsArrow(arrow),
597 SourceLocation getOpLoc() const { return OpLoc; } in getOpLoc()
598 void setOpLoc(SourceLocation L) { OpLoc = L; } in setOpLoc()
1490 SourceLocation OpLoc; variable
1499 IsaMemberLoc(l), OpLoc(oploc), IsArrow(isarrow) { in ObjCIsaExpr()
1517 SourceLocation getOpLoc() const { return OpLoc; } in getOpLoc()
1518 void setOpLoc(SourceLocation L) { OpLoc = L; } in setOpLoc()
H A DExpr.h2486 SourceLocation OpLoc, RParenLoc; variable
2493 OpLoc(op), RParenLoc(rp) { in UnaryExprOrTypeTraitExpr()
2553 SourceLocation getOperatorLoc() const { return OpLoc; } in getOperatorLoc()
2554 void setOperatorLoc(SourceLocation L) { OpLoc = L; } in setOperatorLoc()
2559 SourceLocation getBeginLoc() const LLVM_READONLY { return OpLoc; } in getBeginLoc()
3770 SourceLocation getOperatorLoc() const { return BinaryOperatorBits.OpLoc; } in getOperatorLoc()
3771 void setOperatorLoc(SourceLocation L) { BinaryOperatorBits.OpLoc = L; } in setOperatorLoc()
3988 SourceLocation OpLoc, FPOptionsOverride FPFeatures, in CompoundAssignOperator() argument
3990 : BinaryOperator(C, lhs, rhs, opc, ResType, VK, OK, OpLoc, FPFeatures, in CompoundAssignOperator()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h317 SourceLocation OpLoc);
3679 SourceLocation OpLoc, ArrayRef<Expr *> Args,
3687 SourceLocation OpLoc, ArrayRef<Expr *> Args,
3832 ExprResult CreateOverloadedUnaryOp(SourceLocation OpLoc,
3841 ExprResult CreateOverloadedBinOp(SourceLocation OpLoc,
3848 ExprResult BuildSynthesizedThreeWayComparison(SourceLocation OpLoc,
3868 SourceLocation OpLoc,
4881 SourceLocation OpLoc);
5218 ExprResult CreateBuiltinUnaryOp(SourceLocation OpLoc, UnaryOperatorKind Opc,
5220 ExprResult BuildUnaryOp(Scope *S, SourceLocation OpLoc,
[all …]
H A DOverload.h1052 bool shouldDeferDiags(Sema &S, ArrayRef<Expr *> Args, SourceLocation OpLoc);
1127 SourceLocation OpLoc = SourceLocation(),
1141 SourceLocation OpLoc = SourceLocation());
H A DDeclSpec.h1082 void setLiteralOperatorId(const IdentifierInfo *Id, SourceLocation OpLoc, in setLiteralOperatorId() argument
1086 StartLocation = OpLoc; in setLiteralOperatorId()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DTokenLexer.h218 void HandleMicrosoftCommentPaste(Token &Tok, SourceLocation OpLoc);
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParseExprCXX.cpp1506 SourceLocation OpLoc = ConsumeToken(); in ParseCXXCasts() local
1544 Result = Actions.ActOnCXXNamedCast(OpLoc, Kind, in ParseCXXCasts()
1562 SourceLocation OpLoc = ConsumeToken(); in ParseCXXTypeid() local
1599 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/true, in ParseCXXTypeid()
1613 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/false, in ParseCXXTypeid()
1629 SourceLocation OpLoc = ConsumeToken(); in ParseCXXUuidof() local
1647 Result = Actions.ActOnCXXUuidof(OpLoc, T.getOpenLocation(), /*isType=*/true, in ParseCXXUuidof()
1661 Result = Actions.ActOnCXXUuidof(OpLoc, T.getOpenLocation(), in ParseCXXUuidof()
1702 Parser::ParseCXXPseudoDestructor(Expr *Base, SourceLocation OpLoc, in ParseCXXPseudoDestructor() argument
1738 return Actions.ActOnPseudoDestructorExpr(getCurScope(), Base, OpLoc, OpKind, in ParseCXXPseudoDestructor()
[all …]
H A DParseExpr.cpp2083 SourceLocation OpLoc = ConsumeToken(); // Eat the "." or "->" token. in ParsePostfixExpressionSuffix() local
2098 Diag(OpLoc, diag::err_function_is_not_record) in ParsePostfixExpressionSuffix()
2100 << FixItHint::CreateRemoval(OpLoc); in ParsePostfixExpressionSuffix()
2104 LHS = Actions.ActOnStartCXXMemberReference(getCurScope(), Base, OpLoc, in ParsePostfixExpressionSuffix()
2133 getCurScope(), OrigLHS, OpLoc, CorrectedOpKind, ObjectType, in ParsePostfixExpressionSuffix()
2145 getCurScope(), Base, CorrectedBase, OpLoc, OpKind == tok::arrow, in ParsePostfixExpressionSuffix()
2153 LHS = ParseCXXPseudoDestructor(LHS.get(), OpLoc, OpKind, SS, in ParsePostfixExpressionSuffix()
2191 LHS = Actions.ActOnMemberAccessExpr(getCurScope(), LHS.get(), OpLoc, in ParsePostfixExpressionSuffix()
H A DParseOpenMP.cpp3482 SourceLocation OpLoc = P.ConsumeToken(); in ParseReductionId() local
3483 SourceLocation SymbolLocations[] = {OpLoc, OpLoc, SourceLocation()}; in ParseReductionId()
3484 ReductionId.setOperatorFunctionId(OpLoc, OOK, SymbolLocations); in ParseReductionId()
H A DParseObjc.cpp2783 SourceLocation OpLoc = ConsumeToken(); in ParseObjCAtExpression() local
2803 Lit = Actions.ActOnUnaryOp(getCurScope(), OpLoc, Kind, Lit.get()); in ParseObjCAtExpression()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/TableGen/
H A DTGParser.cpp1110 SMLoc OpLoc = Lex.getLoc(); in ParseOperation() local
1187 Error(OpLoc, Twine("expected value of type '") + in ParseOperation()
1209 Error(OpLoc, Twine("expected value to be a typed value, got '" + in ParseOperation()
1230 Error(OpLoc, in ParseOperation()
1236 Error(OpLoc, Twine("expected first arg type to be '") + in ParseOperation()
1365 Error(OpLoc, "expected two operands to operator"); in ParseOperation()
1858 SMLoc OpLoc = Lex.getLoc(); in ParseOperationForEachFilter() local
1913 Error(OpLoc, in ParseOperationForEachFilter()
1927 Error(OpLoc, in ParseOperationForEachFilter()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/FileCheck/
H A DFileCheck.cpp657 SMLoc OpLoc = SMLoc::getFromPointer(RemainingExpr.data()); in parseBinop() local
669 SM, OpLoc, Twine("unsupported operation '") + Twine(Operator) + "'"); in parseBinop()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DExpr.cpp1561 OpLoc(op), RParenLoc(rp) { in UnaryExprOrTypeTraitExpr()
4413 BinaryOperatorBits.OpLoc = opLoc; in BinaryOperator()
4430 BinaryOperatorBits.OpLoc = opLoc; in BinaryOperator()

12