| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaExprMember.cpp | 365 S.Diag(OpLoc, diag::err_ext_vector_component_name_illegal) in CheckExtVectorComponent() 515 Context, BaseExpr, BaseType, IsArrow, OpLoc, in ActOnDependentMemberExpr() 648 SemaRef.RequireCompleteType(OpLoc, QualType(RTy, 0), in LookupMemberExprInRecord() 753 IsArrow, OpLoc, in BuildMemberReferenceExpr() 1013 Diag(OpLoc, diag::err_no_member_overloaded_arrow) in BuildMemberReferenceExpr() 1049 IsArrow, OpLoc, in BuildMemberReferenceExpr() 1113 OpLoc); in BuildMemberReferenceExpr() 1267 << FixItHint::CreateReplacement(OpLoc, "."); in LookupMemberExpr() 1325 if (S.RequireCompleteType(OpLoc, BaseType, in LookupMemberExpr() 1365 << FixItHint::CreateReplacement(OpLoc, "."); in LookupMemberExpr() [all …]
|
| H A D | SemaExpr.cpp | 7410 Self, OpLoc, in DiagnoseConditionalPrecedence() 7415 SuggestParentheses(Self, OpLoc, in DiagnoseConditionalPrecedence() 11873 (void)isCompleteType(OpLoc, MPTy); in CheckAddressOfOperand() 11916 Diag(OpLoc, in CheckAddressOfOperand() 12109 if (OpLoc.isInvalid() || OpLoc.isMacroID()) in DiagnoseSelfAssignment() 12175 S.Diag(OpLoc, Diag) in checkObjCPointerIntrospection() 12219 OpLoc, FPFeatures); in convertHalfVecBinOp() 12498 OpLoc, FPFeatures); in CreateBuiltinBinOp() 12535 SuggestParentheses(Self, OpLoc, in DiagnoseBitwisePrecedence() 12538 SuggestParentheses(Self, OpLoc, in DiagnoseBitwisePrecedence() [all …]
|
| H A D | SemaExprCXX.cpp | 573 TInfo = Context.getTrivialTypeSourceInfo(T, OpLoc); in ActOnCXXTypeid() 688 TInfo = Context.getTrivialTypeSourceInfo(T, OpLoc); in ActOnCXXUuidof() 747 return BuildCXXThrow(OpLoc, Ex, IsThrownVarInScope); in ActOnCXXThrow() 754 !getSourceManager().isInSystemHeader(OpLoc) && in BuildCXXThrow() 759 Diag(OpLoc, diag::err_exceptions_disabled) << "throw"; in BuildCXXThrow() 771 if (CheckCXXThrowOperand(OpLoc, ExceptionObjectTy, Ex)) in BuildCXXThrow() 794 OpLoc, ExceptionObjectTy, in BuildCXXThrow() 6722 Diag(OpLoc, diag::note_operator_arrow_depth) in ActOnStartCXXMemberReference() 6728 S, Base, OpLoc, in ActOnStartCXXMemberReference() 6840 << FixItHint::CreateReplacement(OpLoc, "."); in CheckArrow() [all …]
|
| H A D | SemaOverload.cpp | 10754 StringRef Opc, SourceLocation OpLoc, in NoteCandidates() argument 12213 DeclarationNameInfo OpNameInfo(OpName, OpLoc); in CreateOverloadedUnaryOp() 12364 Diag(OpLoc, diag::err_ovl_deleted_oper) in CreateOverloadedUnaryOp() 12377 return CreateBuiltinUnaryOp(OpLoc, Opc, Input); in CreateOverloadedUnaryOp() 12397 Sema::CreateOverloadedBinOp(SourceLocation OpLoc, in CreateOverloadedBinOp() argument 12416 OpLoc, FPFeatures); in CreateOverloadedBinOp() 12427 DeclarationNameInfo OpNameInfo(OpName, OpLoc); in CreateOverloadedBinOp() 12606 Diag(OpLoc, diag::err_ovl_no_viable_oper) in CreateOverloadedBinOp() 12655 Diag(OpLoc, diag::err_ovl_deleted_oper) in CreateOverloadedBinOp() 13462 Diag(OpLoc, diag::err_ovl_no_viable_oper) in BuildOverloadedArrowExpr() [all …]
|
| H A D | SemaCast.cpp | 235 Sema::ActOnCXXNamedCast(SourceLocation OpLoc, tok::TokenKind Kind, in ActOnCXXNamedCast() argument 252 return BuildCXXNamedCast(OpLoc, Kind, TInfo, E, in ActOnCXXNamedCast() 258 Sema::BuildCXXNamedCast(SourceLocation OpLoc, tok::TokenKind Kind, in BuildCXXNamedCast() argument 269 Op.OpRange = SourceRange(OpLoc, Parens.getEnd()); in BuildCXXNamedCast() 284 OpLoc, Parens.getEnd(), in BuildCXXNamedCast() 290 return ExprError(Diag(OpLoc, diag::err_openclcxx_not_supported) in BuildCXXNamedCast() 302 OpLoc, Parens.getEnd(), in BuildCXXNamedCast() 314 nullptr, DestTInfo, OpLoc, in BuildCXXNamedCast() 329 OpLoc, Parens.getEnd(), in BuildCXXNamedCast()
|
| H A D | TreeTransform.h | 2156 ExprResult RebuildUnaryOperator(SourceLocation OpLoc, in RebuildUnaryOperator() argument 2180 SourceLocation OpLoc, in RebuildUnaryExprOrTypeTrait() argument 2301 ExprResult RebuildBinaryOperator(SourceLocation OpLoc, in RebuildBinaryOperator() argument 2489 ExprResult RebuildCXXNamedCastExpr(SourceLocation OpLoc, in RebuildCXXNamedCastExpr() argument 2528 ExprResult RebuildCXXStaticCastExpr(SourceLocation OpLoc, in RebuildCXXStaticCastExpr() argument 2545 ExprResult RebuildCXXDynamicCastExpr(SourceLocation OpLoc, in RebuildCXXDynamicCastExpr() argument 2579 ExprResult RebuildCXXConstCastExpr(SourceLocation OpLoc, in RebuildCXXConstCastExpr() argument 3109 OpLoc, IsArrow, in RebuildObjCIsaExpr() 12714 First, Callee->getBeginLoc(), Second, OpLoc); in RebuildCXXOperatorCallExpr() 12789 RBrace = OpLoc; in RebuildCXXOperatorCallExpr() [all …]
|
| H A D | SemaTemplateVariadic.cpp | 953 SourceLocation OpLoc, in ActOnSizeofParameterPackExpr() argument 996 MarkAnyDeclReferenced(OpLoc, ParameterPack, true); in ActOnSizeofParameterPackExpr() 998 return SizeOfPackExpr::Create(Context, OpLoc, ParameterPack, NameLoc, in ActOnSizeofParameterPackExpr()
|
| H A D | SemaAccess.cpp | 1697 Sema::AccessResult Sema::CheckAllocationAccess(SourceLocation OpLoc, in CheckAllocationAccess() argument 1713 return CheckAccess(*this, OpLoc, Entity); in CheckAllocationAccess() 1749 Sema::AccessResult Sema::CheckMemberOperatorAccess(SourceLocation OpLoc, in CheckMemberOperatorAccess() argument 1766 return CheckAccess(*this, OpLoc, Entity); in CheckMemberOperatorAccess()
|
| H A D | AnalysisBasedWarnings.cpp | 319 static void EmitDiagForCXXThrowInNonThrowingFunc(Sema &S, SourceLocation OpLoc, in EmitDiagForCXXThrowInNonThrowingFunc() argument 321 if (!S.getSourceManager().isInSystemHeader(OpLoc) && in EmitDiagForCXXThrowInNonThrowingFunc() 323 S.Diag(OpLoc, diag::warn_throw_in_noexcept_func) << FD; in EmitDiagForCXXThrowInNonThrowingFunc()
|
| H A D | SemaExprObjC.cpp | 1799 Expr *BaseExpr, SourceLocation OpLoc, in HandleExprPropertyRefExpr() argument 1949 return HandleExprPropertyRefExpr(OPT, BaseExpr, OpLoc, in HandleExprPropertyRefExpr() 1968 << FixItHint::CreateReplacement(OpLoc, "->"); in HandleExprPropertyRefExpr()
|
| H A D | SemaOpenMP.cpp | 6339 SourceLocation OpLoc; member in __anon45dbc4932311::OpenMPAtomicUpdateChecker 6394 OpLoc = AtomicInnerBinOp->getOperatorLoc(); in checkBinaryOperation() 6468 OpLoc = AtomicCompAssignOp->getOperatorLoc(); in checkStatement() 6483 OpLoc = AtomicUnaryOp->getOperatorLoc(); in checkStatement() 6485 E = SemaRef.ActOnIntegerConstant(OpLoc, /*uint64_t Val=*/1).get(); in checkStatement() 6525 SemaRef.CreateBuiltinBinOp(OpLoc, Op, IsXLHSInRHSPart ? OVEX : OVEExpr, in checkStatement()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/ |
| H A D | PPExpressions.cpp | 579 SourceLocation OpLoc = PeekTok.getLocation(); in EvaluateDirectiveSubExpr() local 641 PP.Diag(OpLoc, diag::warn_pp_convert_to_positive) << 0 in EvaluateDirectiveSubExpr() 646 PP.Diag(OpLoc, diag::warn_pp_convert_to_positive) << 1 in EvaluateDirectiveSubExpr() 662 PP.Diag(OpLoc, diag::err_pp_remainder_by_zero) in EvaluateDirectiveSubExpr() 674 PP.Diag(OpLoc, diag::err_pp_division_by_zero) in EvaluateDirectiveSubExpr() 761 PP.Diag(OpLoc, diag::ext_pp_comma_expr) in EvaluateDirectiveSubExpr() 770 PP.Diag(OpLoc, diag::note_matching) << tok::question; in EvaluateDirectiveSubExpr() 804 PP.Diag(OpLoc, diag::err_pp_colon_without_question) in EvaluateDirectiveSubExpr() 811 PP.Diag(OpLoc, diag::warn_pp_expr_overflow) in EvaluateDirectiveSubExpr()
|
| H A D | TokenLexer.cpp | 907 void TokenLexer::HandleMicrosoftCommentPaste(Token &Tok, SourceLocation OpLoc) { in HandleMicrosoftCommentPaste() argument 908 PP.Diag(OpLoc, diag::ext_comment_paste_microsoft); in HandleMicrosoftCommentPaste()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | ExprObjC.h | 519 SourceLocation OpLoc; 537 D(d), Base(base), Loc(l), OpLoc(oploc), IsArrow(arrow), 564 SourceLocation getOpLoc() const { return OpLoc; } 565 void setOpLoc(SourceLocation L) { OpLoc = L; } 1445 SourceLocation OpLoc; 1457 Base(base), IsaMemberLoc(l), OpLoc(oploc), IsArrow(isarrow) {} 1473 SourceLocation getOpLoc() const { return OpLoc; } 1474 void setOpLoc(SourceLocation L) { OpLoc = L; }
|
| H A D | Expr.h | 2227 SourceLocation OpLoc, RParenLoc; variable 2239 OpLoc(op), RParenLoc(rp) { in UnaryExprOrTypeTraitExpr() 2289 SourceLocation getOperatorLoc() const { return OpLoc; } in getOperatorLoc() 2290 void setOperatorLoc(SourceLocation L) { OpLoc = L; } in setOperatorLoc() 2295 SourceLocation getBeginLoc() const LLVM_READONLY { return OpLoc; } in getBeginLoc() 3311 BinaryOperatorBits.OpLoc = opLoc; in BinaryOperator() 3324 SourceLocation getOperatorLoc() const { return BinaryOperatorBits.OpLoc; } in getOperatorLoc() 3325 void setOperatorLoc(SourceLocation L) { BinaryOperatorBits.OpLoc = L; } in setOperatorLoc() 3493 BinaryOperatorBits.OpLoc = opLoc; in BinaryOperator() 3516 SourceLocation OpLoc, FPOptions FPFeatures) in CompoundAssignOperator() argument [all …]
|
| H A D | Stmt.h | 501 SourceLocation OpLoc; in alignas() local
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | Sema.h | 2985 ExprResult CreateOverloadedBinOp(SourceLocation OpLoc, 3974 SourceLocation OpLoc); 4294 ActOnUnaryExprOrTypeTraitExpr(SourceLocation OpLoc, 4372 SourceLocation OpLoc, 4448 ExprResult BuildBinOp(Scope *S, SourceLocation OpLoc, 5041 ExprResult ActOnCXXNamedCast(SourceLocation OpLoc, 5050 ExprResult BuildCXXNamedCast(SourceLocation OpLoc, 5067 ExprResult ActOnCXXTypeid(SourceLocation OpLoc, 5082 ExprResult ActOnCXXUuidof(SourceLocation OpLoc, 8203 SourceLocation OpLoc, [all …]
|
| H A D | DeclSpec.h | 1067 void setLiteralOperatorId(const IdentifierInfo *Id, SourceLocation OpLoc, in setLiteralOperatorId() argument 1071 StartLocation = OpLoc; in setLiteralOperatorId()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Lex/ |
| H A D | TokenLexer.h | 215 void HandleMicrosoftCommentPaste(Token &Tok, SourceLocation OpLoc);
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/ |
| H A D | ParseExprCXX.cpp | 1331 SourceLocation OpLoc = ConsumeToken(); in ParseCXXCasts() local 1369 Result = Actions.ActOnCXXNamedCast(OpLoc, Kind, in ParseCXXCasts() 1387 SourceLocation OpLoc = ConsumeToken(); in ParseCXXTypeid() local 1424 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/true, in ParseCXXTypeid() 1438 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/false, in ParseCXXTypeid() 1454 SourceLocation OpLoc = ConsumeToken(); in ParseCXXUuidof() local 1472 Result = Actions.ActOnCXXUuidof(OpLoc, T.getOpenLocation(), /*isType=*/true, in ParseCXXUuidof() 1486 Result = Actions.ActOnCXXUuidof(OpLoc, T.getOpenLocation(), in ParseCXXUuidof() 1510 Parser::ParseCXXPseudoDestructor(Expr *Base, SourceLocation OpLoc, in ParseCXXPseudoDestructor() argument 1550 return Actions.ActOnPseudoDestructorExpr(getCurScope(), Base, OpLoc, OpKind, in ParseCXXPseudoDestructor() [all …]
|
| H A D | ParseExpr.cpp | 1723 SourceLocation OpLoc = ConsumeToken(); // Eat the "." or "->" token. in ParsePostfixExpressionSuffix() local 1736 Diag(OpLoc, diag::err_function_is_not_record) in ParsePostfixExpressionSuffix() 1738 << FixItHint::CreateRemoval(OpLoc); in ParsePostfixExpressionSuffix() 1743 OpLoc, OpKind, ObjectType, in ParsePostfixExpressionSuffix() 1763 getCurScope(), OrigLHS, OpLoc, CorrectedOpKind, ObjectType, in ParsePostfixExpressionSuffix() 1775 getCurScope(), Base, CorrectedBase, OpLoc, OpKind == tok::arrow, in ParsePostfixExpressionSuffix() 1783 LHS = ParseCXXPseudoDestructor(LHS.get(), OpLoc, OpKind, SS, in ParsePostfixExpressionSuffix() 1822 LHS = Actions.ActOnMemberAccessExpr(getCurScope(), LHS.get(), OpLoc, in ParsePostfixExpressionSuffix()
|
| H A D | ParseOpenMP.cpp | 1764 SourceLocation OpLoc = P.ConsumeToken(); in ParseReductionId() local 1765 SourceLocation SymbolLocations[] = {OpLoc, OpLoc, SourceLocation()}; in ParseReductionId() 1766 ReductionId.setOperatorFunctionId(OpLoc, OOK, SymbolLocations); in ParseReductionId()
|
| H A D | ParseObjc.cpp | 2757 SourceLocation OpLoc = ConsumeToken(); in ParseObjCAtExpression() local 2777 Lit = Actions.ActOnUnaryOp(getCurScope(), OpLoc, Kind, Lit.get()); in ParseObjCAtExpression()
|
| /freebsd-12.1/contrib/llvm/lib/TableGen/ |
| H A D | TGParser.cpp | 1041 SMLoc OpLoc = Lex.getLoc(); in ParseOperation() local 1105 Error(OpLoc, Twine("expected value of type '") + in ParseOperation() 1192 Error(OpLoc, "expected two operands to operator"); in ParseOperation() 1197 SMLoc OpLoc = Lex.getLoc(); in ParseOperation() local 1250 Error(OpLoc, in ParseOperation() 1259 Error(OpLoc, in ParseOperation()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Parse/ |
| H A D | Parser.h | 1740 ExprResult ParseCXXPseudoDestructor(Expr *Base, SourceLocation OpLoc,
|