/external/clang/lib/Sema/ |
D | SemaExprMember.cpp | 292 SourceLocation OpLoc, const IdentifierInfo *CompName, in CheckExtVectorComponent() argument 339 S.Diag(OpLoc, diag::ext_opencl_ext_vector_type_rgba_selector) in CheckExtVectorComponent() 356 S.Diag(OpLoc, diag::err_ext_vector_component_name_illegal) in CheckExtVectorComponent() 371 S.Diag(OpLoc, diag::err_ext_vector_component_exceeds_length) in CheckExtVectorComponent() 458 bool IsArrow, SourceLocation OpLoc, in ActOnDependentMemberExpr() argument 478 Diag(OpLoc, diag::err_typecheck_member_reference_struct_union) in ActOnDependentMemberExpr() 491 Context, BaseExpr, BaseType, IsArrow, OpLoc, in ActOnDependentMemberExpr() 617 SourceLocation OpLoc, bool IsArrow, in LookupMemberExprInRecord() argument 623 SemaRef.RequireCompleteType(OpLoc, QualType(RTy, 0), in LookupMemberExprInRecord() 702 BaseExpr, BaseExpr->getType(), OpLoc, IsArrow, SS, SourceLocation(), in LookupMemberExprInRecord() [all …]
|
D | SemaExpr.cpp | 3712 SourceLocation OpLoc, in CheckUnaryExprOrTypeTraitOperand() argument 3734 return CheckVecStepTraitOperandType(*this, ExprType, OpLoc, ExprRange); in CheckUnaryExprOrTypeTraitOperand() 3737 if (!CheckExtensionTraitOperandType(*this, ExprType, OpLoc, ExprRange, in CheckUnaryExprOrTypeTraitOperand() 3741 if (RequireCompleteType(OpLoc, ExprType, in CheckUnaryExprOrTypeTraitOperand() 3747 Diag(OpLoc, diag::err_sizeof_alignof_function_type) in CheckUnaryExprOrTypeTraitOperand() 3752 if (CheckObjCTraitOperandConstraints(*this, ExprType, OpLoc, ExprRange, in CheckUnaryExprOrTypeTraitOperand() 3951 SourceLocation OpLoc, in CreateUnaryExprOrTypeTraitExpr() argument 3960 CheckUnaryExprOrTypeTraitOperand(T, OpLoc, R, ExprKind)) in CreateUnaryExprOrTypeTraitExpr() 3989 ExprKind, TInfo, Context.getSizeType(), OpLoc, R.getEnd()); in CreateUnaryExprOrTypeTraitExpr() 3995 Sema::CreateUnaryExprOrTypeTraitExpr(Expr *E, SourceLocation OpLoc, in CreateUnaryExprOrTypeTraitExpr() argument [all …]
|
D | SemaExprCXX.cpp | 466 Sema::ActOnCXXTypeid(SourceLocation OpLoc, SourceLocation LParenLoc, in ActOnCXXTypeid() argument 470 return ExprError(Diag(OpLoc, diag::err_need_header_before_typeid)); in ActOnCXXTypeid() 484 return ExprError(Diag(OpLoc, diag::err_need_header_before_typeid)); in ActOnCXXTypeid() 488 return ExprError(Diag(OpLoc, diag::err_no_typeid_with_fno_rtti)); in ActOnCXXTypeid() 502 TInfo = Context.getTrivialTypeSourceInfo(T, OpLoc); in ActOnCXXTypeid() 504 return BuildCXXTypeId(TypeInfoType, OpLoc, TInfo, RParenLoc); in ActOnCXXTypeid() 508 return BuildCXXTypeId(TypeInfoType, OpLoc, (Expr*)TyOrExpr, RParenLoc); in ActOnCXXTypeid() 594 Sema::ActOnCXXUuidof(SourceLocation OpLoc, SourceLocation LParenLoc, in ActOnCXXUuidof() argument 603 return ExprError(Diag(OpLoc, diag::err_need_header_before_ms_uuidof)); in ActOnCXXUuidof() 617 TInfo = Context.getTrivialTypeSourceInfo(T, OpLoc); in ActOnCXXUuidof() [all …]
|
D | SemaOverload.cpp | 6709 SourceLocation OpLoc, in AddMemberOperatorCandidates() argument 6731 if (!isCompleteType(OpLoc, T1) && !T1Rec->isBeingDefined()) in AddMemberOperatorCandidates() 6737 LookupResult Operators(*this, OpName, OpLoc, LookupOrdinaryName); in AddMemberOperatorCandidates() 8254 SourceLocation OpLoc, in AddBuiltinOperatorCandidates() argument 8272 OpLoc, in AddBuiltinOperatorCandidates() 9791 SourceLocation OpLoc, in NoteBuiltinOperatorCandidate() argument 9800 S.Diag(OpLoc, diag::note_ovl_builtin_unary_candidate) << TypeStr; in NoteBuiltinOperatorCandidate() 9805 S.Diag(OpLoc, diag::note_ovl_builtin_binary_candidate) << TypeStr; in NoteBuiltinOperatorCandidate() 9809 static void NoteAmbiguousUserConversions(Sema &S, SourceLocation OpLoc, in NoteAmbiguousUserConversions() argument 9818 S, OpLoc, S.PDiag(diag::note_ambiguous_type_conversion)); in NoteAmbiguousUserConversions() [all …]
|
D | TreeTransform.h | 2021 ExprResult RebuildUnaryOperator(SourceLocation OpLoc, in RebuildUnaryOperator() argument 2024 return getSema().BuildUnaryOp(/*Scope=*/nullptr, OpLoc, Opc, SubExpr); in RebuildUnaryOperator() 2045 SourceLocation OpLoc, in RebuildUnaryExprOrTypeTrait() argument 2048 return getSema().CreateUnaryExprOrTypeTraitExpr(TInfo, OpLoc, ExprKind, R); in RebuildUnaryExprOrTypeTrait() 2056 ExprResult RebuildUnaryExprOrTypeTrait(Expr *SubExpr, SourceLocation OpLoc, in RebuildUnaryExprOrTypeTrait() argument 2060 = getSema().CreateUnaryExprOrTypeTraitExpr(SubExpr, OpLoc, ExprKind); in RebuildUnaryExprOrTypeTrait() 2108 ExprResult RebuildMemberExpr(Expr *Base, SourceLocation OpLoc, in RebuildMemberExpr() argument 2136 MemberExpr(Base, isArrow, OpLoc, Member, MemberNameInfo, in RebuildMemberExpr() 2153 return getSema().BuildMemberReferenceExpr(Base, BaseType, OpLoc, isArrow, in RebuildMemberExpr() 2164 ExprResult RebuildBinaryOperator(SourceLocation OpLoc, in RebuildBinaryOperator() argument [all …]
|
D | SemaCast.cpp | 214 Sema::ActOnCXXNamedCast(SourceLocation OpLoc, tok::TokenKind Kind, in ActOnCXXNamedCast() argument 231 return BuildCXXNamedCast(OpLoc, Kind, TInfo, E, in ActOnCXXNamedCast() 237 Sema::BuildCXXNamedCast(SourceLocation OpLoc, tok::TokenKind Kind, in BuildCXXNamedCast() argument 248 Op.OpRange = SourceRange(OpLoc, Parens.getEnd()); in BuildCXXNamedCast() 262 OpLoc, Parens.getEnd(), in BuildCXXNamedCast() 274 OpLoc, Parens.getEnd(), in BuildCXXNamedCast() 285 nullptr, DestTInfo, OpLoc, in BuildCXXNamedCast() 299 OpLoc, Parens.getEnd(), in BuildCXXNamedCast()
|
D | SemaTemplateVariadic.cpp | 831 SourceLocation OpLoc, in ActOnSizeofParameterPackExpr() argument 873 MarkAnyDeclReferenced(OpLoc, ParameterPack, true); in ActOnSizeofParameterPackExpr() 875 return SizeOfPackExpr::Create(Context, OpLoc, ParameterPack, NameLoc, in ActOnSizeofParameterPackExpr()
|
D | SemaAccess.cpp | 1696 Sema::AccessResult Sema::CheckAllocationAccess(SourceLocation OpLoc, in CheckAllocationAccess() argument 1712 return CheckAccess(*this, OpLoc, Entity); in CheckAllocationAccess() 1732 Sema::AccessResult Sema::CheckMemberOperatorAccess(SourceLocation OpLoc, in CheckMemberOperatorAccess() argument 1749 return CheckAccess(*this, OpLoc, Entity); in CheckMemberOperatorAccess()
|
D | SemaExprObjC.cpp | 1757 Expr *BaseExpr, SourceLocation OpLoc, in HandleExprPropertyRefExpr() argument 1907 return HandleExprPropertyRefExpr(OPT, BaseExpr, OpLoc, in HandleExprPropertyRefExpr() 1926 << FixItHint::CreateReplacement(OpLoc, "->"); in HandleExprPropertyRefExpr()
|
D | SemaOpenMP.cpp | 6069 SourceLocation OpLoc; member in __anone74a4b2f1611::OpenMPAtomicUpdateChecker 6124 OpLoc = AtomicInnerBinOp->getOperatorLoc(); in checkBinaryOperation() 6197 OpLoc = AtomicCompAssignOp->getOperatorLoc(); in checkStatement() 6212 OpLoc = AtomicUnaryOp->getOperatorLoc(); in checkStatement() 6214 E = SemaRef.ActOnIntegerConstant(OpLoc, /*uint64_t Val=*/1).get(); in checkStatement() 6253 SemaRef.CreateBuiltinBinOp(OpLoc, Op, IsXLHSInRHSPart ? OVEX : OVEExpr, in checkStatement()
|
D | SemaChecking.cpp | 10436 SourceLocation OpLoc) { in DiagnoseSelfMove() argument 10437 if (Diags.isIgnored(diag::warn_sizeof_pointer_expr_memaccess, OpLoc)) in DiagnoseSelfMove() 10472 Diag(OpLoc, diag::warn_self_move) << LHSExpr->getType() in DiagnoseSelfMove() 10509 Diag(OpLoc, diag::warn_self_move) << LHSExpr->getType() in DiagnoseSelfMove() 10516 Diag(OpLoc, diag::warn_self_move) << LHSExpr->getType() in DiagnoseSelfMove()
|
/external/clang/lib/Lex/ |
D | PPExpressions.cpp | 558 SourceLocation OpLoc = PeekTok.getLocation(); in EvaluateDirectiveSubExpr() local 618 PP.Diag(OpLoc, diag::warn_pp_convert_to_positive) << 0 in EvaluateDirectiveSubExpr() 623 PP.Diag(OpLoc, diag::warn_pp_convert_to_positive) << 1 in EvaluateDirectiveSubExpr() 639 PP.Diag(OpLoc, diag::err_pp_remainder_by_zero) in EvaluateDirectiveSubExpr() 651 PP.Diag(OpLoc, diag::err_pp_division_by_zero) in EvaluateDirectiveSubExpr() 738 PP.Diag(OpLoc, diag::ext_pp_comma_expr) in EvaluateDirectiveSubExpr() 747 PP.Diag(OpLoc, diag::note_matching) << tok::question; in EvaluateDirectiveSubExpr() 780 PP.Diag(OpLoc, diag::err_pp_colon_without_question) in EvaluateDirectiveSubExpr() 787 PP.Diag(OpLoc, diag::warn_pp_expr_overflow) in EvaluateDirectiveSubExpr()
|
D | TokenLexer.cpp | 723 void TokenLexer::HandleMicrosoftCommentPaste(Token &Tok, SourceLocation OpLoc) { in HandleMicrosoftCommentPaste() argument 724 PP.Diag(OpLoc, diag::ext_comment_paste_microsoft); in HandleMicrosoftCommentPaste()
|
/external/clang/include/clang/AST/ |
D | ExprObjC.h | 484 SourceLocation OpLoc; 499 D(d), Base(base), Loc(l), OpLoc(oploc), 526 SourceLocation getOpLoc() const { return OpLoc; } 527 void setOpLoc(SourceLocation L) { OpLoc = L; } 1391 SourceLocation OpLoc; 1402 Base(base), IsaMemberLoc(l), OpLoc(oploc), IsArrow(isarrow) {} 1418 SourceLocation getOpLoc() const { return OpLoc; } 1419 void setOpLoc(SourceLocation L) { OpLoc = L; }
|
D | Expr.h | 1979 SourceLocation OpLoc, RParenLoc; variable 1991 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() 2909 SourceLocation OpLoc; variable 2925 Opc(opc), FPContractable(fpContractable), OpLoc(opLoc) { in BinaryOperator() 2936 SourceLocation getExprLoc() const LLVM_READONLY { return OpLoc; } in getExprLoc() 2937 SourceLocation getOperatorLoc() const { return OpLoc; } in getOperatorLoc() 2938 void setOperatorLoc(SourceLocation L) { OpLoc = L; } in setOperatorLoc() [all …]
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 2514 SourceLocation OpLoc, ArrayRef<Expr *> Args, 2523 SourceLocation OpLoc, ArrayRef<Expr *> Args, 2631 ExprResult CreateOverloadedUnaryOp(SourceLocation OpLoc, 2636 ExprResult CreateOverloadedBinOp(SourceLocation OpLoc, 2656 SourceLocation OpLoc, 3598 SourceLocation OpLoc); 3891 ExprResult CreateBuiltinUnaryOp(SourceLocation OpLoc, UnaryOperatorKind Opc, 3893 ExprResult BuildUnaryOp(Scope *S, SourceLocation OpLoc, 3895 ExprResult ActOnUnaryOp(Scope *S, SourceLocation OpLoc, 3898 QualType CheckAddressOfOperand(ExprResult &Operand, SourceLocation OpLoc); [all …]
|
D | DeclSpec.h | 1032 void setLiteralOperatorId(const IdentifierInfo *Id, SourceLocation OpLoc, in setLiteralOperatorId() argument 1036 StartLocation = OpLoc; in setLiteralOperatorId()
|
/external/clang/include/clang/Lex/ |
D | TokenLexer.h | 178 void HandleMicrosoftCommentPaste(Token &Tok, SourceLocation OpLoc);
|
/external/clang/lib/Parse/ |
D | ParseExprCXX.cpp | 1347 SourceLocation OpLoc = ConsumeToken(); in ParseCXXCasts() local 1386 Result = Actions.ActOnCXXNamedCast(OpLoc, Kind, in ParseCXXCasts() 1404 SourceLocation OpLoc = ConsumeToken(); in ParseCXXTypeid() local 1440 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/true, in ParseCXXTypeid() 1454 Result = Actions.ActOnCXXTypeid(OpLoc, LParenLoc, /*isType=*/false, in ParseCXXTypeid() 1470 SourceLocation OpLoc = ConsumeToken(); in ParseCXXUuidof() local 1488 Result = Actions.ActOnCXXUuidof(OpLoc, T.getOpenLocation(), /*isType=*/true, in ParseCXXUuidof() 1501 Result = Actions.ActOnCXXUuidof(OpLoc, T.getOpenLocation(), in ParseCXXUuidof() 1525 Parser::ParseCXXPseudoDestructor(Expr *Base, SourceLocation OpLoc, in ParseCXXPseudoDestructor() argument 1565 return Actions.ActOnPseudoDestructorExpr(getCurScope(), Base, OpLoc, OpKind, in ParseCXXPseudoDestructor() [all …]
|
D | ParseExpr.cpp | 1615 SourceLocation OpLoc = ConsumeToken(); // Eat the "." or "->" token. in ParsePostfixExpressionSuffix() local 1626 Diag(OpLoc, diag::err_function_is_not_record) in ParsePostfixExpressionSuffix() 1628 << FixItHint::CreateRemoval(OpLoc); in ParsePostfixExpressionSuffix() 1633 OpLoc, OpKind, ObjectType, in ParsePostfixExpressionSuffix() 1648 OpLoc, OpKind == tok::arrow); in ParsePostfixExpressionSuffix() 1655 LHS = ParseCXXPseudoDestructor(LHS.get(), OpLoc, OpKind, SS, in ParsePostfixExpressionSuffix() 1692 LHS = Actions.ActOnMemberAccessExpr(getCurScope(), LHS.get(), OpLoc, in ParsePostfixExpressionSuffix()
|
D | ParseOpenMP.cpp | 1510 SourceLocation OpLoc = P.ConsumeToken(); in ParseReductionId() local 1511 SourceLocation SymbolLocations[] = {OpLoc, OpLoc, SourceLocation()}; in ParseReductionId() 1512 ReductionId.setOperatorFunctionId(OpLoc, OOK, SymbolLocations); in ParseReductionId()
|
D | ParseObjc.cpp | 2793 SourceLocation OpLoc = ConsumeToken(); in ParseObjCAtExpression() local 2813 Lit = Actions.ActOnUnaryOp(getCurScope(), OpLoc, Kind, Lit.get()); in ParseObjCAtExpression()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/ |
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()
|
/external/llvm/lib/TableGen/ |
D | TGParser.cpp | 881 SMLoc OpLoc = Lex.getLoc(); in ParseOperation() local 938 Error(OpLoc, "expected a list"); in ParseOperation() 958 Error(OpLoc, "expected two operands to operator"); in ParseOperation()
|
/external/swiftshader/third_party/LLVM/lib/TableGen/ |
D | TGParser.cpp | 806 SMLoc OpLoc = Lex.getLoc(); in ParseOperation() local 864 Error(OpLoc, "expected two operands to operator"); in ParseOperation()
|