Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprMember.cpp512 Context, BaseExpr, BaseType, IsArrow, OpLoc, in ActOnDependentMemberExpr()
649 SemaRef.RequireCompleteType(OpLoc, QualType(RTy, 0), in LookupMemberExprInRecord()
754 IsArrow, OpLoc, in BuildMemberReferenceExpr()
1018 Diag(OpLoc, diag::err_no_member_overloaded_arrow) in BuildMemberReferenceExpr()
1054 IsArrow, OpLoc, in BuildMemberReferenceExpr()
1109 OpLoc); in BuildMemberReferenceExpr()
1282 << FixItHint::CreateReplacement(OpLoc, "."); in LookupMemberExpr()
1340 if (S.RequireCompleteType(OpLoc, BaseType, in LookupMemberExpr()
1380 << FixItHint::CreateReplacement(OpLoc, "."); in LookupMemberExpr()
1645 << FixItHint::CreateReplacement(OpLoc, "->"); in LookupMemberExpr()
[all …]
H A DSemaExpr.cpp8705 Self.Diag(OpLoc, DiagID) in DiagnoseConditionalPrecedence()
8710 Self, OpLoc, in DiagnoseConditionalPrecedence()
8715 SuggestParentheses(Self, OpLoc, in DiagnoseConditionalPrecedence()
13668 (void)isCompleteType(OpLoc, MPTy); in CheckAddressOfOperand()
13714 Diag(OpLoc, in CheckAddressOfOperand()
13907 if (OpLoc.isInvalid() || OpLoc.isMacroID()) in DiagnoseSelfAssignment()
13973 S.Diag(OpLoc, Diag) in checkObjCPointerIntrospection()
14382 SuggestParentheses(Self, OpLoc, in DiagnoseBitwisePrecedence()
14385 SuggestParentheses(Self, OpLoc, in DiagnoseBitwisePrecedence()
14399 << Bop->getSourceRange() << OpLoc; in EmitDiagnosticForLogicalAndInLogicalOr()
[all …]
H A DSemaOverload.cpp11593 SourceLocation OpLoc, in CompleteCandidates() argument
11664 NoteCandidates(S, Args, Cands, Opc, OpLoc); in NoteCandidates()
11717 shouldDeferDiags(S, Args, OpLoc)) in NoteCandidates()
13239 DeclarationNameInfo OpNameInfo(OpName, OpLoc); in CreateOverloadedUnaryOp()
13383 PartialDiagnosticAt(OpLoc, in CreateOverloadedUnaryOp()
13397 OpLoc); in CreateOverloadedUnaryOp()
13564 OpLoc, OverloadCandidateSet::CSK_Operator, in CreateOverloadedBinOp()
13863 OpLoc); in CreateOverloadedBinOp()
13892 OpLoc); in CreateOverloadedBinOp()
13973 Result = ActOnConditionalOp(OpLoc, OpLoc, Comparisons[I].Cmp.get(), in BuildSynthesizedThreeWayComparison()
[all …]
H A DSemaExprCXX.cpp680 TInfo = Context.getTrivialTypeSourceInfo(T, OpLoc); in ActOnCXXTypeid()
692 Diag(OpLoc, diag::warn_no_typeid_with_rtti_disabled) in ActOnCXXTypeid()
794 TInfo = Context.getTrivialTypeSourceInfo(T, OpLoc); in ActOnCXXUuidof()
853 return BuildCXXThrow(OpLoc, Ex, IsThrownVarInScope); in ActOnCXXThrow()
893 if (CheckCXXThrowOperand(OpLoc, ExceptionObjectTy, Ex)) in BuildCXXThrow()
7289 Diag(OpLoc, diag::note_operator_arrow_depth) in ActOnStartCXXMemberReference()
7295 S, Base, OpLoc, in ActOnStartCXXMemberReference()
7418 << FixItHint::CreateReplacement(OpLoc, "."); in CheckArrow()
7458 if (CheckArrow(*this, ObjectType, Base, OpKind, OpLoc)) in BuildPseudoDestructorExpr()
7466 Diag(OpLoc, diag::err_pseudo_dtor_base_not_scalar) in BuildPseudoDestructorExpr()
[all …]
H A DSemaCast.cpp176 SourceLocation OpLoc) { in CheckNoDeref() argument
181 S.Diag(OpLoc, diag::warn_noderef_to_dereferenceable_pointer); in CheckNoDeref()
273 Sema::ActOnCXXNamedCast(SourceLocation OpLoc, tok::TokenKind Kind, in ActOnCXXNamedCast() argument
290 return BuildCXXNamedCast(OpLoc, Kind, TInfo, E, in ActOnCXXNamedCast()
296 Sema::BuildCXXNamedCast(SourceLocation OpLoc, tok::TokenKind Kind, in BuildCXXNamedCast() argument
307 Op.OpRange = SourceRange(OpLoc, Parens.getEnd()); in BuildCXXNamedCast()
321 DestTInfo, OpLoc, Parens.getEnd(), AngleBrackets)); in BuildCXXNamedCast()
332 OpLoc, Parens.getEnd(), in BuildCXXNamedCast()
338 return ExprError(Diag(OpLoc, diag::err_openclcxx_not_supported) in BuildCXXNamedCast()
350 OpLoc, Parens.getEnd(), in BuildCXXNamedCast()
[all …]
H A DTreeTransform.h2484 ExprResult RebuildUnaryOperator(SourceLocation OpLoc, in RebuildUnaryOperator() argument
2666 ExprResult RebuildBinaryOperator(SourceLocation OpLoc, in RebuildBinaryOperator() argument
2677 SourceLocation OpLoc, BinaryOperatorKind Opcode, in RebuildCXXRewrittenBinaryOperator() argument
2865 ExprResult RebuildCXXNamedCastExpr(SourceLocation OpLoc, in RebuildCXXNamedCastExpr() argument
2908 ExprResult RebuildCXXStaticCastExpr(SourceLocation OpLoc, in RebuildCXXStaticCastExpr() argument
2925 ExprResult RebuildCXXDynamicCastExpr(SourceLocation OpLoc, in RebuildCXXDynamicCastExpr() argument
2959 ExprResult RebuildCXXConstCastExpr(SourceLocation OpLoc, in RebuildCXXConstCastExpr() argument
2978 OpLoc, tok::kw_addrspace_cast, TInfo, SubExpr, in RebuildCXXAddrspaceCastExpr()
3590 OpLoc, IsArrow, in RebuildObjCIsaExpr()
14583 First, Callee->getBeginLoc(), Second, OpLoc); in RebuildCXXOperatorCallExpr()
[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.cpp1714 Sema::AccessResult Sema::CheckAllocationAccess(SourceLocation OpLoc, in CheckAllocationAccess() argument
1730 return CheckAccess(*this, OpLoc, Entity); in CheckAllocationAccess()
1766 Sema::AccessResult Sema::CheckMemberOperatorAccess(SourceLocation OpLoc, in CheckMemberOperatorAccess() argument
1783 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()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/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.h2045 SourceLocation OpLoc, LParen, RParen; variable
2049 SYCLUniqueStableNameExpr(SourceLocation OpLoc, SourceLocation LParen,
2055 void setLocation(SourceLocation L) { OpLoc = L; } in setLocation()
2065 Create(const ASTContext &Ctx, SourceLocation OpLoc, SourceLocation LParen,
2072 SourceLocation getLocation() const { return OpLoc; } in getLocation()
2541 SourceLocation OpLoc, RParenLoc; variable
2549 OpLoc(op), RParenLoc(rp) { in UnaryExprOrTypeTraitExpr()
2609 SourceLocation getOperatorLoc() const { return OpLoc; } in getOperatorLoc()
2610 void setOperatorLoc(SourceLocation L) { OpLoc = L; } in setOperatorLoc()
2615 SourceLocation getBeginLoc() const LLVM_READONLY { return OpLoc; } in getBeginLoc()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Lex/
H A DTokenLexer.h218 void HandleMicrosoftCommentPaste(Token &Tok, SourceLocation OpLoc);
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h320 SourceLocation OpLoc);
3871 ExprResult CreateOverloadedBinOp(SourceLocation OpLoc,
4921 SourceLocation OpLoc);
5284 ActOnUnaryExprOrTypeTraitExpr(SourceLocation OpLoc,
5498 ExprResult BuildBinOp(Scope *S, SourceLocation OpLoc,
6110 ExprResult ActOnCXXNamedCast(SourceLocation OpLoc,
6119 ExprResult BuildCXXNamedCast(SourceLocation OpLoc,
6143 ExprResult ActOnCXXTypeid(SourceLocation OpLoc,
6158 ExprResult ActOnCXXUuidof(SourceLocation OpLoc,
9773 SourceLocation OpLoc,
[all …]
H A DOverload.h1064 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()
/freebsd-13.1/contrib/llvm-project/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.cpp2086 SourceLocation OpLoc = ConsumeToken(); // Eat the "." or "->" token. in ParsePostfixExpressionSuffix() local
2101 Diag(OpLoc, diag::err_function_is_not_record) in ParsePostfixExpressionSuffix()
2103 << FixItHint::CreateRemoval(OpLoc); in ParsePostfixExpressionSuffix()
2107 LHS = Actions.ActOnStartCXXMemberReference(getCurScope(), Base, OpLoc, in ParsePostfixExpressionSuffix()
2136 getCurScope(), OrigLHS, OpLoc, CorrectedOpKind, ObjectType, in ParsePostfixExpressionSuffix()
2148 getCurScope(), Base, CorrectedBase, OpLoc, OpKind == tok::arrow, in ParsePostfixExpressionSuffix()
2156 LHS = ParseCXXPseudoDestructor(LHS.get(), OpLoc, OpKind, SS, in ParsePostfixExpressionSuffix()
2194 LHS = Actions.ActOnMemberAccessExpr(getCurScope(), LHS.get(), OpLoc, in ParsePostfixExpressionSuffix()
2336 SourceLocation OpLoc = ConsumeToken(); in ParseSYCLUniqueStableNameExpression() local
2354 return Actions.ActOnSYCLUniqueStableNameExpr(OpLoc, T.getOpenLocation(), in ParseSYCLUniqueStableNameExpression()
H A DParseOpenMP.cpp3491 SourceLocation OpLoc = P.ConsumeToken(); in ParseReductionId() local
3492 SourceLocation SymbolLocations[] = {OpLoc, OpLoc, SourceLocation()}; in ParseReductionId()
3493 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()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp509 SYCLUniqueStableNameExpr::SYCLUniqueStableNameExpr(SourceLocation OpLoc, in SYCLUniqueStableNameExpr() argument
515 OpLoc(OpLoc), LParen(LParen), RParen(RParen) { in SYCLUniqueStableNameExpr()
525 SYCLUniqueStableNameExpr::Create(const ASTContext &Ctx, SourceLocation OpLoc, in Create() argument
530 SYCLUniqueStableNameExpr(OpLoc, LParen, RParen, ResultTy, TSI); in Create()
1627 OpLoc(op), RParenLoc(rp) { in UnaryExprOrTypeTraitExpr()
4484 BinaryOperatorBits.OpLoc = opLoc; in BinaryOperator()
4501 BinaryOperatorBits.OpLoc = opLoc; in BinaryOperator()
/freebsd-13.1/contrib/llvm-project/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()

12