Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprMember.cpp549 Context, BaseExpr, BaseType, IsArrow, OpLoc, in ActOnDependentMemberExpr()
682 SemaRef.RequireCompleteType(OpLoc, QualType(RTy, 0), in LookupMemberExprInRecord()
788 IsArrow, OpLoc, in BuildMemberReferenceExpr()
1052 Diag(OpLoc, diag::err_no_member_overloaded_arrow) in BuildMemberReferenceExpr()
1088 IsArrow, OpLoc, in BuildMemberReferenceExpr()
1316 << FixItHint::CreateReplacement(OpLoc, "."); in LookupMemberExpr()
1334 S.DiagRuntimeBehavior(OpLoc, nullptr, in LookupMemberExpr()
1389 if (S.RequireCompleteType(OpLoc, BaseType, in LookupMemberExpr()
1429 << FixItHint::CreateReplacement(OpLoc, "."); in LookupMemberExpr()
1695 << FixItHint::CreateReplacement(OpLoc, "->"); in LookupMemberExpr()
[all …]
H A DSemaExpr.cpp9628 Self.Diag(OpLoc, DiagID) in DiagnoseConditionalPrecedence()
9633 Self, OpLoc, in DiagnoseConditionalPrecedence()
9638 SuggestParentheses(Self, OpLoc, in DiagnoseConditionalPrecedence()
15126 (void)isCompleteType(OpLoc, MPTy); in CheckAddressOfOperand()
15176 Diag(OpLoc, in CheckAddressOfOperand()
15224 Diag(OpLoc, diag::err_wasm_table_pr) in CheckAddressOfOperand()
15418 if (OpLoc.isInvalid() || OpLoc.isMacroID()) in DiagnoseSelfAssignment()
15490 S.Diag(OpLoc, Diag) in checkObjCPointerIntrospection()
15908 SuggestParentheses(Self, OpLoc, in DiagnoseBitwisePrecedence()
15911 SuggestParentheses(Self, OpLoc, in DiagnoseBitwisePrecedence()
[all …]
H A DSemaOverload.cpp957 LookupResult Members(S, NotEqOp, OpLoc, in shouldAddReversedEqEq()
12366 SourceLocation OpLoc, in CompleteCandidates() argument
12446 NoteCandidates(S, Args, Cands, Opc, OpLoc); in NoteCandidates()
12499 shouldDeferDiags(S, Args, OpLoc)) in NoteCandidates()
14166 DeclarationNameInfo OpNameInfo(OpName, OpLoc); in CreateOverloadedUnaryOp()
14313 PartialDiagnosticAt(OpLoc, in CreateOverloadedUnaryOp()
14318 UnaryOperator::getOpcodeStr(Opc), OpLoc); in CreateOverloadedUnaryOp()
14841 OpLoc); in CreateOverloadedBinOp()
14870 OpLoc); in CreateOverloadedBinOp()
14951 Result = ActOnConditionalOp(OpLoc, OpLoc, Comparisons[I].Cmp.get(), in BuildSynthesizedThreeWayComparison()
[all …]
H A DSemaExprCXX.cpp692 TInfo = Context.getTrivialTypeSourceInfo(T, OpLoc); in ActOnCXXTypeid()
704 Diag(OpLoc, diag::warn_no_typeid_with_rtti_disabled) in ActOnCXXTypeid()
806 TInfo = Context.getTrivialTypeSourceInfo(T, OpLoc); in ActOnCXXUuidof()
865 return BuildCXXThrow(OpLoc, Ex, IsThrownVarInScope); in ActOnCXXThrow()
913 if (CheckCXXThrowOperand(OpLoc, ExceptionObjectTy, Ex)) in BuildCXXThrow()
7672 Diag(OpLoc, diag::note_operator_arrow_depth) in ActOnStartCXXMemberReference()
7678 S, Base, OpLoc, in ActOnStartCXXMemberReference()
7755 RequireCompleteType(OpLoc, BaseType, in ActOnStartCXXMemberReference()
7803 << FixItHint::CreateReplacement(OpLoc, "."); in CheckArrow()
7843 if (CheckArrow(*this, ObjectType, Base, OpKind, OpLoc)) in BuildPseudoDestructorExpr()
[all …]
H A DSemaAccess.cpp1727 Sema::AccessResult Sema::CheckAllocationAccess(SourceLocation OpLoc, in CheckAllocationAccess() argument
1743 return CheckAccess(*this, OpLoc, Entity); in CheckAllocationAccess()
1777 Sema::AccessResult Sema::CheckMemberOperatorAccess(SourceLocation OpLoc, in CheckMemberOperatorAccess() argument
1791 return CheckAccess(*this, OpLoc, Entity); in CheckMemberOperatorAccess()
1796 Sema::AccessResult Sema::CheckMemberOperatorAccess(SourceLocation OpLoc, in CheckMemberOperatorAccess() argument
1801 OpLoc, ObjectExpr, ArgExpr ? ArgExpr->getSourceRange() : SourceRange(), in CheckMemberOperatorAccess()
1805 Sema::AccessResult Sema::CheckMemberOperatorAccess(SourceLocation OpLoc, in CheckMemberOperatorAccess() argument
1815 return CheckMemberOperatorAccess(OpLoc, ObjectExpr, R, FoundDecl); in CheckMemberOperatorAccess()
H A DSemaCast.cpp181 SourceLocation OpLoc) { in CheckNoDeref() argument
186 S.Diag(OpLoc, diag::warn_noderef_to_dereferenceable_pointer); in CheckNoDeref()
278 Sema::ActOnCXXNamedCast(SourceLocation OpLoc, tok::TokenKind Kind, in ActOnCXXNamedCast() argument
295 return BuildCXXNamedCast(OpLoc, Kind, TInfo, E, in ActOnCXXNamedCast()
301 Sema::BuildCXXNamedCast(SourceLocation OpLoc, tok::TokenKind Kind, in BuildCXXNamedCast() argument
312 Op.OpRange = SourceRange(OpLoc, Parens.getEnd()); in BuildCXXNamedCast()
326 DestTInfo, OpLoc, Parens.getEnd(), AngleBrackets)); in BuildCXXNamedCast()
337 OpLoc, Parens.getEnd(), in BuildCXXNamedCast()
343 return ExprError(Diag(OpLoc, diag::err_openclcxx_not_supported) in BuildCXXNamedCast()
355 OpLoc, Parens.getEnd(), in BuildCXXNamedCast()
[all …]
H A DTreeTransform.h2685 ExprResult RebuildUnaryOperator(SourceLocation OpLoc, in RebuildUnaryOperator() argument
2889 ExprResult RebuildBinaryOperator(SourceLocation OpLoc, in RebuildBinaryOperator() argument
2900 SourceLocation OpLoc, BinaryOperatorKind Opcode, in RebuildCXXRewrittenBinaryOperator() argument
3091 SourceLocation OpLoc,
3103 ExprResult RebuildCXXNamedCastExpr(SourceLocation OpLoc, in RebuildCXXNamedCastExpr() argument
3146 ExprResult RebuildCXXStaticCastExpr(SourceLocation OpLoc, in RebuildCXXStaticCastExpr() argument
3163 ExprResult RebuildCXXDynamicCastExpr(SourceLocation OpLoc, in RebuildCXXDynamicCastExpr() argument
3197 ExprResult RebuildCXXConstCastExpr(SourceLocation OpLoc, in RebuildCXXConstCastExpr() argument
3216 OpLoc, tok::kw_addrspace_cast, TInfo, SubExpr, in RebuildCXXAddrspaceCastExpr()
3832 OpLoc, IsArrow, in RebuildObjCIsaExpr()
[all …]
H A DSemaTemplateVariadic.cpp1015 SourceLocation OpLoc, in ActOnSizeofParameterPackExpr() argument
1058 MarkAnyDeclReferenced(OpLoc, ParameterPack, true); in ActOnSizeofParameterPackExpr()
1060 return SizeOfPackExpr::Create(Context, OpLoc, ParameterPack, NameLoc, in ActOnSizeofParameterPackExpr()
H A DAnalysisBasedWarnings.cpp365 static void EmitDiagForCXXThrowInNonThrowingFunc(Sema &S, SourceLocation OpLoc, in EmitDiagForCXXThrowInNonThrowingFunc() argument
367 if (!S.getSourceManager().isInSystemHeader(OpLoc) && in EmitDiagForCXXThrowInNonThrowingFunc()
369 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()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DOverload.h982 : OriginalOperator(OO_None), OpLoc(), AllowRewrittenCandidates(false) {} in OperatorRewriteInfo()
983 OperatorRewriteInfo(OverloadedOperatorKind Op, SourceLocation OpLoc, in OperatorRewriteInfo()
985 : OriginalOperator(Op), OpLoc(OpLoc), in OperatorRewriteInfo()
991 SourceLocation OpLoc; member
1107 bool shouldDeferDiags(Sema &S, ArrayRef<Expr *> Args, SourceLocation OpLoc);
1171 SourceLocation OpLoc = SourceLocation(),
1185 SourceLocation OpLoc = SourceLocation());
H A DSema.h322 SourceLocation OpLoc);
4299 ExprResult CreateOverloadedBinOp(SourceLocation OpLoc,
5439 SourceLocation OpLoc);
5860 ActOnUnaryExprOrTypeTraitExpr(SourceLocation OpLoc,
6076 ExprResult BuildBinOp(Scope *S, SourceLocation OpLoc,
6707 ExprResult ActOnCXXNamedCast(SourceLocation OpLoc,
6716 ExprResult BuildCXXNamedCast(SourceLocation OpLoc,
6740 ExprResult ActOnCXXTypeid(SourceLocation OpLoc,
6755 ExprResult ActOnCXXUuidof(SourceLocation OpLoc,
10740 SourceLocation OpLoc,
[all …]
H A DDeclSpec.h1121 void setLiteralOperatorId(const IdentifierInfo *Id, SourceLocation OpLoc, in setLiteralOperatorId() argument
1125 StartLocation = OpLoc; in setLiteralOperatorId()
/freebsd-14.2/contrib/llvm-project/clang/lib/Lex/
H A DPPExpressions.cpp627 SourceLocation OpLoc = PeekTok.getLocation(); in EvaluateDirectiveSubExpr() local
689 PP.Diag(OpLoc, diag::warn_pp_convert_to_positive) << 0 in EvaluateDirectiveSubExpr()
694 PP.Diag(OpLoc, diag::warn_pp_convert_to_positive) << 1 in EvaluateDirectiveSubExpr()
710 PP.Diag(OpLoc, diag::err_pp_remainder_by_zero) in EvaluateDirectiveSubExpr()
722 PP.Diag(OpLoc, diag::err_pp_division_by_zero) in EvaluateDirectiveSubExpr()
809 PP.Diag(OpLoc, diag::ext_pp_comma_expr) in EvaluateDirectiveSubExpr()
818 PP.Diag(OpLoc, diag::note_matching) << tok::question; in EvaluateDirectiveSubExpr()
852 PP.Diag(OpLoc, diag::err_pp_colon_without_question) in EvaluateDirectiveSubExpr()
859 PP.Diag(OpLoc, diag::warn_pp_expr_overflow) in EvaluateDirectiveSubExpr()
H A DTokenLexer.cpp945 void TokenLexer::HandleMicrosoftCommentPaste(Token &Tok, SourceLocation OpLoc) { in HandleMicrosoftCommentPaste() argument
946 PP.Diag(OpLoc, diag::ext_comment_paste_microsoft); in HandleMicrosoftCommentPaste()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DExprObjC.h555 SourceLocation OpLoc; variable
571 D(d), Base(base), Loc(l), OpLoc(oploc), IsArrow(arrow),
600 SourceLocation getOpLoc() const { return OpLoc; } in getOpLoc()
601 void setOpLoc(SourceLocation L) { OpLoc = L; } in setOpLoc()
1499 SourceLocation OpLoc; variable
1508 IsaMemberLoc(l), OpLoc(oploc), IsArrow(isarrow) { in ObjCIsaExpr()
1526 SourceLocation getOpLoc() const { return OpLoc; } in getOpLoc()
1527 void setOpLoc(SourceLocation L) { OpLoc = L; } in setOpLoc()
H A DExpr.h2052 SourceLocation OpLoc, LParen, RParen; variable
2056 SYCLUniqueStableNameExpr(SourceLocation OpLoc, SourceLocation LParen,
2062 void setLocation(SourceLocation L) { OpLoc = L; } in setLocation()
2072 Create(const ASTContext &Ctx, SourceLocation OpLoc, SourceLocation LParen,
2079 SourceLocation getLocation() const { return OpLoc; } in getLocation()
2549 SourceLocation OpLoc, RParenLoc; variable
2557 OpLoc(op), RParenLoc(rp) { in UnaryExprOrTypeTraitExpr()
2617 SourceLocation getOperatorLoc() const { return OpLoc; } in getOperatorLoc()
2618 void setOperatorLoc(SourceLocation L) { OpLoc = L; } in setOperatorLoc()
2623 SourceLocation getBeginLoc() const LLVM_READONLY { return OpLoc; } in getBeginLoc()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/
H A DTokenLexer.h218 void HandleMicrosoftCommentPaste(Token &Tok, SourceLocation OpLoc);
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseExprCXX.cpp1570 SourceLocation OpLoc = ConsumeToken(); in ParseCXXCasts() local
1610 Result = Actions.ActOnCXXNamedCast(OpLoc, Kind, in ParseCXXCasts()
1628 SourceLocation OpLoc = ConsumeToken(); in ParseCXXTypeid() local
1665 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/true, in ParseCXXTypeid()
1679 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/false, in ParseCXXTypeid()
1695 SourceLocation OpLoc = ConsumeToken(); in ParseCXXUuidof() local
1713 Result = Actions.ActOnCXXUuidof(OpLoc, T.getOpenLocation(), /*isType=*/true, in ParseCXXUuidof()
1727 Result = Actions.ActOnCXXUuidof(OpLoc, T.getOpenLocation(), in ParseCXXUuidof()
1768 Parser::ParseCXXPseudoDestructor(Expr *Base, SourceLocation OpLoc, in ParseCXXPseudoDestructor() argument
1804 return Actions.ActOnPseudoDestructorExpr(getCurScope(), Base, OpLoc, OpKind, in ParseCXXPseudoDestructor()
[all …]
H A DParseExpr.cpp2186 SourceLocation OpLoc = ConsumeToken(); // Eat the "." or "->" token. in ParsePostfixExpressionSuffix() local
2201 Diag(OpLoc, diag::err_function_is_not_record) in ParsePostfixExpressionSuffix()
2203 << FixItHint::CreateRemoval(OpLoc); in ParsePostfixExpressionSuffix()
2207 LHS = Actions.ActOnStartCXXMemberReference(getCurScope(), Base, OpLoc, in ParsePostfixExpressionSuffix()
2236 getCurScope(), OrigLHS, OpLoc, CorrectedOpKind, ObjectType, in ParsePostfixExpressionSuffix()
2248 getCurScope(), Base, CorrectedBase, OpLoc, OpKind == tok::arrow, in ParsePostfixExpressionSuffix()
2256 LHS = ParseCXXPseudoDestructor(LHS.get(), OpLoc, OpKind, SS, in ParsePostfixExpressionSuffix()
2294 LHS = Actions.ActOnMemberAccessExpr(getCurScope(), LHS.get(), OpLoc, in ParsePostfixExpressionSuffix()
2450 SourceLocation OpLoc = ConsumeToken(); in ParseSYCLUniqueStableNameExpression() local
2468 return Actions.ActOnSYCLUniqueStableNameExpr(OpLoc, T.getOpenLocation(), in ParseSYCLUniqueStableNameExpression()
H A DParseOpenMP.cpp4136 SourceLocation OpLoc = P.ConsumeToken(); in ParseReductionId() local
4137 SourceLocation SymbolLocations[] = {OpLoc, OpLoc, SourceLocation()}; in ParseReductionId()
4138 ReductionId.setOperatorFunctionId(OpLoc, OOK, SymbolLocations); in ParseReductionId()
H A DParseObjc.cpp2850 SourceLocation OpLoc = ConsumeToken(); in ParseObjCAtExpression() local
2870 Lit = Actions.ActOnUnaryOp(getCurScope(), OpLoc, Kind, Lit.get()); in ParseObjCAtExpression()
/freebsd-14.2/contrib/llvm-project/llvm/lib/TableGen/
H A DTGParser.cpp1445 SMLoc OpLoc = Lex.getLoc(); in ParseOperation() local
1549 Error(OpLoc, Twine("expected value of type '") + in ParseOperation()
1571 Error(OpLoc, Twine("expected value to be a typed value, got '" + in ParseOperation()
1592 Error(OpLoc, in ParseOperation()
1598 Error(OpLoc, Twine("expected first arg type to be '") + in ParseOperation()
1749 Error(OpLoc, "expected two operands to operator"); in ParseOperation()
1759 SMLoc OpLoc = Lex.getLoc(); in ParseOperation() local
1782 Error(OpLoc, Twine("expected value to be a typed value, got '" + in ParseOperation()
2384 SMLoc OpLoc = Lex.getLoc(); in ParseOperationForEachFilter() local
2439 Error(OpLoc, in ParseOperationForEachFilter()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp552 SYCLUniqueStableNameExpr::SYCLUniqueStableNameExpr(SourceLocation OpLoc, in SYCLUniqueStableNameExpr() argument
558 OpLoc(OpLoc), LParen(LParen), RParen(RParen) { in SYCLUniqueStableNameExpr()
568 SYCLUniqueStableNameExpr::Create(const ASTContext &Ctx, SourceLocation OpLoc, in Create() argument
573 SYCLUniqueStableNameExpr(OpLoc, LParen, RParen, ResultTy, TSI); in Create()
1674 OpLoc(op), RParenLoc(rp) { in UnaryExprOrTypeTraitExpr()
4679 BinaryOperatorBits.OpLoc = opLoc; in BinaryOperator()
4696 BinaryOperatorBits.OpLoc = opLoc; in BinaryOperator()
/freebsd-14.2/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheck.cpp501 SMLoc OpLoc = SMLoc::getFromPointer(RemainingExpr.data()); in parseBinop() local
513 SM, OpLoc, Twine("unsupported operation '") + Twine(Operator) + "'"); in parseBinop()

12